What does harness mean in AI?+
In AI, a harness is the software around a model that runs it and controls it. For an agent it is the loop, tools, context, memory, permissions and checks. For evaluation it is the code that runs a model on a set of test cases and scores the results.
What is the difference between an AI agent and a harness?+
An AI agent is the whole working system. A harness is the part of it that is not the model. Put a model in a harness and you have an agent; change the harness and the same model becomes a different agent.
Is Claude Code a harness?+
Yes. Claude Code is Anthropic’s agent harness around Claude models: it supplies the loop, file and terminal tools, context management, permissions, hooks and subagents. Its core is also available as the Claude Agent SDK for building your own agents.
Is ChatGPT a harness?+
ChatGPT is a product built from OpenAI models running inside a harness: a chat loop with tools such as search and code execution, memory and safety checks. The model and the harness together make the product.
What is an LLM harness?+
LLM harness is another name for the code around a large language model. It is used both for agent harnesses, which let the model act, and for evaluation harnesses, which test it, such as EleutherAI’s lm-evaluation-harness.
What is an example of a harness?+
A support agent harness might give the model three tools — look up an order, read the help centre, draft a reply — let it act for up to ten steps, forbid it from issuing refunds, require a person to approve each reply, and log every step for review.
Do I need to build my own harness?+
Often not. For internal and coding work an existing harness fitted with your tools and rules is usually enough. A custom harness is worth it when the work is customer-facing, regulated, must run on your own servers, or is part of the product you sell.