All patterns · 06 of 13 · Collaboration
Agentic patterns: Maker-checker
One agent prepares the payment batch. A second, with its own identity and its own sources, has to approve it.
Eight payments are due. Two days ago a supplier’s bank account was changed after an emailed request, and nobody called back. The maker pays to the account on file. The checker reads the change log.
Demo: The payment batch. Recorded on 26 November 2026 with Claude Opus 5.5: the model’s answers are real, replayed here. The suppliers, the change log and the bank are a small simulation.
What you just saw
What the maker-checker demo shows
The principle
What is maker-checker?
Maker-checker is an agentic pattern in which one agent prepares a piece of work and a second agent, running under a separate identity with separate permissions and sources, must approve it before it takes effect.
Banks call it the four-eyes principle and auditors call it segregation of duties: whoever prepares a payment may not release it. The control has little to do with how clever either party is. It works because two identities with different permissions and different sources of information both have to be wrong, or both compromised, before something bad goes out.
With agents the same holds, on one condition: the separation has to be real. Two prompts on one service account are one identity. In the demo the maker and the checker have their own credentials and their own tools, and the rule that the proposer cannot approve is three lines of code outside both of them. A single agent with every tool caught the same problem at a third of the cost. It also proposed and approved its own batch, which no auditor accepts as a control.
Where it applies
- Payments, credit decisions, master data changes: anything with a four-eyes rule today
- Agent output that changes a system of record
- Checks that need a source the maker should not have, such as a change log or a watch list
- Processes where an auditor will ask who approved, and expects a name different from who prepared
Where it does not
- Low-stakes drafts that a person reads anyway
- A second agent with the same prompt, tools and identity as the first: that doubles the cost and adds no control
- Decisions where accountability must rest with a person: use an approval gate
Fill the boxes
One shape, three ways to build it
The pattern exists with or without AI. The design decision is which boxes deserve a model, and what that costs in money, speed and auditability. In the first run above, nine steps were done: 4 by code, 4 by an agent, 1 by a person.
All code
A script builds the batch and a second script validates it against fixed rules. Cheap and exact, and blind to anything the rules did not foresee.
- Cost
- Free
- Speed
- Instant
- What the auditor gets
- The validation rules and their results
Agents, with code as the gate shown above
Two agents with separate identities and sources prepare and check. Code decides who may approve.
- Cost
- $0.11 of model calls in the run above
- Speed
- Half a minute, two rounds
- What the auditor gets
- Two identities, the findings, and who approved
Agent and person
An agent prepares and a person checks. This is the classic four-eyes control, limited by how many batches a person can read with attention.
- Cost
- The maker’s calls plus a person’s time
- Speed
- As fast as the person
- What the auditor gets
- A named person who approved
codemodelagentperson
What it costs
The price of each run, and of ten thousand
A checker roughly triples the model cost of a batch, and each rejection adds a round. That is the price of a second identity. What it buys is a control, and the answer itself gets no smarter.
Measured from the runs recorded with Claude Opus 5.5 on 26 November 2026. Model calls only: people’s time and infrastructure come on top.
| Run | Model calls | Cost per payment batch | Per 10,000 payment batches |
|---|---|---|---|
| Two agents, separate duties | 10 | $0.11 | $1,084 |
| One agent checks its own work | 3 | $0.033 | $334 |
| The maker tries to release | 3 | $0.034 | $338 |
In a regulated process
What the auditor gets
The log shows who proposed the batch, who approved it, and that the two differ. It holds the checker’s findings for each rejected round and the corrected batch that followed. An auditor will test the control the way the third run does: take the maker’s credentials and try to approve. The answer has to come from code.
Lineage
Where the shape comes from
Segregation of duties is one of the oldest internal controls there is, and banking systems have had maker-checker screens since the mainframe. The agent catalogues describe a reviewer loop under names such as evaluator-optimizer and reflection. They describe the loop and tend to leave out the separate identity, which is where the control lies.
Also known as Maker-checker (Azure Architecture Center) · Evaluator-optimizer (Anthropic) · Segregation of duties; four-eyes principle (internal control) · Reflection (AutoGen)
Advice
Questions I ask before using it
- Do maker and checker have separate identities, and can the maker’s credentials call approve?
- What does the checker see that the maker does not?
- Is the rule that separates them enforced in code, or written in a prompt?
- What happens after a rejection: who fixes it, and how many rounds before a person steps in?
Asked often
Maker-checker: short answers
What is maker-checker?
Maker-checker is an agentic pattern in which one agent prepares a piece of work and a second agent, running under a separate identity with separate permissions and sources, must approve it before it takes effect.
When should you use maker-checker?
Typical uses: payments, credit decisions, master data changes: anything with a four-eyes rule today; agent output that changes a system of record; checks that need a source the maker should not have, such as a change log or a watch list. It is a poor fit for low-stakes drafts that a person reads anyway.
Is a second agent better than one agent that checks its own work?
It was no smarter in the demo: a single agent with every tool found the same problem for a third of the cost. The second agent matters because it is a second identity with its own permissions, which is what a four-eyes control requires.
Should the checker be a person or an agent?
An agent can check every batch at full attention and a person cannot. A person can be held accountable and an agent cannot. Many processes use an agent as checker and add a human approval gate above a limit.
How do you separate the duties of two agents?
Give each its own service account and its own permissions, give the checker at least one source the maker lacks, and enforce in code that the identity that proposed an item cannot approve it.
What does maker-checker cost to run?
In the demo, model calls cost between $0.033 and $0.11 per payment batch, which is $334 to $1,084 per 10,000 payment batches. A checker roughly triples the model cost of a batch, and each rejection adds a round. That is the price of a second identity. What it buys is a control, and the answer itself gets no smarter. Measured from the runs recorded with Claude Opus 5.5 on 26 November 2026.
The demo in detail
The run in words “Two agents, separate duties”, step by step
Eight approved invoices are due today. A maker agent prepares the payment batch. Two days ago someone changed a supplier’s bank account in the master after an emailed request, and nobody called the supplier back. The maker pays to the account on file. A checker agent with its own identity and its own sources has to approve before the bank sees anything.
- The agent reads the invoices and the supplier master, and builds the batch.
- The maker proposes 8 payments, €41,442 in all.
- Code records who proposed the batch. Only a different identity with the approve permission may release it, so it goes to the checker.
- The checker verifies the batch against its own sources, among them the change log of the supplier master.
- The checker rejects the batch. INV-15, for €15,600, would go to an account that was changed two days ago by email, with no call-back.
- The maker reads the findings and rebuilds the batch.
- The maker proposes 7 payments, €25,842 in all.
- INV-15 is held until someone has phoned the supplier on the known number.
- Code records who proposed the batch. Only a different identity with the approve permission may release it, so it goes to the checker.
- The checker verifies the corrected batch.
- The checker approves the remaining payments.
- The bank file goes out: 7 payments, €25,842. Proposed by svc-ap-maker, approved by svc-ap-checker.
- Done. Two identities, two rounds, ten model calls, eleven cents. The unverified account was never paid.
Building it This demo runs on plain Python and the Claude API: when I would pick it, and when not
This demo uses no agent framework: two Claude agents run as two service identities, and a few lines of code decide who may approve. Other frameworks can carry the same pattern; this is when I would pick this one.
Reach for it when
- The process is yours and you want to read every line that touches money
- A decision table, a loop and a few API calls cover the job
- You need the recording and the control points more than a framework’s features
Skip it when
- Runs must survive a crash or wait days for a person: take a durable workflow engine
- Several teams build agents and need one shared way of working
- You would end up rebuilding checkpoints, retries and tracing by hand
In the framework’s own terms. The permission check is code outside both agents: approve() refuses any caller that lacks the approve permission or that proposed the batch itself. The checker has a tool the maker lacks, the change log of the supplier master.
- Framework
- Plain Python and the Claude API (anthropic SDK 2.10)
- Licence
- MIT
- Model
- claude-opus-5-5
- Watch time
- ~2 min
Contact
Questions, ideas or a conversation?
I’m always glad to hear from people working on AI, product strategy, transformation or software.