Knowledge Base Q&A Assistant
Description
What this agent manifest does
Ask a question; get an answer grounded in your knowledge index, with citations — or an honest "not found.".
Build an agent that answers questions strictly from an Azure AI Search index — an internal wiki, product docs, an engineering runbook, an HR FAQ — and cites the documents it used. It retrieves the most relevant passages for the question, answers from those passages only, and attaches the sources so the reader can verify. When the index doesn't contain the answer, it says so rather than reaching for general knowledge.
This is a single-tool retrieve → grounded answer pattern using natural-language prompt structure. The defining design decision is loyalty to the index: the agent treats retrieved passages as its only source of truth, cites them, and refuses to fill gaps from its own training. Natural language suits the conversational Q&A surface, and the instructions handle the failure modes that sink retrieval agents — no good match (say so), partial match (answer what you can, flag the rest), ambiguous question (ask, or answer the most likely reading and name it).
This pattern applies anywhere there is a trusted document set and people asking it questions. Common scenarios for this pattern:
- Internal wiki / handbook Q&A
- Product and API documentation assistants
- Support knowledge-base lookup
- Engineering runbook and on-call helpers
- Benefits / policy FAQ (non-regulated)
The tools it uses
This manifest uses: Azure AI Search
Use this agent manifest to understand
How to build single-shot agents using natural language prompt structure for cited narrative answer output.
License
This agent manifest is sample code subject to Azure's licensing terms for Distributable Code under the Universal License Terms for Online Services .
Disclaimer
IMPORTANT! This manifest is for educational and experimentation purposes. Resulting agents are not production ready. Review all provided resources and carefully test agent behavior in the context of your use case. Agents you create may be subject to legal and regulatory requirements, may require licenses, or may not be suitable for all industries, scenarios, or use cases. By using any manifest, you are acknowledging that resulting agents and other output are solely your responsibility, and that you will comply with all applicable laws, regulations, and relevant safety standards, terms of service, and codes of conduct. Learn more .