Data Privacy
External Presidio system that detects and anonymizes personally identifiable information in the Reviews feedback-summarization and Chat agent pipelines.
System Purpose & Boundary
The Data Privacy system provides external personally identifiable information (PII) detection and anonymization for BookWorm’s AI agent pipelines using Microsoft Presidio. It serves internal AI-hosting systems—Chat SystemSystemv1.0.0Chat SystemInternal system that hosts BookWorm's conversational workflow and specialist AI agents for customer support and catalog-...Ownerai-capabilities-teamDiagramRepositoryOpen docs and Rating SystemSystemv1.0.0Rating SystemInternal Reviews system that owns customer feedback, publishes rating changes to Catalog, and provides read-time feedbac...Ownercatalog-experience-teamDiagramRepositoryOpen docs—by screening prompts and model responses before they reach foundation models or end users. Owning customer feedback, storing conversation transcripts, and modifying persisted domain records are explicitly out of scope.
BookWorm’s PII middleware executes fail-closed: any timeout, connection error, or non-success response from Presidio aborts the AI turn rather than sending unscreened text to foundation models or customers.
Contained Capabilities
| Service / Agent | Role in System | Primary Data Store | Interaction Style (Sync / Async) |
|---|---|---|---|
| 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 | External HTTP sidecar boundary exposing PII entity detection and text anonymization | None (Stateless) | Sync (Internal HTTP) |
External Interactions & Trust Boundaries
- AI pipeline consumers: Invoked deterministically by PII middleware on behalf of QA AgentAgentv1.0.0QA AgentRead-only customer support and store-policy specialist that answers operational, shipping, returns, account, and billing...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs, 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, Book Catalog ResearcherAgentv1.0.0Book Catalog ResearcherInternal delegated subagent that performs low-temperature factual catalog lookups for the Book Agent and never communica...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs, and Book Recommendation ResearcherAgentv1.0.0Book Recommendation ResearcherInternal delegated subagent that curates catalog-verified book shortlists matching customer preferences for the Book Age...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs in Chat SystemSystemv1.0.0Chat SystemInternal system that hosts BookWorm's conversational workflow and specialist AI agents for customer support and catalog-...Ownerai-capabilities-teamDiagramRepositoryOpen docs, and 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 in Rating SystemSystemv1.0.0Rating SystemInternal Reviews system that owns customer feedback, publishes rating changes to Catalog, and provides read-time feedbac...Ownercatalog-experience-teamDiagramRepositoryOpen docs.
- Scoped runtime usage: BookWorm’s integration targets email addresses, phone numbers, and credit-card numbers; broader upstream Presidio capabilities do not imply all recognizers are enabled in BookWorm.
- No public exposure: Presidio sidecars are internal-only and not routed through the public API Gateway; raw text and detected PII must never be written to routine logs.
System Visualizations
System Context
Component Topology
Architecture Decisions
Architecture Decision Records (4)
Decisions that apply to this Data Privacy. Search, filter by status, or sort by clicking a column.Related Documentation
- 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 — External sidecar endpoints, consumers, and fail-closed semantics.
- Chat SystemSystemv1.0.0Chat SystemInternal system that hosts BookWorm's conversational workflow and specialist AI agents for customer support and catalog-...Ownerai-capabilities-teamDiagramRepositoryOpen docs — Conversational AI consumer of PII screening.
- Rating SystemSystemv1.0.0Rating SystemInternal Reviews system that owns customer feedback, publishes rating changes to Catalog, and provides read-time feedbac...Ownercatalog-experience-teamDiagramRepositoryOpen docs — Review summarization consumer of PII screening.