The agent systems fieldbook

Study the machinery around models.

Learn harnesses, memory, authority, recovery, and verification—then compare how real systems arrange them. Start with the complete guide or follow the question you are building around.

40 chapters · 12 labs · 1 capstone

System trace

The work around a model

  1. AdmitDecide whether this work may enter the system and under which authority.
  2. ContextCompile the relevant task, user, environment, and prior state into usable context.
  3. CapabilitiesBind the tools, permissions, and boundaries that make particular actions possible.
  4. ExecuteRun the selected model and harness procedure against the available capabilities.
  5. StateCommit the durable state needed to understand what was attempted and what remains open.
  6. EffectAttempt the intended change in the external world, which may succeed, fail, or remain ambiguous.
  7. ReconcileCompare the attempted effect with the system record and resolve any disagreement.
  8. EvidenceCollect inspectable evidence for what occurred, rather than treating the model response as proof.
  9. VerifyCheck whether the observed effect meets the stated conditions for success.
  10. Accept or re-enterConsciously close the work when it is accepted, or return it to the system with the new evidence.

Start here

Three ways into the field

Read chronologically, compare real systems, or move between concepts as your own architecture takes shape.

What this guide teaches

The model is one component. The system does the work.

A useful agent needs more than a prompt and a tool call. It needs a harness that can assemble the right context, bind the right capabilities, preserve enough state to recover, handle ambiguous effects, and distinguish execution from verified completion. The guide builds that understanding one responsibility at a time.

The complete syllabus

The curriculum behind the guide

Start with the complete short guide, then use this map to go deeper. It comes from a forty-chapter working manuscript built from agent runtimes, coding agents, workflow systems, memory systems, evaluation research, and failure reports. Detailed chapters will be released as they are edited for the web.

Part I — Foundations

5 chapters

Define the harness boundary, learn the H0→H9 progression, and diagnose recurring failure classes.

  1. The Model Is Not the Agent
  2. The H0→H9 Progression
  3. Twelve Recurring Failure Classes
  4. Four Surface Classes
  5. Developer and Product-Runtime Harnesses

Part II — Runtime mechanisms

6 chapters

Study how context, tools, environments, durable state, control structures, and memory work together.

  1. Instructions and Context Assembly
  2. Tools, Capability Manifests, and Binding
  3. Environments, Sandboxes, and Custody
  4. State, Journals, Checkpoints, and Replay
  5. Loops, Workflows, Graphs, and Delegation
  6. Memory, Compaction, and Continuity

Part III — Reliable action

5 chapters

Move from possible actions to authorized, bounded, recoverable effects in the world.

  1. Identity, Authority, and Admission
  2. Leases, Fencing, Cancellation, and Budgets
  3. External Effects and Transactional Outboxes
  4. Ambiguity, Idempotency, and Recovery
  5. Security, Credentials, Supply Chain, and Revocation

Part IV — Evidence and completion

4 chapters

Separate execution from proof, verification, acceptance, closure, and re-entry.

  1. Observability and Trace Reconstruction
  2. Maker/Checker Separation
  3. Evidence, Verification, Policy, Acceptance, and Closure
  4. Open Loops and Re-entry

Part V — Comparative cases

12 chapters

Compare real systems by the responsibilities they own, exclude, and verify—not by a universal leaderboard.

  1. Anthropic long-running harnesses Coming next
  2. Cursor Coming next
  3. LangGraph Coming next
  4. Hermes Coming next
  5. QM Coming next
  6. Cloudflare Think and Agents Coming next
  7. DeepSeek Harness and Cordis Coming next
  8. Drover Coming next
  9. Spotify Xirp and Portal Coming next
  10. Factory Missions versus GitHub Copilot Coming next
  11. Devin, Greptile, CodeRabbit, and Qodo Coming next
  12. A bounded whole-product case study Coming next

Part VI — Evaluation and evolution

4 chapters

Evaluate model-and-harness configurations, inject failure, and improve the system without letting it edit its judge.

  1. Model × harness evaluation Coming next
  2. Conformance and trajectory evaluation Coming next
  3. Failure injection and recovery evaluation Coming next
  4. Harness learning, promotion, and retirement Coming next

Part VII — Course and practice

4 chapters

Turn the concepts into labs, a capstone system, review rituals, and a maintainable learning resource.

  1. Twelve labs Coming next
  2. Capstone Coming next
  3. Review questions and design worksheet Coming next
  4. Keeping the guide current Coming next

Companion guide

Memory Engineering: a practical companion guide

Design agent memory as a governed lifecycle: what a record means, where it came from, when it may influence work, how it is corrected, and when it is removed.

Read the Memory guide

Public working edition · Read the short course now; detailed chapters follow