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.

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.

Checked dispatch & album stageSample 07
Checked dispatch track from helper request through permission gate and budget brake to album docks A and B Item 07 starts in the queue on the left. The helper proposes lookup(07) and place(A or B). The permission gate and request-attempt budget brake allow or hold the carrier before it reaches Family weekend (A) or Work event (B). GOAL: #07 → A REQ: waiting GATE: ALLOWED BUDGET: 2/2 req DOCK A / GOAL Family wknd DOCK B / OTHER Work event AB 07 A tool request becomes an action only when permission and request budget allow the tool to execute.
Original illustrated sample

Beach picnicBelongs in Family weekend

Held at gate
Family weekend
Copy in destination A

No copy added

Work event
Copy in destination B

No copy added

  1. 1. Look upWhich album?
  2. 2. Add a copyWait for lookup.
  3. 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 limits
Optional: tools, limits and the full trace

The tools behind the album

Cutaway / inspect every part

This helper follows a written rule: read the assigned album, then add a copy. Both tools work only inside this page. No photo is uploaded.

Changing a setting prepares a fresh attempt. Changing the goal to Work event supplies a matching lookup; it does not simulate a mistake.

Inside a small agent runtime harness A task ticket enters a scripted controller. A request passes a permission gate and budget brake before the tool executes. A return chute carries observations back. Buttons below inspect each part. TASK / 07Read its album label.Add the photo. DECISION CARTRIDGEScripted / toy fixture PERMISSION LIMIT2 LOOKUP + ADD COPYExecute in a toy world OBSERVATIONS RETURN HERE

Scroll the cutaway sideways, or inspect a part below.

Task & context: the harness supplies the task, tool list and request budget.

  1. TaskAdd the photo to its assigned album.
  2. Requested actionNo request yet.
  3. Returned observationNothing returned yet.
  4. 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

  1. Request lookup → execute → observe A.
  2. Request placement → execute → observe receipt.
  3. Validate receipt → stop.

Your machine Same setup

  1. 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?

Try “Wrong label: B instead of A” above. The machine can finish every step and still put the photo in the wrong 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.

Original teaching code: MIT license
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.

Sources inspected October 11, 2026. This is a deterministic teaching simulation, not a benchmark or evidence that harness changes generally improve model performance.

Foundational lesson 09 of 12: Put a photo in the right album

Take this with you. A valid receipt confirms a tool result. Check the result against the task before calling it a success.

Does giving a helper a larger budget give it permission to use a forbidden tool?

No. Budget and permission answer different questions. More allowed work does not grant new authority, and a blocked action should be reported rather than quietly bypassed.

Source: LangChain documentation: Agents

This optional check-in is saved only in your browser. It records a visit, not a test result. View the course map or clear check-ins.

File details on this page

Format, size and a short SHA-256 identifier, measured when this page was built.