All articles

Agents and MCPThe agent-native ledger, Part 3

Human approval for AI agents: the approval dial

Published 10 min read

The short answer

Human approval for an AI agent holds when the server decides. In TILL each kind of write the dial governs, such as posting, paying or marking a VAT period as filed, is set to ask or auto. At ask, the call becomes a proposal a person approves or rejects. Only a person can set auto, and every agent call and every decision on it lands in a trace.

Sources and code as of 05.11.2026. Every output below comes from running TILL on an invented company, in memory, not on real books. This article explains a design; it does not say what any law requires.

What does human in the loop mean for an AI agent that writes?

Human in the loop, for an agent that writes, means a person decides before the write takes effect, not after. The agent proposes, and the books change only when a person says yes. The Model Context Protocol recommends this too: there should always be a human who can deny a tool call. It leaves the how open, because the protocol prescribes no user interface.

Most guides answer the how in the client: a confirmation per tool, often with a box that stops asking from then on. That puts the rule where the agent runs. A different client, a script or a wrong setting skips it, and the server never learns who ticked the box. In accounting the rule belongs on the server, next to the ledger, where every client has to pass it. This post shows one such rule running, TILL’s approval dial, with the answers it really gives.

What states does an approval dial have?

An approval dial has two settings per kind of act, ask and auto. A call from an agent can still end in seven ways, because three more things count: the agent’s role, who made a grant, and whether the dial governs the act at all:

SituationWhat happensWhat the agent gets back
A readRuns. Reads never ask, but each one is recorded.The data
A write the agent’s role may not doRefused before anything is writtenpermission_denied
A write outside the governed kinds (a draft, a task, a contact edit)Runs without asking, recordedThe result, ungoverned in the trace
A governed write, dial at ask (the default)Stored as a proposal. Nothing reaches the books.drafted: true, reason: dial_ask
Marking a VAT period as filed or installing a plugin, with no grant for exactly thatAlways a proposal (a strong default)drafted: true, reason: force_ask
A governed write, dial at auto, set by a personRuns, and the trace records whyThe result, dial_auto in the trace
A governed write whose stored auto no person signedTreated as ask: the dial fails closeddrafted: true, reason: dial_ask

The dial can only make a write stricter. It never lets the agent do what its role does not allow, and the engine’s own checks (debits equal credits, an open period, valid accounts) run at execution whatever the dial says. The kinds of act are a closed list in the code: posting, issuing invoices, sending, dunning, paying, marking a VAT period as filed, customizing, installing plugins, closing periods, going live after a migration, deleting for good, sharing data and moving stock. A kind nobody has set counts as ask.

In one sentence: By default, your agent waits for your OK before it books anything, moves your money, grants access or deletes your data for good. The dial covers agents that connect to TILL. An agent that can drive your browser or run commands on your computer can act as you: give your agent TILL, not your browser or your shell.

What does the agent see when its write becomes a proposal?

The agent sees an ordinary success that says nothing was booked. In the example, an agent connected over MCP books CHF 86.50 for printer paper and toner at the invented Atelier Seldwyla GmbH. The dial is on its default:

{
  "ok": true,
  "drafted": true,
  "actionId": "agent_action_1",
  "status": "pending",
  "dialCapability": "post",
  "reason": "dial_ask",
  "replayed": false,
  "approveAt": { "where": "studio", "path": "/agent", "alsoPath": "/attention", … }
}
The answer to post_entry at ask, shortened: approveAt also carries a sentence for the agent on where a person approves. After this call the journal holds no entry.

The answer tells the agent where a person decides: in the Studio under Agent, Proposals, and in Pendenzen, TILL’s to-do list. The agent can pass that on to its user instead of retrying or reporting the booking as done. Part 1 of this series follows the same call through the ledger’s checks: MCP meets the ledger. Part 2 explains why the key makes a retry safe: Idempotency keys for AI agents and MCP tools.

Can an AI agent approve its own proposal or raise its own level?

No. In TILL the server checks who is calling, not what the call says. Here the same agent tries three ways around the dial: setting posting to auto, approving its own proposal, and switching on a bank rule that books by itself:

set_agent_dial { capability: "post", level: "auto" }
→ { "ok": false, "error": "permission_denied", "capability": "manage_agent_dial" }

approve_drafted_action { actionId: "agent_action_1" }
→ { "ok": false, "error": "permission_denied", "capability": "manage_agent_dial" }

