Dry-run a new agent policy against past activity before it goes live. See how it works

Skip to content
Gaten

Platform · Policies

Rules your finance team can read. And your engineers can trust.

A policy says what an agent may do alone, what needs a person, and what must never happen — in plain, versioned rules that both sides sign off.

Anatomy of a policy

Read it line by line.

Illustrative syntax
11policy "refunds" version "2.4" {
22 action = "issue_refund"
3
43 allow when amount <= 100
54 require_approval when amount <= 1000
6 approver = "finance-lead"
75 deny when customer.flagged
8 deny otherwise reason = "exceeds agent authority"
9}
  1. 1

    Named and versioned

    Every saved change is a new version. Decisions always point to the version that made them.

  2. 2

    Scoped to an action

    One policy per tool or action, so owners can find the rules that affect them.

  3. 3

    Safe by default

    Small, reversible actions run automatically. Nobody waits for a $20 refund.

  4. 4

    A person when it matters

    The middle band is held for a named approver, with context.

  5. 5

    Hard limits

    Some things never happen, whatever the prompt says. The agent gets a clear reason.

What a rule can check

More than the amount.

Rules can use anything about the request and its context.

The actionissue_refund, send_email, delete_resource
Its argumentsamount, currency, recipient, environment
The agentwhich agent, which version, which team owns it
The userwho the agent is acting for, and whether they're verified
Contextcustomer tier, region, time of day, daily totals so far

Change control

From draft to live, with a record at every step.

  1. 01Draft
  2. 02Review
  3. 03Dry-run
  4. 04Publish
  5. 05Roll back

Dry-run before you publish.

Lower the auto-approve limit from $200 to $100? Replay last month's refunds through the new version and see exactly which actions would change, before anyone's queue fills up.

refunds v2.3 → v2.4 · last 30 daysSample data
ActionWasWould be
#A-1932 · $180allowrequire approval
#A-2047 · $95allowallow
#A-2210 · $640require_approvalrequire approval
#A-2391 · $1,250require_approvaldeny
Conceptual sculpture of layered glass records with a blue layer
Rules, written downConceptual illustration

Turn your limits into rules.

Bring a process your agents touch, and an expert will help you write its first policy.