Monitor and limit agent actions

Set rules for commands, file access, and tool calls on the machines where your agents run. Each host evaluates rules locally and can block supported actions when you enable enforcement.

Delete the home directory

Codex on build-runner-02

Blocked

Local rule matched

Recursive deletion of root or home

The host sent a redacted finding to Superagent.

How it works

  1. Pair the agent host

    Register a host through MCP and pair it with the one-time token.

  2. Set the rule mode

    Set a rule to monitor or enforce through MCP. The host applies it locally.

  3. Review alerts

    Ask your agent to read the alert through MCP for the rule and redacted evidence.

What you get

See the redacted alerts your team gets when a Pi command contains sensitive data or an agent tries to read an environment file.

Runtime alertExample output
Pi webhook · Redacted alert excerpt
Client: Pi on support runnerRule: PII or PHI in tool argumentsEvidence: Patient ID [redacted]Mode: EnforceDecision: Denied before executionWebhook event: agent.action_blocked
Action blocked

The monitoring workflow receives the block, and the team switches the support task to a synthetic record.

Use cases

  • Sensitive arguments in Pi commands

    Superagent evaluates the local rule and blocks supported Pi commands whose arguments match the personal or health data patterns. It sends redacted alerts to the monitoring workflow.

  • Environment files on agent hosts

    Superagent evaluates attempts to read environment files against your local rules. Supported hooks can block matching actions, and findings appear in Superagent.

Frequently asked questions

More reading

Set up your first agent host

Pair a client so Superagent can apply local rules and report risky activity.

Get started