Teardown · seen in Claude Code, Codex, Harness > model, Grok Build

Coding-agent harness

A model wrapped in tools, a sandbox, project memory and checks, where the harness moves results as much as the model does.

A coding agent isn't just a model that writes code. It's a model inside a harness: tools to read and run things, a sandbox to run them in, notes about the project, and checks that tell it whether it's right.

In 2026 the harness became the story. Swapping in better tools and context, with no change to the model, moved one model from 52.5% to 65.5% on a standard benchmark.

This teardown is about that harness: what each part buys, and what breaks without it.

Where it shipped

each with its date and source
  • Claude Code2025-02-24
    Anthropic

    A coding agent in the terminal: reads the repo, edits files, runs commands and tests.

  • Codex2025-05-16
    OpenAI

    A cloud coding agent: each task runs in its own sandbox preloaded with the repo.

  • Harness > model2026-10-08
    State of AI 2026

    Better tools and context lifted GLM-5.1 from 52.5% to 65.5% on 100 SWE-bench Verified tasks, same weights.

  • Grok Build2026
    Grok

    A coding agent with its own terminal client and changelog.

How a request flows

click a component to open it
  1. 1
    It reads the project's rules

    Project memory loads every session; extra skills load only when needed.

  2. 2
    It finds the right code

    A repo map and search tools point it at the right files; subagents do the wide searches.

  3. 3
    It plans

    For bigger changes it proposes a plan before touching anything.

  4. 4
    It edits and checks

    Small patches, then tests, then fixes, in a sandbox it can't escape.

  5. 5
    It stays within limits

    Some commands ask first, secrets are off-limits, the network is fenced, everything can be undone.

  6. 6
    It keeps going on long tasks

    Old turns are compacted so the plan and rules stay in view.

  7. 7
    People and CI decide what merges

    A reviewable diff, and the full test suite before merge.

Then and now

Before
  • Autocomplete in the editor, a line or a function at a time
  • Chat answers you paste in by hand
  • Quality judged by the model's benchmark score
Now (2026)
  • Agents that run commands and tests in sandboxes and hand back a reviewable diff (Claude Code, Codex, Grok Build)
  • Project memory (AGENTS.md) and skills as shared, open formats under the AAIF
  • The harness as a first-class lever: same model, +13 points from tools and context (State of AI 2026)