Skip to content

Learn Harness Engineering with OpenHands

Agent = Model + Harness. A hands-on course for the system around the model: routing, tools, memory, safety, critics, traces, metrics, and workflow design.

Diagram showing coding models connected through a harness to course modules
Agent=Model+HarnessThe system around the model decides agent performance
HARNESS CONSOLE · live preview
Bare Model01 / 08
reasonactobserveTASKpromptROUTERchoose modelMEMORYartifactsCRITICverifyMODELreasonRESULTanswer / diffTOOLSshellfilestestSAFETY · sandbox · policy · budget
TELEMETRY

Prompt in, text out.

  1. 00:00userwhy is test_users.py failing?
  2. 00:01modellikely a fixture issue (unverified)
EVIDENCE
DURABILITY
CONTAINMENT
VERIFICATION

Agent = Model + Harness · the course in one visual

One task. Eight versions of the agent around the same model. Scroll the harness into view.

Open the Visual Intro

A Friendly Start To The Harness Engineering Exercises

This site is the guide: what to watch first, what to read, which files to open, and how the pieces connect. The deeper richer exercises live in the GitHub repo.

Harness engineering is the work around the model. The model writes code. The harness decides what the model sees, which tools it can use, what it remembers, what it can break, how work is verified, which model gets called, and when the loop stops. See the harness engineering experiments repo and the blog post for the deeper argument behind this course.

Understand The Thesis

Start with the harness engineering framing, the Visual Intro, the talk, and the experiments that show why harness design matters as much as model capability.

Read the concepts

Build The Harness

Work through P01 to P11. Each project changes one harness lever and asks you to inspect the trace before keeping the policy.

Open the projects

Copy The Artifacts

Use the library for trace checklists, routing policies, safety profiles, critic rubrics, and result tables you can adapt to your own repos.

Open the library

What Makes This Course Different?

This is not a general prompt engineering course. It is not about copying and pasting the latest skill. It is designed to help you understand the core principles behind modern coding agents and harnesses. The examples are built so you can see the effect of each choice, which is more useful than only reading about it.

You use:

  • Agent Server as the harness runtime.
  • Agent Canvas as the trace and operator surface.
  • OpenHands SDK as the programmable harness.
  • Laminar traces and SDK metrics for observability.
  • Starter and solution projects as controlled experiments.

The goal is not to memorize APIs. The goal is deeper understanding, so on your next project you know which harness levers to pull to solve your problem.

Start Here

  1. Read Start Here.
  2. Run the Quickstart.
  3. Take the Harness Tour.
  4. Start P01: Agent Trace.

Built as a friendly front door for the runnable OpenHands harness lab.