AI Coding Agent vs Harness: What's the Difference? LangChain raised its coding agent's score on Terminal Bench 2.0 from 52.8% to 66.5%, a gain of nearly 14 points, in February 2026 without changing the underlying model, according to a LangChain blog post. The improvement came entirely from changes to the harness — the agent loop, tools, context management, permissions and extension points that surround the LLM — a distinction LangChain's Vivek Trivedy popularized in early 2026 and that Anthropic's Claude Code documentation and OpenAI's Codex writing also use. A source-code study of eleven coding harnesses found each makes design choices across the same seven subsystems: agent loop, LLM integration, tools and actions, memory and context, safety and permissions, orchestration, and extensibility. In February 2026, LangChain raised its coding agent https://blog.langchain.com/improving-deep-agents-with-harness-engineering from 52.8% to 66.5% on Terminal Bench 2.0, a gain of nearly 14 points, without touching the model. It changed only the code around it. That code has a name: the harness . "Agent" and "harness" are often used interchangeably, but one contains the other. TL;DR Coding agent = Model + Harness The model is the LLM. The harness is everything else: the loop, tools, context management, permissions, and extension points that let the model act on a real codebase. LangChain's Vivek Trivedy popularized the formula https://www.langchain.com/blog/the-anatomy-of-an-agent-harness in early 2026. Anthropic's Claude Code docs https://code.claude.com/docs/en/how-claude-code-works and OpenAI's Codex writing https://openai.com/index/unlocking-the-codex-harness/ describe their products the same way. php flowchart TB Dev "Developer task" -- Agent subgraph Agent "Coding agent" direction LR Model "Model