Skip to main content
Policies control what your agents can access. Without a policy, an agent can’t do anything — Anti AI uses a deny-by-default model.

Using the AI Policy Builder

  1. Go to Policies → New Policy
  2. Click AI Suggest
  3. Describe what you want in plain English:
    “Allow this agent to read customer data from Stripe but only during business hours”
  4. Review the generated Rego, then click Save

Writing a policy manually

Scope format

Test before activating

  1. In the Policy Editor, click Simulate
  2. Enter a mock request (agent ID, action, scope)
  3. See whether the policy allows or denies it
Use Shadow Mode to run a new policy in production without enforcing it. Watch the audit log for 24 hours, then activate when confident.

Assign to an agent

Go to your agent → Settings → Policies and add the policy. Changes take effect within 60 seconds.