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

Shared IAM Roles Erase the Agent: Attribution Needs a Principal per Decision
A shared IAM role collapses cost and incident attribution across every agent that uses it. Identity granularity is a forensics requirement, not admin convenience.

A Shopping Agent's Refund Path Is a State Machine, Not a Checkout Extension
Purchase flows are single-direction and well-instrumented; reversal flows are multi-party, asynchronous and rarely modelled. Agent commerce fails at the unwind.

Sandboxes Are a Placement Decision: Reading Nitro and Artemis as Harness Choices
Where tools execute is a latency, egress and evidence decision. Nitro and Artemis-style test agents both choose a harness boundary, not a model.

Governed Access Is a Delegation Contract: What Google's Workspace Rule Actually Requires
Governed access decides how an agent authenticates, not whose rights it exercises. The harder requirement is a per-hop delegation contract, recorded and enforced.

An Agent's Decision History Is an Index, Not a Log: Retention Before Recall
Agents repeat costly mistakes because decision history is stored as append-only text, not as a versioned index they can query at decision time.

Distributed Training Across Metros Makes the Data Pipeline the Long Pole
Streaming synchronisation lets training span data centres, but it moves the bottleneck to ingestion: sequence numbers, replay windows and checkpoint offsets become the contract.

Agent Report Attribution: Build the Provenance Chain Before the Incident
Most agent stacks log model outputs and tool calls separately, so a downstream action can never be joined back to the run that caused it. The fix is a provenance chain designed before deployment.

Containment Without a Decision Log Is Just a Kill Switch
OS-level containment stops an action but cannot explain it. Without a structured decision record bound to policy and trace, incident review becomes guesswork.

Inside-Out Monitoring Is an Instrumentation Claim, Not a Containment Claim
Internal-state monitors shorten detection latency but cannot replace an enforcement point at the tool boundary. Treating them as containment under-invests in the controls that stop actions.