Database / Weaviate Vector database Interview questions
What is the Weaviate Query Agent?
The Query Agent is an AI-driven feature, generally available since September 2025, that accepts a natural-language question and automatically routes and executes the appropriate search (or searches) across one or more collections, without the calling application needing to construct the underlying vector, keyword, or filter query itself.
from weaviate.agents.query import QueryAgent agent = QueryAgent(client=client, collections=["Products", "Reviews"]) response = agent.run("What are customers saying about the new headphones?")
This represents Weaviate's broader move toward an agentic layer built on top of its core database: instead of an application developer writing explicit hybrid-search or filter logic for every possible question shape, the Query Agent interprets the natural-language question, decides which collection(s) and search strategy are relevant, and returns a synthesized answer, functioning as a higher-level, more autonomous query interface than direct API calls.
More Related questions...