Skip to content
AgentIDDocs

Type at least two characters to search titles, headings and content.

↑ ↓ to navigate↵ to open
AgentID Docs

Data protection

Shadow Mode

Shadow Mode observes without enforcing. Nothing is masked or blocked before it reaches the AI; AgentID records what it would have done.

Each AI system runs in one of two modes, chosen in Guardrails or when you register the system:

ModeWhat happens to a promptWhat is recorded
Active GuardBlocking and masking are enforced before the model callThe decision: allowed, masked or blocked
Shadow ModeNothing is masked and nothing is blocked. The prompt, paste or file reaches the AI unchangedThe simulated outcome (simulated_decision: allowed, masked or blocked): what Active Guard would have done

Use Shadow Mode to see real traffic and calibrate guardrails before you enforce them. It is an observation mode, not a protection mode.

What stays the same

  • Detection runs on every checked prompt, paste, file and tool result, with the same detectors as in Active Guard.
  • The stored record is redacted: personal data in the logged text is replaced, as in Active Guard. Originals are stored only with Store Encrypted Payloads; see What is logged.
  • Discovery and logging of AI conversations work as usual.

What changes

  • The block and mask switches in Guardrails are simulated, not enforced. They cannot be changed while Shadow Mode is on.
  • Restoration is not offered, because nothing is masked.
  • The system always behaves as fail-open: when AgentID cannot check, the request continues. Strict Security (Fail-Closed) applies only in Active Guard.
  • Rate limits and caps are recorded as simulated blocks instead of being enforced by the Guard API.

Per integration

IntegrationIn Shadow Mode
Browser extensionPrompts, pastes and files reach the AI tool without waiting and unchanged; they are checked in the background for the log
Claude plugin (Cowork, Claude Code)Nothing is held back, rewritten or blocked; every step is still logged
Claude Desktop companionWindows: the prompt is sent as typed and checked in the background. macOS: the prompt is not changed
SDKs and Guard APIGuard answers allowed: true with shadow_mode: true and a simulated_decision; the text is not masked

Moving to Active Guard

  1. Review the simulated outcomes in the activity log.
  2. Adjust the guardrail switches and content policies until the simulated blocks and masks are what you expect.
  3. Switch the system to Active Guard, turn on the mask or block switches you want, and choose the failure mode.
  4. Run Verify your integration.