Skip to content

Hands-On Harness Engineering

AI coding agents are capable. The problem is making them reliable. This course teaches you how — by building a complete harness around a real Node.js CLI, module by module, from scratch.

No theory without practice. Every concept ships as working code.

Start building

Course modules

12 modules, each one shipping working code:

What you will build

By the end of Module 11, you have a working harness that:

  • Constrains agent behavior with explicit, version-controlled rules — no guesswork.
  • Maintains context across long-running, multi-session tasks without losing state.
  • Stops the agent from declaring victory before the work is actually done.
  • Verifies every change through a full-pipeline test suite before handoff.
  • Makes runtime observable — logs, progress files, and rollback paths built in.

The core mechanism

A harness doesn't make the model smarter. It builds a closed-loop working system around it:

Reference material

For engineers who want the theory behind what the course builds: