Papers that changed how I build agents
Each of these changed a decision in the agent platform I build, and the note says what changed.
Persist an agent's knowledge as an append-only event log rather than conversation state.
This paper landed on the same design I'd already bet on. Our fact store is event-sourced, every fact records its source, and we can replay a case from the log. When an agent keeps re-deriving what it already knew, the fix is to store that state outside the model.
Automate SOPs by giving the agent a global repository of actions and procedures it retrieves from, rather than inlining everything.
Medical billing is SOPs all the way down: appeals have playbooks, payers have procedures. The registry pattern here is close to our context engine, and it confirmed the main lesson of that rewrite: adding a capability should mean adding a file the agent can read.
arXiv 2501.11613
Structure prompts as named, ordered routines with explicit steps instead of prose instructions.
A lot of prompt engineering is ordinary software engineering. Naming and ordering routines is modularization, and this paper applies it inside the prompt. We went further and moved the routines out of the prompt entirely.
Anthropic engineering
Practical eval methodology for agents: score whole trajectories, use pass^k, start from real failures rather than generic benchmarks.
This is the most useful writing on evals I've found, because it starts where most teams are, with a pile of anecdotes and no harness. Our regression suite grew the same way, from production failures, so a prompt change that breaks last month's cases fails loudly.