Harness
Harness — everything around the model that turns it into a working agent: instructions, tools, permissions, memory and checks. The model is the same, the result depends on the harness.
Frequently asked questions
What is a harness in AI?
Everything around a model that makes it a working agent: instructions, tools, access rights, memory and checks.Why does the result depend on the harness?
The model is the same, while what the agent knows, what it can do and how it checks itself is set by the harness.What a harness is made of · 15
- Agent loop · An agent loop is the repeating rhythm of an agent’s work: think, call a tool, look at the result, think again.
- Tool and tool calling · A tool is an action the agent can call: read a file, find a ticket in Jira, run a database query.
- MCP · MCP is an open protocol through which an agent connects to outside services — Jira, Airtable, databases — via one interface.
- Context · Context — everything the model sees at the moment: the conversation, project files and data from connected systems.
- Agent memory · Agent memory — notes an agent keeps between sessions: project rules, constraints it found, agreements.
- CLAUDE.md · CLAUDE.md is a file in the project root with standing instructions for Claude Code: project layout, build and test commands, conventions.
- Project bible · A project bible is a description of how the project is built and why: system boundaries, agreements, principles and values: what matters more when choosing and what is never allowed.
- Skill · A skill is a folder with a `SKILL.md` file: instructions and helper files for one recurring task, such as a report or a migration.
- Permissions · Permissions — AI agent permissions define what the agent may do in your environment and connected systems: only read or write as well, and which commands to run.
- Sandbox · A sandbox is a fenced place where an agent’s actions run: only allowed folders are visible and only allowed network hosts are reachable.
- Hooks · Hooks — scripts the harness runs automatically at set moments of the agent’s work: before an action, after a file edit, on finish.
- Static checks · Static checks — tests, linters, builds and other automatic verifications that confirm the agent’s result before a person looks at it.
- Human in the loop · Human in the loop (HITL) means the agent does not finish on its own: at the important steps it waits for a person’s approval.
- Orchestration · Orchestration — managing several steps or several agents: who is responsible for what, in which order they work and how results are passed on, through files, a subagent result or cross-session messaging.
- Logs and tracing · Logs and tracing is a record of each agent step: what it read, which tools it called and what came back.
Source: Anthropic: Effective harnesses for agents
Read more: AI agent = LLM + harness: LLM vs harness vs agent
Where it appears · 14
- Escalation to a human in AI agents · Harness
- AI agent maturity levels · Specs and context
- What are quality gates for AI agents · Harness
- AI agent = LLM + harness · Harness
- QA work after support with an AI agent · Harness
More 9
- MCP for an AI agent · Harness
- Codex vs Claude Code, which to pick, and when Cursor or Hermes Agent fits · Harness
- ChatGPT Enterprise usage report from admin console exports · Research
- Harness engineering in practice · Harness
- Approaches to working with a harness · Prompts and review
- A reconcile loop for specs · Specs and context
- Specs by aggregate · Specs and context
- What are AGENTS.md and CLAUDE.md and how they differ from spec.md · Specs and context
- Prompts for work tasks · Prompts and review