Notes from building agent systems
Evaluation harnesses, orchestration patterns, memory design and the failures behind them — written up while the details are still fresh.
Lifelong Agents Need a Retention Policy, Not a Bigger Memory Store
Frameworks that let agents accumulate experience for months are proposing a data-retention problem. A vector store answers none of it: what is kept, for how long, under whose consent, and how deletion is proven.
Evaluation Harnesses Are Attack Surfaces: The Grader Needs Its Own Threat Model
An agent evaluation harness reads model output, tool traces and retrieved documents — all attacker-influenced. The grader must be specified as an untrusted-input consumer.
A Ban Is a Published Refusal: What Agent Counterparties Must Record Before the Block
Blocking agents is an interface change with no changelog. The useful artefact is the refusal record: a machine-readable statement of what is rejected, why, and on what evidence.
Retirement Is a Protocol: The Credential Lifecycle an Agent Leaves Behind
An agent that stops running still holds keys, tokens and delegated scopes. Decommissioning must be a scheduled protocol with proof of withdrawal, not a cleanup task.
Agents That Build Their Own Test Environment Are Shipping a Fixture, Not a Proof
When an agent generates the emulator it is graded against, environment fidelity becomes an untested dependency. The harness must grade the fixture first.
The Grader Is Inside the Attack Surface: Hardening Evaluation Harnesses Against Injection
An LLM judge that reads agent output is a downstream consumer of untrusted text. Evaluation harnesses need the same isolation and provenance rules as production executors.
A Booking Ban Is an Unwritten Tool Schema: What Airlines Owe Agent Counterparties
Blocking agent traffic without publishing a machine-readable counterparty policy pushes the integration burden onto every client and guarantees a less auditable workaround.
The Vault Is a Scope Declaration: What an Agent's Balance Must Record Before It Spends
A funded vault answers whether an agent can pay. It does not answer whether it may pay this counterparty, for this purpose, under these constraints. The scope declaration does.
A Vault for an Agent Is a Mandate Question, Not a Wallet Question
Funding an agent is the easy part. The hard problem is the bounded mandate: what the agent may buy, from whom, how often, and when the authority expires.