What is an AI harness? / Checked agent dispatch
Put a photo in
the right album
Your picnic photo (#07) belongs in Family weekend (A). Watch the helper propose a tool request, pass the permission gate and request budget, and compare the tool receipt with the independent task check. Compare a verified lookup with wrong labels, denied permissions, or a 1-request budget. Inspect proposed tool requests, gate checks, receipts, and independent task evaluation separately.
Working example ready. The goal and lookup both say Family weekend.
Scripted helper. Local tools. No AI calls or uploads. This is foundational lesson 09 of 12. Its check-in is at the end of this page.
Beach picnicBelongs in Family weekend
Held at gateNo copy added
No copy added
- 1. Look upWhich album?
- 2. Add a copyWait for lookup.
- 3. CheckCompare with the goal.
Tool receipt
Not run yet.
Task result
Not checked yet.
Your photo is ready. Both albums are empty.
Original illustrated sample. These albums exist only on this page.
What does the harness do? It gives the helper tools, runs allowed requests and returns what happened. An AI model can choose the requests in a real application. Here, a fixed script lets you inspect each step. A receipt confirms an action; a separate check asks whether it met your goal.
Explore tools and limitsOptional: tools, limits and the full trace
The tools behind the album
Cutaway / inspect every partThis helper follows a written rule: read the assigned album, then add a copy. Both tools work only inside this page. No photo is uploaded. Two local tools. A fixed rule reads an album label and adds a copy. Nothing leaves this page.
Changing a setting prepares a fresh attempt. Changing the goal to Work event supplies a matching lookup; it does not simulate a mistake.
Scroll the cutaway sideways, or inspect a part below.
Task & context: the harness supplies the task, tool list and request budget.
- TaskAdd the photo to its assigned album.
- Requested actionNo request yet.
- Returned observationNothing returned yet.
- Visible resultNo copy added.
01 / Follow the consequence
Compare the two runs
The reference run completes two requests. Change one control to compare it with your run.
Reference Connected / A / 2 requests
- Request lookup → execute → observe A.
- Request placement → execute → observe receipt.
- Validate receipt → stop.
Your machine Same setup
- Try unplugging the tool to see where the trace stops.
Try a worked example
Disconnect lookup, then run the helper. Its request appears, but execution does not. Reconnect it and set the budget to 1, then run again. Lookup runs, but placement cannot. “Restore working example” resets every setting.
02 / The receipt is not the verdict
It finished. Did it work?
The runtime checks that a receipt matches a request. An evaluation harness asks a different question: did this photo reach its assigned album?
This evaluator checks a known toy world, not a real photo service or general AI quality. A sandbox would restrict where code can act, such as limiting files and network access. The drawn housing and permission switch are not a security sandbox.
03 / Try it somewhere else
The archive assistant lost its receipt.
A report belongs in cabinet A. The filing tool ran, but its return never arrived. Should the harness announce success, retry immediately, or stop with the result unconfirmed?
Reveal the explanation
Stop unconfirmed, then reconcile the actual state. A request is not proof of execution, and execution without a return does not supply a validated receipt. In real tools, a blind retry can repeat an action. This toy does not implement recovery or idempotency.
04 / Keep the machinery
A harness small enough to read.
Keep a browser workshop with your chosen setup. Open it with a double-click, change the controls and run it offline. No installation needed. Both tools execute in memory. The fixed rule can react to A or B; the fixed transcript stops when its expected observation changes.
The browser workshop is a self-contained HTML file. The optional code-only demo needs Node.js, with no packages or key. Run node harness-demo.mjs. Edit CONFIG inside the file to try another setup.
Sources, scope & credits
Jonathan Simone, Simone Systems Research. First edition, October 2026. I direct AI coding agents that write and test the code for this site. See the colophon. Original synthetic task and artwork.
- Anthropic: separating harness, session and sandbox informs the distinct controls.
- LangChain: agents, tools and middleware informs the surrounding runtime jobs.
- LangSmith: evaluation concepts informs comparing a run with an expected result.
- Bret Victor: Up and Down the Ladder of Abstraction inspired keeping individual events beside complete traces.
- Nicky Case: LOOPY inspired direct intervention and a useful export. No code or assets copied.
Sources inspected October 11, 2026. This is a deterministic teaching simulation, not a benchmark or evidence that harness changes generally improve model performance.