Lesson 15.01 · Phase 15 · Capstone: Your Own Agent Harness
Why build a harness
The model decides what to do. The harness decides what's allowed to happen, what the model gets to see, and whether "done" is true.
Learning objectives
- Explain what an agent harness is, and how it differs from the agent loop and from the model.
- Run a bare agent loop against seven ordinary situations and name the failure in each.
- Map each failure to the harness part that handles it: registry, context manager, MCP client, subagents, permissions, evals, verification.
- Describe the plan for this phase: one harness, built lesson by lesson, shipped as a CLI.
By now you've written an agent loop many times. It's twenty lines: call the model, run the tools it asks for, append the results, repeat. It works in a demo.
Loading the full lesson…