Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

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.

Microsoftmodel-routerAI Agent

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

PropertyValue
Bounded Context / DomainConversational (BookWormDomainv1.0.0BookWormCore e-commerce domain for the BookWorm online bookstore, coordinating catalog discovery, customer baskets, order fulfil...Ownerarchitecture-enabling-teamDiagramRepositoryOpen docs)
Owner TeamAI Capabilities TeamTeamAI Capabilities TeamComplicated-Subsystem team owning BookWorm's multi-agent conversational discovery, MCP/A2A protocols, vector ingestion, ...Open docs
Hosting ServiceChat 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 & ModelMicrosoft Foundry model-router (2025-11-18; temperature: 0.5, maxOutputTokens: 1000, reasoningEffort: medium)
Interaction ProtocolStreaming 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 ScopeDurable 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 BehaviorStates explicitly when a policy detail is unavailable and directs the customer to support; fails closed on PII errors

Tools & Capabilities

NameTypeDescriptionURL
load_skillfunctionLoads curated store-policy guidance from the store-policies skill context.-
read_skill_resourcefunctionReads specific policy reference sections within the store-policies skill.-
handoff_to_bookhandoffTransfers book discovery, catalog, or recommendation follow-ups to the Book Agent.-
Capability / ToolAccess LevelTarget ResourceGuardrail / Constraint
load_skill, read_skill_resourceReadstore-policies skillScoped exclusively to curated store-policy guidance; cannot read arbitrary files or stores
handoff_to_bookDelegateBook AgentAgentv1.0.0Book AgentPrimary conversational book discovery and recommendation specialist that grounds catalog answers in read-only MCP lookup...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docsTransfers book discovery or recommendation follow-ups back to Book Agent
Catalog tools (search_catalog, etc.)DeniedMCP 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 docsExplicitly denied at priority 70 as defense-in-depth

Data, Messaging & Handoff Boundaries

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 (AnalyzeText followed by AnonymizeText, 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.
Warning

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.

Architecture Visualizations

Support Routing, Policy Skill, and Handoff Boundary

Loading graph...