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

Read the architecture guide →

External HTTP sidecar API for detecting PII in text and anonymizing detected entities in the Chat and Rating AI agent pipelines.

ExternalHTTP APIOpenAPI V2

Integration Purpose & Boundary

Presidio provides external sidecar HTTP services (Analyzer and Anonymizer) for detecting and redacting personally identifiable information (PII) in text before and after AI model execution. BookWorm’s deterministic PII middleware invokes Presidio on behalf of Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docs and Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs agents so foundation models cannot bypass privacy screening.

Warning

Although the attached upstream OpenAPI specification documents discovery endpoints (GetRecognizers, GetSupportedEntities, GetAnonymizers), BookWorm’s runtime integration invokes only 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—targeting email addresses, phone numbers, and credit-card numbers. All screening executes fail-closed: any timeout or non-success response aborts the AI turn rather than sending unscreened text.

Integration Profile

PropertyValue
Provider / SidecarMicrosoft Presidio (presidio-analyzer and presidio-anonymizer sidecar containers)
BookWorm ConsumersChat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-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, 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, 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) and Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs (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)
Runtime Transport & ProtocolInternal HTTP/HTTPS via service discovery (not routed via public API Gateway)
Auth / Credential BoundaryInternal cluster network boundary; no public exposure or customer credentials forwarded
Data / PII SensitivityCritical — processes raw customer prompts, review text, and model responses; never log raw inputs, outputs, or detected PII spans
Failure / Fallback BehaviorFail-closed — connection errors, timeouts, or non-success status codes propagate and fail the request immediately

Visualizations & Specifications

Privacy Screening Context

Loading graph...

Service Interactions

Sends messages (0)

Quickly find the message you need by searching for the name, type, or summary.
NameVersionTypeSummaryChannels
No messages found

Receives messages (5)

Quickly find the message you need by searching for the name, type, or summary.
NameVersionTypeSummaryChannels
Analyze text
v1.0.0commandDetects PII entities in one text string or a batch, returning entity types, text offsets, confidence scores, and optional analysis explanations.
-
Anonymize text
v1.0.0commandReplaces or transforms detected PII in text using the supplied analysis results and configured anonymization operators.
-
Get recognizers
v1.0.0queryReturns the names of PII recognizers available for the requested language.
-
Get supported entities
v1.0.0queryReturns the PII entity types Presidio Analyzer can detect for the requested language.
-
Get anonymizers
v1.0.0queryReturns the names of the built-in anonymization operators supported by Presidio Anonymizer.
-