Harness
Everything around the card: reader, token vault, blocklist, transaction logs.
- Few tools, but well defined
- Least-privilege permissions
- Saved state, easy to resume
- Easy to pause and audit
Choose your lens
For an agent to work in the real world, three layers must be designed well: environment, feedback, flow. Think of open payment on a transit network. The bank card is the model. The rest is everything around it.
The model is the AI itself: a system trained on huge amounts of text that reads what you give it and writes a response. It is the brain of the agent, not the whole agent.
The model is the bank card: it carries a real capability (it can pay), but it cannot open a gate, compute a fare or handle a refusal on its own. It needs the validator and back-office around it, the authorization cycle to decide, and the fare journey to tie it all together. The three layers turn a card into a working transit payment.
Each one answers a different engineering question. They are not synonyms.
Everything around the card: reader, token vault, blocklist, transaction logs.
Tap, authorize, decide, retry within limits.
Linked steps: tap-in, transfer, tap-out, daily cap, bank settlement.
Diagnose first. Blaming the model is rarely the answer.
| The symptom | Start with |
|---|---|
| No safe access to the right tool or data | Harness |
| Forgets progress between sessions | Harness |
| First attempt is close but unreliable | Loopadd an external check |
| Keeps going after success, or stops without proof | Loopevidence-based stop rule |
| Several specialists must run in a set order | Graph |
| Workflow changes too often for a fixed diagram | Keep it simpledelay the graph |
Five ways teams waste money on agent architecture.
The three layers do not replace each other. A beautiful graph with weak memory is useless. A great harness without a stop rule burns money. Good loops become unmanageable when branching and approvals are hacked together. Reliable agents come from designing all three together.