Anthropic reveals Claude Code's six-layer harness: same model jumps 58% to 91%
Arindam_1729 · x · 2026-11-30
Anthropic engineers revealed what actually makes Claude Code good — not the model, but the six-layer harness wrapped around it. In their own evals, with the model and prompt unchanged, harness engineering alone took agent success from 58% to 91%. The progression: prompt engineering → context engineering → harness engineering.
The six layers:
- Tools: fewer tools, one job each; every error tells the agent what to try next.
- Context: short CLAUDE.md → files on demand → compaction when full.
- Permissions: reads and tests run auto; deploys/deletes ask a human; everything sandboxed.
- Hooks: block secrets and protected files before any tool run; format, lint, typecheck after every edit, no exceptions.
- Verification: a fresh reviewer reads the diff (not the summary), runs tests; fail → fix → rerun.
- Evals: every harness change scored on success rate, tokens, turns; success logs replay failures.
The post links the full paper plus a 20-line prompt that runs in Claude Code to build the harness for an existing agent.
More from coding & agent
- Google exec promises no account bans for using Antigravity coding tool — inductionheads · 2026-11-30
- Unitree's robot navigation project defaults to DeepSeek-Harness, but vision runs on OpenAI's GPT-6 — teortaxesTex · 2026-11-30
- Google Antigravity works well — but why does it ask permission to run 'ls'? — tristanbob · 2026-11-30
- Ex-Palantir FDE: turning real workflows into verifiable RL gyms is where most companies fail — dosco · 2026-11-30
- MCP server lets agents self-register to clip long videos: 10 free clips, then $19/mo — Cautious_Exercise302 · 2026-11-30
- AgentGuard v0.2: an open-source seatbelt for AI agent spending and destructive commands — nemskie · 2026-11-30