// guide
What is an agent harness? Private open-source options
An agent harness is the software around a language model that runs the agent loop: it gives the model tools, executes the tool calls it returns, keeps state and enforces permissions until the task is done.
Updated
On this page
What is an agent harness?
The sentence above is the working definition this page uses. There is no standards-body definition of the term; vendors describe it in their own words, and they agree on the core idea: the model decides, the harness acts.
| Source | How it describes an agent harness | Read |
|---|---|---|
| Microsoft Learn, Agent Framework "Agent Harness" page | "the runtime scaffolding that turns a language model into an agent that can perform work" | 2026-12-03 |
| Modular, LLM Inference Handbook, "Agent harnesses" | "a system that wraps one or more AI models and enables them to interact with the user and their environment" | 2026-12-03 |
| This page | The software around a model that runs the loop, executes tool calls, keeps state and enforces permissions | 2026-12-03 |
"Agentic harness" is used for the same thing; this page treats the two terms as one.
Which parts make up an agent harness?
Six parts recur in the definitions above and in the harnesses below. The right-hand column names where you can see each part in a 9owls Launchable on NVIDIA Brev.
| Part | What it does | Where to see it in a Launchable |
|---|---|---|
| Loop | Sends the task and tool list to the model, runs what it asks for, feeds the result back, repeats | The OpenHands conversation view |
| Tools | Terminal, file edits, browser, web fetch | Hermes Agent runs terminal commands and browses the web |
| Sandbox | Where commands actually run, isolated from the host | NemoClaw runs its agent inside an NVIDIA OpenShell sandbox |
| Memory and state | Conversation history, files, saved skills | Hermes Agent saves what it learns as reusable skills |
| Model endpoint | The API the loop calls for each step | vLLM or llama.cpp on the same instance, OpenAI-compatible |
| Permissions | Which files, users and network hosts the agent may use | The OpenShell network policy; the Hermes container has no Docker socket |
Agent harness vs framework vs model: what is the difference?
A model produces the next step; a framework is a library you write an agent with; a harness is the running program that turns the model's steps into actions.
| Layer | What you do with it | Examples |
|---|---|---|
| Model | Choose it and serve it | NVIDIA Nemotron 3.5 Lightning, NVIDIA Nemotron 3.5 Bolt |
| Model server | Run it behind an API | vLLM, llama.cpp |
| Framework | Write agent code with its building blocks | LangChain, Microsoft Agent Framework |
| Harness | Configure it and give it a goal | OpenHands, Hermes Agent, OpenClaw, aider |
| Sandbox runtime | Contain what the harness executes | NVIDIA OpenShell |
The line between framework and harness is not fixed, and some projects ship both. NVIDIA NemoClaw names its own launch setting AGENT_HARNESS and offers three values for it: OpenClaw, Hermes Agent and LangChain Deep Agents Code.
What does a private agent harness mean in practice?
A harness is private when the prompts, the code it reads and the model's answers stay on machines you control. Four checks make that concrete, and each one can be run on the instance.
The model is served on your instance: no hosted model API key exists, and the harness calls a local endpoint such as vLLM or llama.cpp.
Commands run in a sandbox: the agent's shell is a container or an OpenShell sandbox, not the host.
Outbound network is controlled: a policy lists which hosts the agent may reach, and anything else is denied.
No secrets in the agent's reach: no cloud keys, tokens or Docker socket are mounted where the agent runs commands.
| Check | NemoClaw Private Agent | Hermes Agent on Nemotron 3.5 Bolt | OpenHands Coding Agent on Nemotron |
|---|---|---|---|
| Model on the instance | vLLM, loopback only, port 8000 | llama.cpp, loopback only, port 8080 | vLLM, port 8001 on the instance only |
| Commands sandboxed | OpenShell sandbox | Hermes container, no Docker socket | OpenHands container |
| Outbound network policy | Yes, OpenShell policy; GitHub limited to GET, HEAD and OPTIONS | None documented in its guide | None documented in its guide; the agent has network access |
| Hosted model API key needed | No | No | No |
Facts in this table come from each Launchable's guide and fresh-deploy smoke: NemoClaw 2026-11-19, Hermes Agent 2026-11-19, OpenHands 2026-11-15. A private model is not a safe agent: an agent that can run commands can still damage what it can reach, so give it only data and tasks you are allowed to use.
Which open-source agent harnesses run privately on one GPU?
Four harnesses below run on one NVIDIA GPU on NVIDIA Brev as 9owls Launchables, each with the model served on the same instance. aider is listed for comparison from its own documentation; 9owls has not tested it.
| Harness | Licence | Model and server in the Launchable | GPU in the Launchable | Guide |
|---|---|---|---|---|
| OpenHands | MIT License | Nemotron 3.5 Lightning on vLLM | 1x NVIDIA L40S 48GB | Run OpenHands with a local Nemotron model |
| Hermes Agent | MIT License | Nemotron 3.5 Bolt E4B on llama.cpp, 4484 MiB of GPU memory in the 2026-11-19 test | 1x NVIDIA L4 24GB | Run Hermes Agent on Nemotron 3.5 Bolt |
| OpenClaw, Hermes Agent or Deep Agents Code inside NVIDIA NemoClaw | MIT License (harnesses); Apache License 2.0 (NemoClaw, OpenShell) | Nemotron 3.5 Lightning on vLLM | 1x NVIDIA L40S 48GB | Run a private NemoClaw agent on local Nemotron |
| Paperclip (a team of agents) | MIT License | Nemotron 3.5 Lightning on vLLM | 1x NVIDIA L40S 48GB | Run a Paperclip multi-agent team on Nemotron |
| aider | see upstream | Its docs show a local Ollama model with ollama_chat/MODEL | not tested by 9owls | aider Ollama docs (external site) |
Every agent Launchable is listed in NVIDIA Brev agent Launchables and under coding and multi-agent.
Which private agent harness should I choose?
Pick by the job and by how much containment you need; this page makes no ranking claim.
Code changes in one repository, in a web UI: OpenHands.
A general assistant that browses, runs commands and keeps skills, on the smallest GPU here: Hermes Agent on an NVIDIA L4.
A sandbox with an outbound network policy around the harness: NemoClaw with OpenClaw, Hermes Agent or Deep Agents Code.
Several agents with roles, goals and tickets: Paperclip.
A terminal pair-programmer against a model you already serve: aider, per its own docs.
Which questions do people ask about agent harnesses?
Can you give an example of an AI agent harness?
OpenHands is one: it takes a goal, asks the model for the next step, runs that step in its container and shows the result. Hermes Agent and OpenClaw are others.
Is an agentic harness the same as an agent harness?
Yes. Both names describe the runtime around the model; this page uses "agent harness".
How do I build my own agent harness?
Start from a framework, write the loop, tool calls and state, then add a sandbox and a permission policy.
Which open-source agent harnesses can run privately?
No measured, dated comparison backs a ranking, so this page gives none. Choose by task, licence, GPU size and how the harness contains commands, using the tables above.
Does a private harness need an internet connection?
The model can run with no hosted API, but setup downloads images and model weights, and tasks such as web browsing need outbound access. An outbound policy decides which hosts stay reachable.
Which sources does this page use?
Microsoft Learn, Agent Harness (external site), read 2026-12-03.
Modular LLM Inference Handbook, Agent harnesses (external site), read 2026-12-03.
aider, connecting to Ollama (external site), read 2026-12-03.
NVIDIA NemoClaw on GitHub (external site) and NVIDIA OpenShell on GitHub (external site), read 2026-11-21.
Launchable facts, GPU types, memory and smoke dates: the 9owls guides linked in the tables, each with its own dated sources.
How was this page made?
Publisher: 9owls. The page has no personal byline.
The definitions table quotes the Microsoft Learn and Modular pages briefly, read 2026-12-03.
Launchable rows come from the 9owls Launchable guides and their fresh-deploy smokes on 2026-11-15 and 2026-11-19. 9owls did not run aider.
Report an error through the contact page.