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

Evaluating Agents on Trajectories, Not Answers: A Benchmark Design Note
Benchmarks that score only final outputs reward agents that reach correct answers through unsafe or unreproducible paths. Trajectory-aware grading fixes this.

The Chief-of-Staff Pattern: When to Orchestrate Agents and When to Just Write a Script
Multi-agent orchestration pays off only when subtasks need different context, different tools, or independent verification. Otherwise it is a slower function call.

Memory Is a Write-Policy Problem: Retention, Provenance and the Cost of Remembering
Most agent memory failures originate at write time, not retrieval. Provenance, sensitivity classes and schema-level expiry fix them earlier and cheaper.

Authority Budgets: The Missing Control Surface Between an Agent and Its Tools
Prompt constraints are advisory. Real safety comes from treating each capability as a spendable authority budget: scope, quota, expiry, and attestation.

Agent Credentials Are a Policy Problem, Not a Prompt Problem
Credentials without scoped authority turn every prompt injection into privilege escalation. Design the capability grant, not the instruction text.