Module 12 of 15
Harness engineering
- Advanced
- 7 lessons
- 4 h 5 min
Chapter 12 · The Support Desk
Vihaan is still the same agent: he does exactly what the instruction says. This time you do not change him. You build the setup around him, with a checklist, a progress log, a permission list and an alert on refunds, so that when he errs, the setup catches it and learns.
What you will be able to do
- Define an agent harness and explain why the environment around the model, not the prompt, is the unit of improvement.
- Classify an agent failure by layer (context, constraint, verification, planning) and change the right layer.
- Design the loop, tools, context handling, enforcement and orchestration around a model, and prove that a change helped.
Lessons
The agent loop and tool designCompleted
Read first: What is an agent harness?, Function and tool calling
Context and long-running agentsCompleted
Read first: The agent loop and tool design, Context engineering and memory
Harness engineering: interview drillsCompleted
Read first: Evaluating and operating a harness
End of chapter 12 · The Support Desk
Vihaan stopped retrying the same empty lookup, and for once "Right away" came after the question, not before it.