grant_rule_autobook { standardId: "…" }
→ { "ok": false, "error": "human_only",
    "reason": "only a person switches a rule to book on its own; an agent can neither do it nor propose it" }
Three refusals from the example. The first two answers also carry role: null and the approveAt pointer, left out here.

The first two fail at the permission layer. The right to change the dial and to decide proposals (manage_agent_dial) is denied to every agent seat before any role is read, so even an agent registered as owner never holds it. An agent seat is the local agent, a plugin acting on its own, or an agent member of a workspace in served mode. Behind that sits a second line in the engine: setting the dial refuses an agent with cannot_self_grant, approving refuses it with cannot_self_approve. And a person cannot approve a proposal they drafted themselves either.

The rule also covers grants that arrive some other way. Auto counts only when a person signed it: a row without a name, or one an agent wrote, reads as ask. And the autopilot settings (when a rule may book by itself, and up to which amount) are changed by a person only. The agent can neither change them nor propose a change.

What exactly does the person approve?

The person approves the stored call, and it then runs under the person’s own rights. TILL replays it as the approver, checks the approver’s permission again and keeps the agent’s idempotency key. In the example, the agent later sent its first booking again with the same key and got back the entry the approval had created (entry_1), not a new one.

What you approved is also what runs. A proposal names records, and records can change while the proposal waits. A critic round measured this on TILL: an agent proposed issuing an invoice draft of CHF 1’000, then changed the draft to CHF 99’999 through an edit that needs no approval, and the approval issued CHF 99’999. Since then a proposal stores a fingerprint of the content the act will use. That includes what an edit without approval could change: a draft’s lines, a contact’s address, a tax rate. If it differs at approval, nothing runs, the proposal is voided, and the answer is vorschlag_stale. The agent has to propose again, and the person sees the new figures.

How do you see who approved what?

Every call from an agent seat lands in a trace. It is written at the one point both MCP and REST pass through, so no verb can be missing. Each row holds the verb, the arguments, the decision with its reason and, for a proposal, who resolved it and when. The trace of the example, in order:

CallModeReasonOutcomeResolved by
post_entrydraftdial_askokstudio (a person)
set_agent_dialexecuteungovernedrefused: permission_denied
approve_drafted_actionexecuteungovernedrefused: permission_denied
grant_rule_autobookexecuteungovernedrefused: human_only
post_entryexecutedial_autook
post_entryexecutedial_autook (the repeat, entry_1)

ungoverned means the dial does not govern that verb; the permission check refused it. A refusal is a row like any other, so an agent that keeps trying shows up. A person who rejects a proposal can add a reason of up to 500 characters. It sits next to the agent’s call, and the next session reads it. In the example it said "Bewirtung auf 6640, nicht 6500" (hospitality goes on 6640, not 6500). The trace is a working record, pruned after 24 months. The permanent record stays TILL’s hash-chained audit log, which the trace never writes to.

How do you avoid approval fatigue?

Approval fatigue starts when a person is asked about everything: after the fiftieth yes, the yes is a reflex, and a reflex is not a review. TILL’s design rules ban blanket confirmation for that reason. The first lever is the boundary: only acts with consequences ask (the books and money, statutory records, data leaving TILL, access and third-party code, deletion for good). Creating a draft, a task or a note, or editing a contact, runs without asking.

The second lever is a grant per kind of act, earned from evidence. For each kind, TILL counts how many proposals were made, approved and rejected in the last 90 days, and how many writes ran on auto. After 20 approvals with no rejection, it offers the grant once; dismiss the offer and it does not come back in that browser. The grant itself is one act, "Approve and allow in future" on a proposal, and it writes one signed row:

approve_drafted_action { actionId: "agent_action_1", allowFuture: true }
→ { "ok": true, "actionId": "agent_action_1", "status": "executed", "result": { … },
    "granted": { "capability": "post", "level": "auto" } }

get_agent_dial, row post
→ { "stored": "auto", "effective": "auto", "strongDefault": false,
    "updatedBy": "studio", "updatedAt": "2026-11-16T09:00:00.000Z" }
The grant from the example, made by a person (studio). The way back is setting the level to ask again. The agent’s next booking was a proposal once more.

The third lever is approving several bank proposals at once, and it is narrow on purpose: only decisions on bank lines can be selected and approved together, and each one still runs as a single approval with all its checks. How it works is a setting: tick a selection (the default), one by one, or one button for all after a confirmation that shows the count and the total.

