Skip to content
Methodology

Harness engineering

Harness engineering — Methodology. category: Engineering practice for building trust in coding agents · definition: Deterministic layer of control, guardrails, structuring of information injected into the AI, and verification of produced code · dominant_period: 2026

Three engineers at OpenAI, later seven, produced roughly a million lines of code in five months with zero lines written by hand; Codex agents opened, evaluated and merged around 1,500 pull requests, an average of 3.5 per engineer per day. The methodology behind that number, harness engineering, treats the environment around the model as the engineering object: repository structure, CI configuration, a strict dependency-layer model, custom linters whose error messages inject correction instructions straight into the agent's context, and recurring garbage-collection tasks that open auto-merged refactoring PRs.

Viv Trivedy's equation, quoted by Addy Osmani on 19 April 2026, gives the field its slogan: "Agent = Model + Harness. If you're not the model, you're the harness." Osmani cites Terminal Bench 2.0, where Claude Opus 4.6 scores lower inside Claude Code than the same model in a custom harness, and Trivedy's team, which moved a coding agent from Top 30 to Top 5 by changing only the harness.

Birgitta Böckeler splits the practice in two: guides, the feedforward controls (conventions, specifications, skills, MCP servers), and sensors, the feedback controls (linters, tests, static analysis). Each can be computational or inferential. The behaviour harness stays unsolved in her account, because AI-generated test suites are not yet reliable enough to verify that an application does what it should.

On BFM Business on 5 May 2026, Rémi Jacquet of Cast Software dated the pivot: prompt engineering in 2024, Context Engineering in 2025, harness engineering in 2026. His warning ran against the optimism of the segment: the stronger the AI gets, the more the guard drops.

Type
Methodology
category
Engineering practice for building trust in coding agents
definition
Deterministic layer of control, guardrails, structuring of information injected into the AI, and verification of produced code
dominant_period
2026
relations
10
Cited in
4 fiches

Neighborhood

Capteurs feedback Guides feedforward Contraintes architec… Ingénierie de contexte Viv Trivedy Cast Software Garbage collection (… ratchet principle Context engineering

→ uses

Capteurs feedback CONCEPT high confidence timeless Source ↗
Guides feedforward CONCEPT high confidence timeless Source ↗

→ is based on

Contraintes architecturales CONCEPT high confidence timeless Source ↗
Ingénierie de contexte CONCEPT high confidence timeless Source ↗
Garbage collection (code) CONCEPT high confidence timeless Source ↗
ratchet principle CONCEPT high confidence timeless Source ↗

← created

Viv Trivedy PERSONNE high confidence stable Source ↗

← recommends

Cast Software ORGANISATION high confidence evolving Source ↗

→ is a variant of

Context engineering METHODOLOGIE high confidence timeless Source ↗

→ replaces

Context Engineering METHODOLOGIE high confidence stable Source ↗

Cited in (4)