Learn Harness Engineering from scratch!
This repo is a full learning path around harness engineering, with 14 lectures, 8 projects, reusable templates, and hands-on exercises.
The course focuses on the environment around coding agents and how that environment affects whether an agent can reliably work inside a real repository across longer tasks and multiple sessions.
It starts with the fundamentals of harness engineering and gradually gets into things like repository structure, persistent state, task boundaries, verification, observability, session handoffs, automated loops, and graph engineering.
A harness in this context has five core parts:
- Instructions that tell the agent how to work inside the repo
- State that persists progress across sessions
- Verification through tests, linting, type checks, and full-pipeline runs
- Scope controls that keep the agent focused on one task at a time
- Session lifecycle so every run starts and ends in a usable state
The projects are also connected rather than being isolated examples. You keep working on the same Electron-based knowledge app while gradually improving the harness around it.
You start by comparing prompt-only vs. rules-first agents, then build multi-session continuity, runtime feedback, verification, a complete harness, automated maker-checker loops, and eventually represent the workflow as a graph with parallel execution, rollback, and human approval.
What I like is that you can actually take parts of the repo and use them directly in your own projects.
There are templates for things like "AGENTS. md", "init. sh", feature lists, progress tracking, loop state, maker-checker prompts, and a "harness-creator" skill that can scaffold the basic harness structure for an existing project.
The repo also covers the progression from a single agent loop to graph engineering, including when you actually need nodes, shared state, routing, parallelism, and recovery instead of forcing everything into one loop.
A solid resource if you're working with coding agents and want to understand the engineering around making them reliable over longer tasks.
100% open source
显示更多