What is earned autonomy for a booking rule?

Earned autonomy narrows a grant from a kind of act to a single rule. A grant for posting covers every booking. Most of the repetition, though, comes from the bank: the same rent, the same phone bill, the same card fee every month. With TILL’s autopilot, one bank booking rule books its own lines once it has earned it, and only within limits a person sets:

  • TILL offers it after you booked the rule’s proposal unchanged 10 times since its last edit or pause (a setting, 3 to 100), with at least one of those bookings confirmed by a person.
  • Only a person switches it on. An agent can neither do it nor propose it.
  • The amount ceiling is fixed when you switch it on: by default 150 % of the largest booking a person confirmed, in that booking’s currency. A larger line, or one in another currency, stays a proposal.
  • By default the rule books only lines imported after the switch, only in an open period, and only when no stronger match stands on the line (an existing entry, a payment reference, a transfer between your own accounts).
  • Undoing one of its bookings pauses the rule, and by default so does booking its proposal differently. Editing the rule ends the grant. A line someone reopened is never booked automatically again.
  • Every automatic booking appears in a daily digest, names the rule that made it, and is undone with one act.

This keeps the person in charge without wearing them out: the repeated yes goes away where lines have proved they need no thought, and anything unusual still lands in front of a person. The same idea covers recurring entries. A schedule proposes each due booking by default; only a person can let it post directly.

A checklist for human approval of AI agent writes

These rules hold for any agent that writes to a system of record, whatever software it runs on:

  1. Enforce the decision on the server, not in the agent’s client.
  2. Decide per kind of act, by its consequences. Reads never ask.
  3. Start at ask. The few riskiest kinds need a separate, explicit grant.
  4. Check who is calling: an agent seat can never approve, grant or widen its own reach, not even by proposing it.
  5. Sign every grant (who, when) and treat an unsigned one as ask.
  6. Replay what was approved under the approver’s rights, with the same idempotency key.
  7. Pin the content: if the record changed since the proposal, refuse and have it proposed again.
  8. Record every call, with the decision, its reason and who approved or rejected it.
  9. Let a rejection carry a reason the agent reads next time.
  10. Let autonomy grow from evidence, narrowly and with an amount ceiling, and pause it at the first undo.
  11. Keep the way back to one act: revoke the grant, reverse the booking.

What does the approval dial not solve?

An approval dial puts a decision in a person’s hands. It does not make the decision a good one, and it does not reach past its own door:

  • It covers agents that connect to TILL, as said above, and nothing else on your computer.
  • The HTTP door of till serve checks the Host and Origin headers against DNS rebinding. That is not authentication: keep it on localhost.
  • A person who approves without reading still approves. The fingerprint stops a record from changing under the proposal. Whether the proposal was right, it does not check.
  • Writes outside the governed kinds run without asking, by design: drafts, tasks, notes and contact edits. A changed email address on a contact, for example, applies at once.
  • TILL is a public beta. The code is public under the MIT licence.

What TILL protects and what it does not is on the security page. What an agent can do in TILL is on the agents page.

Questions people ask

Can an AI agent approve its own actions in TILL?

No. The right to approve proposals and to change the dial is denied to every agent seat before its role is even read, so over MCP the agent gets permission_denied. Inside the engine a second check refuses it again, and a person cannot approve a proposal they drafted themselves either.

What is the difference between ask and auto?

At ask, the default, a governed write of the agent is stored as a proposal, and nothing reaches the books until a person approves it. At auto, the write runs directly and the trace records it. Auto only counts when a person set it. Marking a VAT period as filed and installing plugins stay at ask until a person grants exactly that kind.

How do I take a grant back?

Set the level back to ask, in the Studio or with set_agent_dial. The change is one row, signed by you (who and when), and the agent’s next write becomes a proposal again. Bookings that already ran stay in the books; you correct one with a reversing entry.

Does MCP require human approval for tool calls?

The MCP specification says there should always be a human who can deny a tool call, and that clients should ask for confirmation on sensitive operations. That is a recommendation, and it leaves the interface to the application. A server that keeps books is therefore better off enforcing approval itself than relying on every client.

Can a bank rule in TILL book without asking?

Yes, once a person switches it on after the rule has earned it: by default 10 unchanged bookings, at least one of them confirmed by a person. It then books only new lines within an amount ceiling fixed at that moment, and it pauses as soon as one of its bookings is undone. Every automatic booking appears in a daily digest.