Harnesses and models
Your agent's job stays recognizable from one run to the next, but something still has to interpret the request, use the tools, and connect to a model provider. Agenta separates those runtime choices into a model, a harness, and a credential.
One agent has three runtime choices
Return to the marketing launch agent that prepares the Monday campaign report. Its instructions describe the audience. Its reporting skill describes the process. Its tools read analytics and post the final summary.
To run that agent, you make three additional choices:
- The model works with the language and makes the next decision.
- The harness keeps the task moving between the model, tools, files, and conversation.
- The credential connects the harness to the place serving the model.
These roles work together, but they solve different problems.
The model provides the intelligence
The model reads the context it receives and produces the next response. For the campaign report, it may decide which results matter, explain why a metric changed, choose an available tool, or draft the final summary.
Models differ in quality, speed, cost, context size, and the kinds of inputs and tool use they support. A model that is a good fit for a short support reply may not be the model you choose for a long research task.
Changing the model changes how the agent reasons and writes. It does not rewrite the agent's instructions, skill, or files.
The harness keeps the task moving
The harness is the software that runs the agent around the model. It prepares the context, sends work to the model, carries out supported tool requests, returns the results, and continues until the task reaches an answer or another stopping point.
For the Monday report, the harness might:
- Give the model the request and the agent's working context.
- Run the analytics tool the model chooses.
- Return the campaign data to the model.
- Pause if posting the report needs approval, or run the posting tool when it is allowed.
- Keep the resulting messages and tool activity together in the session.
The harness also manages practical details such as loading instructions and keeping a long conversation within the model's limits.
Agenta offers two harnesses, Pi and Claude Code. They support different model providers and runtime capabilities, so the harness you choose affects which models and features are available to the agent.