Demo – synthetic data, read only · Showcase home · Get your own sandbox
Agent Governor sandbox

Agent Governor Research preview

Policy enforced inside an AI agent's loop before each tool action runs. A Claude Code hook sends the tool name and command (never file contents or transcripts) to this portal and enforces the answer: Block, Escalate (waits for a human decision in the Review queue), Advise (allowed, with a warning to the agent) or Allow. Anything no rule allows is blocked.

Policy · version 1

ToolConditionValueDecisionReason
Bashcommand containsrm -rfBlockDestructive recursive delete is not allowed.
Bashcommand containsgit pushEscalatePushing code needs a human approval in the portal.
Writeoutside project—AdviseWriting outside the project folder: check this is intended.
Editoutside project—AdviseEditing outside the project folder: check this is intended.
*always—AllowDefault allow inside the sandbox.

When several rules match, the strictest decision wins (Block, then Escalate, then Advise, then Allow).

Edit policy (publishes a new version)

Connect a Claude Code agent

  1. Create an engagement key on the use case overview and save it in a file only the agent's user can read.
  2. Download the hook script and the Claude Code settings into the project's .claude folder.
  3. Set MULTIPRA_PORTAL, MULTIPRA_KEY_FILE and MULTIPRA_PROJECT_ROOT for the agent. If the portal cannot be reached, the hook blocks the action.

Decision log

Latest 200 governed events for this use case.

WhenEventToolActionDecisionReason
02 Dec 14:40:18PreToolUseWebFetchWebFetchAllowDefault allow inside the sandbox. (policy v1)
02 Dec 09:09:24Stop—ObserveLifecycle telemetry (policy v1)
02 Dec 09:09:24PostToolUseBashBashObserveLifecycle telemetry (policy v1)
02 Dec 09:09:16PreToolUseBashgit push origin mainEscalate
approved by demo-operator
Pushing code needs a human approval in the portal. (policy v1)
02 Dec 09:09:15PreToolUseWrite/opt/aia-governor-sandbox/project/notes.mdAllowDefault allow inside the sandbox. (policy v1)
02 Dec 09:09:15PreToolUseWrite/tmp/outside.txtAdviseWriting outside the project folder: check this is intended. (policy v1)
02 Dec 09:09:15PreToolUseBashrm -rf buildBlockDestructive recursive delete is not allowed. (policy v1)
02 Dec 09:09:15PreToolUseBashls -laAllowDefault allow inside the sandbox. (policy v1)
02 Dec 09:09:15SessionStart—ObserveLifecycle telemetry (policy v1)