How Countersign works

How it works

Agents propose actions. Countersign decides which ones happen.

It sits between your agents and the tools they call, so nothing reaches production without passing your rules.

policy.yamlv14
refund.create:
  max: { amount: 500 }
  budget: { limit: 1500, per: day }
  approve_above: { amount: 200 }
email.send:
  outbound: true
Background: John Constable, Cloud study, public domain via The Metropolitan Museum of Art.

Write the rules once

Limits, allowlists and approval thresholds live in a file in your repo.

Approval needed
Refund to card ending 4242
$380.00
Order A-1042 was paid $412.00
Card has been on file since 2024
RejectApprove $380
Background: Eugène Boudin, On the Beach, Dieppe, public domain via The Metropolitan Museum of Art.

Approve what matters

Only risky actions reach a person, and they see exactly what will happen.

Audit log Chain verified
  • Priyaapproved refund.create
  • Policyblocked email.send
  • Policycorrected invoice total
Background: Eugène Boudin, On the Beach at Trouville, public domain via The Metropolitan Museum of Art.

Prove what happened

Every decision is recorded in a log that shows if anyone edits it.

What's different

Most guardrails read what an agent says. Countersign controls what it does.

A support ticket hides an instruction to email the customer list to an outside address.

The prompt filter sees ordinary text. The agent exports the customer list and emails it out.

Customer data leaked

An agent asks a person to approve a refund.

The approver reads the agent's one-line summary and clicks Approve, as people do for 97% of prompts.

$2,500 sent to a new account

An agent splits one large payout into many small ones.

Each $400 payment passes the per-call limit, and $4,000 leaves the account in ten minutes.

$4,000 paid out
9 µs

to check an action at p99, measured on our open-source engine. Your agents won't feel it.

0

AI models deciding what is allowed. No prompt can talk its way past a rule.

1 file

holds every rule, reviewed in pull requests like the rest of your code.

100%

of actions recorded, with who approved them and which rule applied.

Limits

Limits that remember.
Not just one call at a time.

Most tools judge each call on its own. Countersign keeps a running total per agent, customer and day, so splitting a big action into small ones doesn't work.

Without Countersign
Ten $400 payouts each pass a $500 limit.
With Countersign
The daily budget stops the fourth one.
Refund budget · todaysupport-agent
$1,120of $1,500
  • Refund $120Allowed
  • Refund $380Approved by Priya
  • Refund $620Over the $500 cap
Background: Simon Denis, Cloud Study (Early Evening), public domain via The Metropolitan Museum of Art.
Approvals

Approvals people actually read.
Built from the request, not the agent's words.

Approvers see the real amount, recipient and record, checked against your systems. Large amounts must be typed to confirm, and anyone approving everything in a second gets flagged.

Without Countersign
“Approve refund?” and one button.
With Countersign
$380 to card 4242, order paid $412, type to confirm.
Approval needed refund.create
Refund to card ending 4242
$380.00
  • Order A-1042 was paid $412.00
  • Today’s refunds stay under $1,500
The agent says (unverified)

“The customer was charged twice for shipping.”

Background: Eugène Boudin, On the Beach, Sunset, public domain via The Metropolitan Museum of Art.
Data flow

Leaks that take several steps,
caught at the last one.

Countersign remembers what an agent read earlier in the session. Once it has seen untrusted content and customer data, nothing gets sent outside the company.

Without Countersign
Each step looks harmless on its own.
With Countersign
The whole session is checked before the send.
Session 7f3a3 steps
  1. Read a supplier web pageUntrusted
  2. Exported customer emailsCustomer data
  3. Tried to email ext-vendor.ioBlocked
Background: Vincent van Gogh, Wheat Field with Cypresses, public domain via The Metropolitan Museum of Art.
Accuracy

Your server does the maths.
The model never sets a price.

Mark totals, taxes and prices as calculated fields. Your own code recomputes them before anything is saved, and every correction is logged.

Without Countersign
An invoice goes out $59 short.
With Countersign
The total is corrected to $1,239.00 first.
Invoice INV-2291
2 × Pro seat at $590$1,180.00
Tax 5%$59.00
Total$1,180.00$1,239.00
Total recalculated by your server
Background: John Constable, Cloud study, public domain via The Metropolitan Museum of Art.
Safe rollout

Test a rule before it blocks anyone.
Replay last week first.

Run new rules in watch-only mode, or replay recorded traffic against them, and see exactly what would change before you switch them on.

Without Countersign
A new rule ships and blocks real work.
With Countersign
You see 34 blocks and 117 approvals in advance.
Replay: policy v15 against last 7 days48,212 actions
  • No change48,061
  • Would need approval117
  • Would be blocked34
About 17 extra approvals a day. Safe to turn on.
Background: Eugène Boudin, On the Beach, Dieppe, public domain via The Metropolitan Museum of Art.

Works with the agents and tools your team already uses

  • Claude
  • OpenAI
  • Gemini
  • Cursor
  • GitHub Copilot
  • LangGraph
  • Devin
  • MCP
  • Stripe
  • Postgres
  • Gmail
  • GitHub
  • Shopify
  • HubSpot
  • Zendesk
  • Jira

Give your agents real work.
Keep a person on the big calls.

Join the waitlist and we’ll invite you to the first release.

We only email you about early access.

Background: Eugène Boudin, On the Beach at Trouville, public domain via The Metropolitan Museum of Art.