Policy vs. Mechanism

Separating high-level semantic planning (agent) from low-level execution (interface).

You get into a taxi and say, "Airport, terminal 2, and avoid the bridge, it's jammed." You don't tell the driver when to shift gears, how hard to brake, or which lane to hold on the ramp. You decide where to go and what to avoid. The driver handles the hundred small moves that get you there. If you had to call out every gear change, you'd arrive late, and probably shaken.

Operating-systems designers formalized this split in the 1970s. The usual citation is the Hydra kernel at Carnegie Mellon. Policy is the decision about what should happen: which process runs next, who may read a file. Mechanism is the machinery that carries out any such decision: the context switch, the permission check. Keep them apart, and you can change the policy without rewriting the machinery. For agents, the Guide draws the same line. The agent owns policy: what to change, in what order, and why. The interface owns mechanism: retries, pagination, transactions, auth, checksums and formatting.

In practice

An agent needs to move 12,000 contacts from one mailing list to another. With mechanism left to the agent, the tools look like this:

get_contacts(list, cursor)  → 100 contacts + next cursor
add_contact(list, contact)  → one contact; may return 429 Too Many Requests

The agent now runs a pagination loop, tracks cursors, backs off on rate limits and keeps count of what it already moved. None of that requires judgment, and all of it can go wrong. Here is the same job with the split respected:

move_contacts(from="newsletter", to="customers", filter="opted_in", dry_run=true)
→ { "would_move": 11874, "skipped_not_opted_in": 126, "job": "job_31" }

The agent still makes every real decision: which lists, which filter, whether to commit after reading the dry run. The tool does the looping, the rate limits and the bookkeeping.

Why it matters

When an agent does mechanism, it spends turns and context on loops a for-statement does perfectly, and any slip (a lost cursor, a skipped retry) leaves the job half done. The opposite mistake is just as real. A tool that quietly picks policy, such as auto-merging duplicates or choosing which records to drop, takes decisions away from the agent and the human supervising it.

What to do about it

H-08 Compositional Accelerators moves mechanism to the computer's side of the boundary, where batching and computation are cheap and exact. H-10 Poka-Yoke Boundaries keeps the mechanism honest, by validating every policy choice before execution. H-12 Cheap Speculation & Declared Blast Radius gives the agent a dry run, so it can check its policy before the mechanism commits it.

esc

Try “tokens”, “errors”, “stale”, “handoff” or “blast radius”.