Harness Engineering: The Missing Layer Between Chatbots and Working Agents
Developers who see agent quality as a property of the model will misread why the same LLM produces very different results in different AI IDEs. The harness is where reliability, memory, and error recovery are actually engineered, which makes tooling choice a real engineering decision rather than a preference.
The article positions Harness Engineering as the third layer above prompt engineering and context engineering. Prompt engineering constrains the model's output with roles, rules, and formats. Context engineering manages the limited context window through recall, compression, and assembly. But neither makes the model actually do anything outside chat; that requires a harness.
The harness itself has four layers. An execution layer gives the model Bash, sandboxes, file systems, and MCP access. A memory layer pins down project goals, tech stack, and conventions, typically via rule files like CLAUDE.md. A feedback layer feeds test failures and errors back into the loop so the agent can self-correct. An orchestration layer decomposes big tasks into subtasks with clear criteria, preventing drift and infinite loops.
Practical implementation starts with a decent CLAUDE.md, or moves to a spec-driven plugin like spec-kit that updates the rule file as the work progresses. The article sees this as a role change: programmers move from writing code to writing rules and skills, and the harness around the model becomes the main engineering battleground.
The claim that the harness can get thinner as models improve but never disappear points to a permanent engineering layer around LLMs, not a temporary bridge until models become fully autonomous.
Framing memory, feedback, and orchestration as separate layers gives developers a concrete mental model for debugging agent failures: instead of tweaking prompts, you can inspect each harness layer independently.
The shift from writing code to writing rules and skills suggests the developer's value moves to encoding project constraints and workflows, which may change how software teams are measured and organized.