---
id: book-catalog-researcher
name: Book Catalog Researcher
version: 1.0.0
summary: Internal delegated subagent that performs low-temperature factual catalog lookups for the Book Agent and never communicates directly with customers or mutates state.
owners:
  - ai-capabilities-team
repository:
  language: C#
  url: https://github.com/foxminchan/BookWorm
sends:
  - id: AnalyzeText
    version: 1.0.0
  - id: AnonymizeText
    version: 1.0.0
flows:
  - id: agent-orchestration
    version: 1.0.0
tools:
  - name: search_catalog
    type: mcp
    icon: /icons/languages/dotnet.svg
    description: Searches the book catalog by keyword or description.
  - name: get_book
    type: mcp
    icon: /icons/languages/dotnet.svg
    description: Retrieves full catalog details for a known book identifier.
  - name: list_categories
    type: mcp
    icon: /icons/languages/dotnet.svg
    description: Lists available book categories in the catalog.
  - name: list_authors
    type: mcp
    icon: /icons/languages/dotnet.svg
    description: Lists authors available in the catalog.
badges:
  - content: Delegated Subagent
    backgroundColor: teal
    textColor: teal
model:
  provider: Microsoft
  name: model-router
  version: "2025-11-18"
---

## Role & Autonomy Boundary

Book Catalog Researcher is an internal delegated subagent hosted inside [[service|chat-api]] and invoked exclusively by [[agent|book-agent]]. It is triggered when a multi-part customer inquiry requires dedicated factual catalog verification in parallel with preference-based recommendation research.

It has **no external user-facing surface**: it cannot be routed to directly by the workflow orchestrator, cannot initiate handoffs to peer agents, cannot access planning or file memory, and must never fabricate titles, prices, availability, or ratings.

## Agent Profile & Model Governance

| Property                     | Value                                                                                                                          |
| :--------------------------- | :----------------------------------------------------------------------------------------------------------------------------- |
| **Bounded Context / Domain** | Conversational ([[domain\|bookworm]])                                                                                          |
| **Owner Team**               | [[team\|ai-capabilities-team]]                                                                                                 |
| **Hosting Service**          | [[service\|chat-api]] (internal subagent of [[agent\|book-agent]])                                                             |
| **LLM Provider & Model**     | Microsoft Foundry `model-router` (`2025-11-18`; `temperature: 0.2`, `maxOutputTokens: 1200`, `reasoningEffort: medium`)        |
| **Interaction Protocol**     | In-process subagent delegation (inbound from [[agent\|book-agent]]); MCP Streamable HTTP (outbound to [[service\|mcp-server]]) |
| **Memory / Context Scope**   | Ephemeral per-delegation turn; inherits active run context from [[agent\|book-agent]] with no independent storage              |
| **Fallback Behavior**        | Returns explicit unverified/not-found status to [[agent\|book-agent]]; fails closed on PII or policy errors                    |

## Tools & Capabilities

<AgentTools />

| Capability / Tool                                               | Access Level | Target Resource         | Guardrail / Constraint                                                                       |
| :-------------------------------------------------------------- | :----------- | :---------------------- | :------------------------------------------------------------------------------------------- |
| `search_catalog`, `get_book`, `list_categories`, `list_authors` | Read         | [[service\|mcp-server]] | Default-deny policy permits only these four read-only catalog tools; no mutation tools exist |

## Data, Messaging & Handoff Boundaries

- **Data Stores:** Book Catalog Researcher has no direct database, cache, or blob storage access. All catalog facts are retrieved exclusively through [[service|mcp-server]].
- **Messages:** Inherits [[agent|book-agent]]'s privacy pipeline, screening all inputs and outputs via [[service|presidio-api]] using [[command|AnalyzeText]] and [[command|AnonymizeText]].
- **Delegation & Handoffs:** Receives subagent tasks solely from [[agent|book-agent]] and returns concise findings with verified book identifiers. It has no handoff tools and never delegates further.

## Safety, Privacy & AI Governance

- **Inherited Fail-Closed PII Redaction:** Every model invocation runs through [[service|presidio-api]] (`AnalyzeText` and `AnonymizeText`, masking detected PII with `<PII>`); any failure aborts execution.
- **Strict Least-Privilege Policy:** Default-deny governance permits only agent execution and the four read-only catalog tools—no handoff, planning, file-memory, or storefront UI tools are granted.
- **Deterministic Grounding:** Configured with low temperature (`0.2`) and `1200` max output tokens to favor exact, concise catalog reporting over creative elaboration.
- **Prompt & Output Guardrails:** Inherits decision-based tool filtering, prompt/output safety guardrails, and full context compaction from [[agent|book-agent]].

<Admonition type="warning">
	Book Catalog Researcher must treat catalog tool outputs as its sole factual source. It must never
	extrapolate stock levels, prices, or bibliographic details beyond what [[service|mcp-server]]
	returns.
</Admonition>

<Accordion title="Fallback Behavior & Evaluation Criteria">

- **Empty or Partial Matches:** When catalog queries return no matching books, the subagent reports the exact gap to [[agent|book-agent]] rather than substituting unverified titles.
- **Evaluation:** Tested for strict tool-scope isolation (denying non-catalog tools), deterministic fact extraction, and inherited Presidio PII redaction.

</Accordion>

## Architecture Visualizations

<NodeGraph />

**Subagent Delegation and Catalog Lookup Boundary**

<MermaidFileLoader file="mermaids/book-catalog-researcher-diagram-1.mmd" />

## Related Documentation

- [[agent|book-agent]] — Parent coordinating agent and full governance specification.
- [[agent|book-recommendation-researcher]] — Sibling delegated subagent for preference-based shortlists.
- [[service|mcp-server]] — Read-only Catalog MCP server exposing the four catalog tools.
- [[service|chat-api]] — Hosting service and workflow orchestration.
- [[flow|agent-orchestration]] — End-to-end conversational routing and delegation flow.
- [[doc|arc42/08-crosscutting-concepts/005-ai-governance]] — Cross-cutting AI governance rules and standards.
- [[adr|adr-005-govern-agent-tools-per-agent]] — Per-agent default-deny tool governance.
