The agent issues retrieval calls through the Sentinel SDK; the SDK tags each returned chunk with its source URI, ingestion timestamp, and trust class. The Gateway runs the indirect-injection classifier and the entity-redaction pass before prompt assembly. The LLM sees the assembled, redacted, origin-attributed prompt.
The agent process. The SDK wraps the retrieval call and emits an origin-tagged chunk record per result.
Pinecone, Weaviate, Qdrant, Milvus, pgvector, OpenSearch, Vespa, or Bedrock Knowledge Bases. Namespaces fenced per tenant.
Per-chunk indirect-injection classifier with origin attribution. Entity redaction at the retrieval boundary. Prompt assembled with redacted, attributed chunks.
OpenAI, Anthropic, Bedrock, Vertex, or self-hosted. The model sees redacted prompts and attributed retrieval.
Each pass is independently auditable. A retrieval that fails any pass is dropped from the assembly, logged with provenance, and (if the score is high enough) escalated to source quarantine. The agent does not know, and does not need to know, about the dropped chunks beyond a count.
Every chunk carries source URI, ingestion timestamp, ingestion-pipeline ID, and trust class. The LLM sees attribution alongside content.
Structural classifier scores each chunk; instructions arriving via retrieval are flagged with retrieval origin, not user origin. Hits trigger drop, log, and (above threshold) source quarantine.
Boundary redaction tokenizes NPI in retrieved chunks before they are assembled into the prompt. Per-session deterministic tokens preserve coreference across the assembled context.
Two pipeline orders are supported. The choice is a per-application configuration, not a platform-wide constraint. Most regulated workloads run the first; rerank-quality-sensitive workloads run the second.
Entity redaction runs immediately after retrieval, before the reranker sees the chunks. The reranker scores tokenized chunks. The model never sees raw NPI, even transiently inside the rerank stage. This is the default for GLBA-scoped workflows.
The reranker scores the original chunk text for higher fidelity, then redaction runs before the chunks reach the model. The exposure window is in-process and does not leave your perimeter, but it exists. Selected for cases where reranker quality on the original outweighs the in-process redaction window.
The business-outcome twin of this page: the risk shape, the regulatory mapping, the indirect-injection incident.
Read the use-case →The redaction engine that runs on retrieved chunks before prompt assembly. Configurable order; deterministic tokens.
Explore DLP →The structural classifier the Gateway runs on every retrieved chunk, with retrieval-origin attribution.
Explore the classifier →Drop the SDK in around your retrieval call. Point the model client at the Gateway. Origin tagging, classifier, and redaction run in shadow mode for the first week. We show you the per-chunk classifier hits, the redaction coverage, and the source-URI distribution on real production traffic.