What is the agent designed to accomplish? Define the core task and success criteria...
The agent is designed to answer user questions over a large enterprise knowledge base by retrieving the most relevant internal documents, reasoning across them, and generating accurate, concise answers with source citations.
The core task is not simply to chat with the user, but to provide grounded enterprise knowledge answers. For every user query, the agent should understand the question intent, retrieve relevant evidence from approved knowledge sources, synthesize the answer, cite the supporting documents or passages, and clearly communicate uncertainty when the available evidence is insufficient.
Success criteria include:
Example: If a user asks, “What is our current PTO carryover policy for California employees?”, the agent should retrieve the latest HR policy documents, filter by region and employee type, cite the relevant policy section, and avoid answering from outdated or unauthorized documents.
What level of autonomy does the agent have? What are the boundaries and constraints it must operate within?
The agent has bounded autonomy. It can independently perform retrieval, query decomposition, reranking, evidence selection, answer generation, citation generation, and self-verification. However, it must operate within strict enterprise boundaries.
The agent can autonomously:
The agent cannot:
When evidence conflicts across documents, the agent should prefer the most recent and authoritative source, explain the conflict if needed, and cite both sources. When confidence is low, the agent should avoid over-answering and instead provide a qualified response or ask for clarification.
Overall, the agent should behave like a trusted enterprise research assistant: proactive in finding and synthesizing information, but conservative about claims, permissions, and unsupported conclusions.
Define the tools and actions available to the agent. Specify tool interfaces, input/output schemas, and how the agent selects which tool to use...
Design the overall agent architecture. Choose an orchestration pattern (single agent, multi-agent, hierarchical). Identify key components and how they interact. Use the diagramming tool to illustrate the architecture.
How does the agent manage memory and context? Define short-term (conversation) and long-term (persistent) memory strategies. How is context window managed? What retrieval mechanisms are used (RAG, vector stores, summarization)?
Deep dive into the agent's reasoning strategy. How does it plan, decide, and self-correct? Discuss prompt engineering, chain-of-thought, reflection loops, failure handling, and tradeoffs.
What guardrails and safety mechanisms does the agent have? Define permission boundaries, human-in-the-loop checkpoints, content filtering, rate limiting, and how the agent handles adversarial inputs or unexpected states.