Sandbox
A fix made on a machine you can throw away.
The agent installs, breaks and retries on its own machine and branch, and nothing reaches the branch anyone else reads.
The parts around the model
The open-source CompanyOS
An agent harness is every part of an agent that is not the model: the loop, tools, sandbox, approval rule and the state that outlives a run. Two teams on one model finish different amounts of work because those parts differ. My pick is Kortix, the open-source CompanyOS, where each part is configuration in the project repository, so a change made there arrives as a diff beside the code; I work on Kortix’s marketing, so weigh that accordingly.
One isolated sandbox per session · Approval gates off until you set them · Session work reaches main through a change request

# yaml-language-server: $schema=https://kortix.com/schema/kortix.schema.json
#
# {{projectName}}: the Kortix workspace manifest. Agents, what each may use,
# triggers and sandboxes live here, committed beside your files.
# Reference: https://kortix.com/docs/developers#kortixyaml-referenceInside one project
Four sessions on one project, each showing which piece of the harness made it work.
Sandbox
The agent installs, breaks and retries on its own machine and branch, and nothing reaches the branch anyone else reads.
Approval rule
A held call waits until someone who can approve actions in the project decides.
Session record
A reviewer reads the diff on the branch, not a chat transcript.
| File | Change | State |
|---|---|---|
| invoices/total.ts | rounding fix | reviewed |
| invoices/total.test.ts | 2 cases added | passing |
Configuration
kortix.yaml declares the machine image, connectors and triggers, and secret names and grants.
Two harnesses, one platform
Kortix is the platform that runs a harness. Every session runs an open-source agent harness. The two beside it are harnesses, described in each project’s own words, as of October 2026.
| Criteria | Kortix (CompanyOS) | Codex | TrueForge |
|---|---|---|---|
| What it is | The open-source CompanyOS | The harness behind OpenAI’s App, CLI and IDE extensions | The runtime layer that turns an LLM into an agent |
| Open source | Yes. Read it, fork it, audit it. | Yes, the harness is open source | Yes, on the project’s repo |
| What it owns | One isolated sandbox per session. | Conversation state, streaming, tools, sandbox and approval policies | The loop, MCP tools, skills, sandboxing, approvals and context |
| The approval rule | Approval gates you set. Off until you set them. | Sandbox and approval policies you configure | Approvals built into the loop it runs |
| What survives | Session work reaches main through a change request. | Conversation state carried across turns | SQLite locally, Postgres when hosted |
Kortix cells quote Kortix’s own words, from Kortix on GitHub and the Kortix docs. The manifest excerpt is the starter kortix.yaml and the session-branch line is from agents/worker.md. Rival cells say what the project documents, checked October 2026.
Questions
The term in plain words first, then the questions that follow from it.
It is the half of an agent that is not the model: the loop, the tool calls, the sandbox and the rules for what may run without a person. What an agent harness is sets out the four parts and where a project keeps them.
The word describes the frame around the model. The model reasons; the harness holds the loop, the tools and the approval rule that turn a reply into finished work. The definition page follows the term through the sources that use it.
Yes. Claude Code is an agentic coding tool for the terminal, IDE extensions, desktop and web, and its harness is the part that is not the model: the loop, the tools and the approvals (Anthropic docs). Anthropic does not publish that harness's source.
No single harness is. Who approves a call, what the session leaves behind and which machine it ran on decide the fit, and each of those is something you can read before you choose. Kortix is the open-source CompanyOS that runs one, and it answers all three from the repository the project keeps.
The sandbox, the rule and the branch are in the repo before the first session.
Open source · Self-host, VPC, or on-prem · One repo for agents, skills and memory