QA Agent
Read-only customer support and store-policy specialist that answers operational, shipping, returns, account, and billing questions without accessing live order data or mutating records.
Role & Autonomy Boundary
QA Agent is the read-only customer support and store-policy specialist hosted in Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docs. It is triggered either when the intent router inside Chat Agent OrchestrationFlowv1.0.0Chat Agent OrchestrationA customer submits a conversational request through Storefront; Chat API screens input, routes via a non-LLM classifier ...Ownerai-capabilities-teamView flowOpen docs classifies a customer prompt as an operational, policy, shipping, returns, account, or billing inquiry, or when Book AgentAgentv1.0.0Book AgentPrimary conversational book discovery and recommendation specialist that grounds catalog answers in read-only MCP lookup...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs hands off a non-book support question.
QA Agent has no database access, no MCP catalog client, and no account or order mutation capabilities: it provides policy guidance only, cannot look up or modify live orders, and must never invent policy terms or prices.
Agent Profile & Model Governance
| Property | Value |
|---|---|
| Bounded Context / Domain | Conversational (BookWormDomainv1.0.0BookWormCore e-commerce domain for the BookWorm online bookstore, coordinating catalog discovery, customer baskets, order fulfil...Ownerarchitecture-enabling-teamDiagramRepositoryOpen docs) |
| Owner Team | AI Capabilities TeamTeamAI Capabilities TeamComplicated-Subsystem team owning BookWorm's multi-agent conversational discovery, MCP/A2A protocols, vector ingestion, ...Open docs |
| Hosting Service | Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docs |
| LLM Provider & Model | Microsoft Foundry model-router (2025-11-18; temperature: 0.5, maxOutputTokens: 1000, reasoningEffort: medium) |
| Interaction Protocol | Streaming AG-UI over HTTP (inbound); in-process handoff (outbound to Book AgentAgentv1.0.0Book AgentPrimary conversational book discovery and recommendation specialist that grounds catalog answers in read-only MCP lookup...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs) |
| Memory / Context Scope | Durable AG-UI session state in Chat Session Blob StorageContainerv1.0.0Chat Session Blob StorageAuthoritative Azure Blob Storage container owned by the Conversational bounded context for durable AG-UI multi-turn chat...Ownerai-capabilities-teamDiagramOpen docs with lightweight history compaction and store-policies skill context |
| Fallback Behavior | States explicitly when a policy detail is unavailable and directs the customer to support; fails closed on PII errors |
Tools & Capabilities
| Name | Type | Description | URL |
|---|---|---|---|
| load_skill | function | Loads curated store-policy guidance from the store-policies skill context. | |
| read_skill_resource | function | Reads specific policy reference sections within the store-policies skill. | |
| handoff_to_book | handoff | Transfers book discovery, catalog, or recommendation follow-ups to the Book Agent. |
| Capability / Tool | Access Level | Target Resource | Guardrail / Constraint |
|---|---|---|---|
load_skill, read_skill_resource | Read | store-policies skill | Scoped exclusively to curated store-policy guidance; cannot read arbitrary files or stores |
handoff_to_book | Delegate | Book AgentAgentv1.0.0Book AgentPrimary conversational book discovery and recommendation specialist that grounds catalog answers in read-only MCP lookup...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs | Transfers book discovery or recommendation follow-ups back to Book Agent |
Catalog tools (search_catalog, etc.) | Denied | MCP ServerServicev1.0.0MCP ServerInternal stateless Streamable HTTP MCP service that exposes read-only Catalog lookup tools and reusable AI prompts. PublishesListBooksGrpc, GetBookDetailsGrpc +2Ownerai-capabilities-teamDiagramRepositoryOpen docs | Explicitly denied at priority 70 as defense-in-depth |
Data, Messaging & Handoff Boundaries
- Data Stores: QA Agent reads no business databases, caches, or external APIs. Conversation sessions are persisted by Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docs in Chat Session Blob StorageContainerv1.0.0Chat Session Blob StorageAuthoritative Azure Blob Storage container owned by the Conversational bounded context for durable AG-UI multi-turn chat...Ownerai-capabilities-teamDiagramOpen docs.
- Messages: Every input prompt and buffered streaming output is screened via Presidio APIServicev1.0.0Presidio APIExternal HTTP sidecar API for detecting PII in text and anonymizing detected entities in the Chat and Rating AI agent pi...SubscribesAnalyzeText, AnonymizeText +3APIsOpenAPIOwnerplatform-engineering-teamDiagramOpen docs using Analyze textCommandv1.0.0Analyze textDetects PII entities in one text string or a batch, returning entity types, text offsets, confidence scores, and optiona...Ownerplatform-engineering-teamSchemaDiagramOpen docs and Anonymize textCommandv1.0.0Anonymize textReplaces or transforms detected PII in text using the supplied analysis results and configured anonymization operators.Ownerplatform-engineering-teamSchemaDiagramOpen docs.
- Delegation & Handoffs: Receives routed support turns or handoffs from Book AgentAgentv1.0.0Book AgentPrimary conversational book discovery and recommendation specialist that grounds catalog answers in read-only MCP lookup...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs, and hands book-specific follow-ups back to Book AgentAgentv1.0.0Book AgentPrimary conversational book discovery and recommendation specialist that grounds catalog answers in read-only MCP lookup...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs via
handoff_to_book. It never calls Rating AgentAgentv1.0.0Rating AgentRead-only review intelligence specialist that summarizes customer feedback over A2A gRPC and map-reduce workflows while ...PublishesAnalyzeText, AnonymizeTextOwnercatalog-experience-teamDiagramRepositoryOpen docs directly.
Safety, Privacy & AI Governance
- Fail-Closed PII Redaction: Input and buffered streaming output pass through Presidio APIServicev1.0.0Presidio APIExternal HTTP sidecar API for detecting PII in text and anonymizing detected
entities in the Chat and Rating AI agent pi...SubscribesAnalyzeText, AnonymizeText +3APIsOpenAPIOwnerplatform-engineering-teamDiagramOpen docs (
AnalyzeTextfollowed byAnonymizeText, replacing detected entities with<PII>). Any failure aborts the turn. - Defense-in-Depth Tool Denial: Default-deny governance permits only skill loading and
handoff_to_book, while an explicit high-priority deny rule blocks all catalog MCP tools. - Topic & Fairness Guardrails: Covers shipping, delivery, returns, refunds, account/order guidance, store policies, and services (gift cards, loyalty, wishlists, pre-orders). Never tailors policy answers based on inferred personal characteristics.
- Conversation Guardian: Monitors for escalating rhetoric, offensive patterns, handoff loops (
max_conversation_turns: 30), and multi-turn prompt injection.
QA Agent must never fabricate store policies, refund timelines, or account statuses, and cannot inspect or modify live customer orders. When a policy detail is missing from its skill context, it must state the gap clearly and direct the customer to the official support channel.
- Missing Policy Detail: Explicitly informs the customer that the requested detail is unavailable rather than guessing.
- Out-of-Scope Book Query: Hands off to Book AgentAgentv1.0.0Book AgentPrimary conversational book discovery and recommendation specialist that grounds catalog answers in read-only MCP lookup...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs instead of attempting to answer catalog questions from memory.
- Evaluation: Verified against explicit catalog-tool denial tests, missing-policy refusal accuracy, handoff-loop bounds, and Presidio fail-closed fault injection.
Architecture Visualizations
Support Routing, Policy Skill, and Handoff Boundary
Loading graph...
Related Documentation
- Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docs — Hosting AG-UI server, workflow orchestration, and intent routing.
- Chat Agent OrchestrationFlowv1.0.0Chat Agent OrchestrationA customer submits a conversational request through Storefront; Chat API screens input, routes via a non-LLM classifier ...Ownerai-capabilities-teamView flowOpen docs — End-to-end conversational routing, disambiguation, and handoff flow.
- Book AgentAgentv1.0.0Book AgentPrimary conversational book discovery and recommendation specialist that grounds catalog answers in read-only MCP lookup...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs — Peer specialist for book discovery handoffs.
- Presidio APIServicev1.0.0Presidio APIExternal HTTP sidecar API for detecting PII in text and anonymizing detected entities in the Chat and Rating AI agent pi...SubscribesAnalyzeText, AnonymizeText +3APIsOpenAPIOwnerplatform-engineering-teamDiagramOpen docs — PII analysis and anonymization sidecars invoked by middleware.
- AI GovernanceCustom DocAI GovernanceInput screening, privacy middleware, policy enforcement, and tool boundaries for BookWorm's AI workflows.Ownerai-capabilities-teamOpen doc — Cross-cutting AI governance rules and standards.
- ADR-BW-014: Compose shared governance on each enabled AI pathDecision Recordv1.0.0ADR-BW-014: Compose shared governance on each enabled AI pathReuse privacy, guardrail, and policy mechanisms across Chat and Rating while verifying registration and permissions on e...Ownerai-capabilities-teamOpen docs — Shared governance composition across AI paths.
- ADR-002: Apply PII filtering to agent input and outputDecision Recordv1.0.0ADR-002: Apply PII filtering to agent input and outputChat agents use Presidio middleware to analyze and anonymize sensitive text, and privacy-processing failures are not byp...Ownerai-capabilities-teamOpen docs — Fail-closed PII screening decision.
- ADR-005: Grant tools according to each agent's responsibilityDecision Recordv1.0.0ADR-005: Grant tools according to each agent's responsibilityChat agents receive only the MCP tools or delegated capabilities needed for their role, with governance policies limitin...Ownerai-capabilities-teamOpen docs — Per-agent default-deny tool governance.