Agent Harness Engineering
AI-generated summary of reporting by Oreilly AI ML Blog. Read the original for the full story.
Why it matters
Addy Osmani argues the scaffolding around a coding model matters more than the model itself, and shows how a custom harness moved Claude Opus 4.6 from Terminal Bench 2.0 rank ~30 to ~5.
Addy Osmani writes that an AI coding agent is really two things: the model, and the 'harness' of rules, tools and checks wrapped around it. He says a decent model in a good harness beats a great model in a bad one, citing work that moved Claude Opus 4.6 from roughly 30th to 5th place on the Terminal Bench 2.0 test purely by changing the harness. His core habit: every time the agent makes a mistake, add a rule so it never happens again. This matters to anyone building or using AI coding assistants like Claude Code, Cursor or Codex.
Osmani's argument challenges the 'just wait for the next model' mindset: a team moved Claude Opus 4.6 from Top 30 to Top 5 on Terminal Bench 2.0 by changing only the harness, not the model. The competitive implication is that engineering discipline around agents, rules, hooks, sandboxes, feedback loops, is a durable advantage you can build now, not something bought from a model vendor. The gap between what models can do and what teams see them do is largely a harness gap.
Osmani frames Agent = Model + Harness (term credited to Viv Trivedy), covering filesystems as the core primitive, bash plus sandboxes as general-purpose tools, context-rot mitigations (compaction, tool-output offloading, progressive disclosure via skills, full context resets per Anthropic), Ralph loops for multi-session continuation, planner/evaluator splits to counter agents' positive-skewed self-review, and deterministic hooks enforcing 'success is silent; failures are verbose'. Key datum: same Claude Opus 4.6 scores far lower in Claude Code than in a custom harness on Terminal Bench 2.0.
Read the original
This summary exists to save you time, not to replace the source.
Also covered by 1 other source
Same story, reported independently. Useful for a second read.
- Oreilly AI ML Blog , Agent Harness Engineering
Key terms
Claude Code Cursor Codex Aider Cline Terminal Bench 2.0 AGENTS.md
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.
OpenGame: turn your local coding agent into a full-stack game studio
Developers with a local coding agent can now scaffold full playable 3D games, art, music, testing, publishing, instead of only refactoring code, opening a path from hobby coding to shippable mini-games.
Let Claude Code or any agent tap, type, and read your real phone
Agents can now close the mobile testing gap by driving and reading a real phone themselves, with nothing installed on the device.
n8n's open source personal agent runs on your machine and asks before it acts
Developers uneasy about cloud-based AI agents get a local, approval-gated alternative they can download today, though its research-preview status limits real reliance.