Configure agent approval rules for safe automation
The agent establishes specific policies for auto-approving small, reversible actions while requiring human approval for significant changes, ensuring safe autonomous operation.
How it works
The agent uses set_rules to define constraints such as dollar limits, reversibility, and allowed action types. It then uses get_rules to verify the configuration. Before executing any consequential action, the agent calls check_action to determine if the action is auto-approved, denied, or requires a hosted approval card. If approval is needed, it waits for the user to tap Approve or Reject via the card link, then calls get_decision to confirm the status before proceeding.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Set up approval rules for my agent: auto-approve reversible actions under $5, deny anything over $500, and ask for approval for deletes. Then verify the rules are saved correctly.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
set_rules Save the user's rules (needs an API key so they stay yours). Each rule: {name, when:{type:[...], max_usd, min_usd, reversible, target_ends_with:[...]}, verdict:"auto"|"ask"|"deny"}.Approval Rules: auto-approve small agent actions under your rules, approval cards for the rest