Build the agent workbench
Create a small harness that makes AI-assisted work inspectable, repeatable, and safe to resume.
- Assemble a bounded observe-decide-act-check loop.
- Explain the difference between task skills and MCP-connected capabilities.
- Resume work from a durable checkpoint without relying on chat history.
Bring with you Lessons 1–3 and a tested Signal Garden scope.
A harness is the workbench around the model
The model is only one component. A useful harness supplies the task, selected context, permitted tools, validation, logs, budgets, and a place to stop. Without that workbench, an agent can produce plausible activity while leaving the project in an unknown state.
For Signal Garden, the first harness will not build the game. It will take one bounded task—such as “draft the relay data schema”—and produce a proposed file plus validation evidence. The human reviews before anything becomes canonical.
Design the run contract
Every run starts with a small contract:
task_id: relay-schema-v1
goal: Propose typed data for three repairable relay towers
inputs: scope.md, state-table.md
allowed: read inputs, draft output, run schema checks
forbidden: edit gameplay code, add mechanics, access network
done_when: schema validates and every field supports a core-loop state
ceilings: 3 attempts, 12 minutes, one output file
The harness then follows a visible loop: load the contract, collect only named context, request an action, validate it, log the result, and either stop or retry within the ceiling. A retry is not permission to change the goal.
Skills are not tool connections
A skill is reusable task guidance: instructions, examples, perhaps a script or reference file. A “validate game data” skill can teach an agent how your project checks JSON. The Agent Skills specification describes a portable folder convention that can be loaded when relevant.
MCP is a protocol through which a client can expose tools and context from servers. An MCP server might offer a file reader, issue tracker, or engine operation. The MCP architecture overview explains the client/server roles. MCP does not decide when a tool should be used, and a connection is not authorization. Your harness still controls which capability is visible and which action requires human approval.
Start without either if plain files and a local validator are enough. Add a skill when task procedure repeats. Add a tool connection when the task genuinely needs an external capability.
Checkpoint the project, not the conversation
Long work outlives context. At the end of each run, write a checkpoint:
- verified artifacts and their versions;
- decisions made, with reasons;
- failed attempts worth avoiding;
- unresolved risks;
- exactly one next bounded task;
- commands or checks that proved the current state.
The next run begins by reading this artifact and rechecking cheap facts. Research on long-running agent harnesses emphasizes durable progress records and bounded tasks; context compression alone cannot tell you whether the game still runs.
Failure modes and tradeoffs
Tool soup exposes every capability “just in case,” increasing accidental action and confusing tool choice. Prompt archaeology treats old chat as project state. Completion by assertion allows “done” without a validator result. Checkpoint theatre records a long narrative but omits the exact artifact and next step.
The tradeoff is ceremony. A contract and checkpoint feel slower than a free-form request. They repay that cost as soon as a run fails, a collaborator joins, or the task resumes after a week.
Build task: specify the workbench
Create three Markdown templates: task-contract.md, run-log.md, and checkpoint.md. Simulate one relay-schema run. The log should record each attempt, validation result, and stop reason. You do not need an API; a human can play the harness and paste requests into any collaborator.
You are operating inside a bounded development harness.
Read TASK CONTRACT and SELECTED CONTEXT. Propose only the next allowed artifact.
Before answering, check every done_when condition you can check from the inputs.
Return: PROPOSED ARTIFACT, VALIDATION TO RUN, ASSUMPTIONS, and STOP REASON.
Do not claim a check passed unless its result is present. Do not choose a new task.
Completion evidence
The workbench is ready when a second person can run the simulated task from the contract, identify every tool it may use, see why it stopped, and resume from the checkpoint without reading the original chat. The run must end after the stated ceiling even if validation still fails. Safe incompletion is a successful harness behavior.
A local workbench specification with a run log, task contract, and checkpoint format.
What should be authoritative when an agent resumes tomorrow?
Go a little deeper.
Primary sources behind this chapter. Signal Garden is our original teaching example.
Model Context ProtocolArchitecture overviewAgent SkillsAgent Skills overviewAnthropicEffective harnesses for long-running agents