# "wtf is Harness Engineer & why is it important" <!-- ref: @content/youtube/ai-jason/wtf-is-harness-engineer-why-is-it-important tags: [harness engineering, long-running agents, autonomous agents, context environment, verification loops, generic tools, OpenClaw] version: 2 updated_at: 2026-11-22T13:43:32.737Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=kJPvfoLtFFY)** # wtf is Harness Engineer & why is it important *Synthesized from AI Jason, 2026-03-05; the speaker is not named in the source.* A single presenter explains "harness engineering" for long-running autonomous agents, drawing on published write-ups from Anthropic, OpenAI and Vercel. ## Core Thesis The presenter argues that since December 2025 models can sustain long autonomous tasks, so the bottleneck has moved from prompt and context engineering inside one session to designing the environment, workflow and tools around many sessions and agents. He distils three lessons: make the environment legible, make verification fast, and trust the model with generic tools. ## Key Insights - **What changed.** He cites tweets that programming changed sharply from December 2025. As history he points to Auto GPT in 2023 (GPT-4 looping over a task list with simple memory, which failed because models were not ready), then the "Ralph loop" in January, Cursor building a browser with GPT-5.2 in about 3 million lines of code, and Anthropic's team of Claude Code agents building a C compiler over 2 weeks with no manual coding (it could run Doom). - **OpenClaw as the paradigm.** He sees OpenClaw as always-on and proactive: a memory context layer, triggers and a cron job, and full computer access, in contrast to copilot-style agents driven by human prompts. He calls the shift from copilots to long-running agents the biggest of 2026 and suggests building "OpenClaw for a vertical" as an opportunity for the next 6 to 12 months. - **Anthropic's long-running harness.** Two observed failures: the agent tries to one-shot the whole app and runs out of context mid-feature, and it declares the job done too early. The fix is a two-part setup. An initializer agent writes an init.sh (starts the dev server), a progress.txt log, an initial git commit, and a feature list of more than 200 features in a JSON file, each with a spec and a pass/fail state that defaults to fail. Each later session picks the highest-priority feature, commits with a descriptive message, and writes a progress summary. Unit and API tests missed end-to-end failures; giving the agent Puppeteer MCP or Chrome DevTools let it find real bugs. - **OpenAI's repository as system of record.** A giant agents.md failed, so they made agents.md a table of contents pointing to architecture, design docs, execution plans, DB schema, product specs, security and more (progressive disclosure). They pulled Google Docs and Slack content into the repo, since anything the agent cannot reach effectively does not exist. They enforced architecture with custom checks, linters and structural tests on every git pre-commit, made the app bootable per git worktree, and wired Chrome DevTools protocol into the agent so it reproduces bugs, records videos before and after the fix, and merges. - **Generic tools beat specialized ones.** Vercel's text-to-SQL agent (d0) was fragile with specialized tools; reducing it to a single bash tool made it 3.5 times faster with 37% fewer tokens, and success went from 80% to 100%. Anthropic reports a similar finding with one bash tool (grep, tail, npm run lint). His explanation is that models know code-native tools from billions of training tokens, unlike bespoke JSON tool calls. - **OpenClaw's own design.** A list of documents for core information, only basic tools (read, write, edit, run bash, send message), and a large skills library. ## Actionable Takeaways 1. Break a big project into a JSON feature list with every item initially failing, and make agents work one item at a time. 2. Keep an init script, a progress file and a git commit at the end of every session so a fresh context can resume. 3. Treat agents.md as a table of contents into a docs folder, not a dump. 4. Give agents end-to-end verification tools (Puppeteer, Chrome DevTools) rather than relying on prompts to test. 5. Enforce architecture with linters and structural tests in pre-commit. 6. Prefer a bash tool and generic file tools over many bespoke tools. ## Notable Quotes > "if anything can't be accessed in the environment, then effectively it didn't exist" — the presenter > "The model today is actually much more powerful than you think, as long as you design right system to unlock it." — the presenter --- *Related: `@content/youtube/yifan-bth/the-openclaw-security-settings-i-actually-change` · `@content/youtube/david-ondrej/build-anything-with-tmux-here-s-how` · `@content/youtube/david-ondrej/hermes-agent-is-crazy-180-000-github-stars` · `@content/youtube/david-ondrej/hermes-goal-is-insane-just-watch` · `@content/youtube/cole-medin/i-turned-claude-code-into-a-complete-video-generation-system-with-archon`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*