Notes from building agent systems
Evaluation harnesses, orchestration patterns, memory design and the failures behind them — written up while the details are still fresh.

Open-Weight Economics: What Changes When Inference Is a Line Item You Own
Falling per-token costs move the agent bottleneck from model choice to orchestration quality and hardware utilisation.

Trajectory-Level Cost Controls: Budgeting Agent Runs Before They Bite
Per-call token accounting hides the real cost driver in agent systems: multi-step loops. Budgets belong on the run, enforced outside the model.

Institutional Memory: What an Agent Should Remember and What It Must Forget
Persistent agent memory is only useful with provenance and expiry; unbounded recall turns a context store into a liability with no audit trail.

Agent Identity Is an Infrastructure Primitive, Not a Login
Autonomous agents need delegated, revocable machine identities with their own keys, scopes and audit trails — not borrowed user sessions.

Provable Control: Moving Governance From Dashboards to Enforced Invariants
Observability records what an agent did. Governance requires constraints that make certain actions impossible regardless of what the model decides.

Small Models at the Edge: Deciding What Leaves the Device
On-device inference is a data-egress decision as much as a latency decision. Draw the local/remote boundary by data class, not by model confidence.

Agent Failure Taxonomy: Naming the Ways Multi-Step Systems Break
A shared vocabulary for agent failure modes turns incident reviews from anecdote into countable, regression-testable signals across model, tool, orchestration and data layers.

Coding Agents Need a Sandbox Contract, Not a Warning Label
An autonomous coding agent's blast radius is defined by its sandbox and network egress rules. Specify that contract before you specify the agent.

Unit Economics of an Agent Run: Cost Accounting for Multi-Step Systems
Token pricing hides where agent spend actually goes. Cost per successful task, instrumented by role and tool call, is the number teams can act on.