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:
| Mode | What happens to a prompt | What is recorded |
|---|---|---|
| Active Guard | Blocking and masking are enforced before the model call | The decision: allowed, masked or blocked |
| Shadow Mode | Nothing is masked and nothing is blocked. The prompt, paste or file reaches the AI unchanged | The 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
| Integration | In Shadow Mode |
|---|---|
| Browser extension | Prompts, 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 companion | Windows: the prompt is sent as typed and checked in the background. macOS: the prompt is not changed |
| SDKs and Guard API | Guard answers allowed: true with shadow_mode: true and a simulated_decision; the text is not masked |
Moving to Active Guard
- Review the simulated outcomes in the activity log.
- Adjust the guardrail switches and content policies until the simulated blocks and masks are what you expect.
- Switch the system to Active Guard, turn on the mask or block switches you want, and choose the failure mode.
- Run Verify your integration.