No Things found in this revision yet.
Browse this revision’s files →The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
Loading README and project media…
https://github.com/user-attachments/assets/97848065-61c6-40df-be66-a8247f69aa4c
The way we use computers changed. The hardware didn't.
Mouse and keyboard assume your hands are on the work — you type the character, you drag the file, you click the button. That held for forty years. It stopped about two years ago: most of what you ship now, you described and an agent wrote. Your input became intent, target and judgment.
Your desk never caught up. So your agents live in two tmux panes, a browser tab, and a server you keep forgetting about, and you alt-tab around to find the one that finished.
Harness is the device for that. Keyboard in the middle, mouse on the right, Harness on the left. Say one sentence and the work goes to whichever machine that agent lives on. The screen shows all of them at once.
It drives the agents you already use:
Two ways to integrate. We support both CLI and API.
| CLI | API | |
|---|---|---|
| Your agent is | a command you run — laptop, server, anywhere | a service on your own infrastructure |
| You write | a normalizer, in TypeScript, here | an HTTP endpoint, in any language |
| You ship it | as a pull request to this repo | by deploying it yourself |
| Start at | cli/src/engines/ | provider/ |
To get started, run this:
curl -fsSL https://harness.autonomous.ai/cli/install.sh | bash
harness login
harness start
harness login opens your browser for SSO and stores this computer's session. harness start refreshes
that session when needed and connects the local adapter. There is no token to copy; the durable computer
id keeps later starts attached to the same machine.
Runs on macOS and Linux (Ubuntu 22.04+ verified). Node ≥ 20 and tmux are the
prerequisites — see cli/README.md.
In the code these are named engine (CLI) and provider (API) — the folder names you'll see:
# CLI — typecheck and replay the recorded-session fixtures
cd cli && npm install && npm run typecheck && npm test
# API — run the reference implementation, then check your endpoint against it
cd provider/reference-provider && npm install && npm run dev
npm run conformance -- --url https://your-endpoint --key <credential>
Your agents stay your processes, on your hardware, with your credentials.
( ◉ ) Harness
│
╔═════════╧═════════╗
║ Harness Relay ║ end-to-end encrypted
╚═════════╤═════════╝
┌───────────────────────┼───────────────────────┐
│ │ │
your laptop your server your platform
`harness login` + `harness login` + your HTTP API
`harness start` `harness start`
│ │ │
claude · codex hermes · muse agents running on
cursor · amp · … opencode · kilo · your own servers
grok · agy · copilot
└───────── CLI ─────────┘ └─────── API ───────┘
On the CLI path it's always on — there's no switch for it. Everything between your machines and the device is ciphertext by the time it reaches us.
Harness Relay stores and forwards. It holds no key material, so it can't read a prompt, a diff, a result, or the name of what you're working on.
The crypto core is a byte-identical twin of the browser's copy, with a drift-guard test that fails if
the two ever diverge, and committed self-vectors that catch a crypto library changing underneath it.
The code is in cli/src/lib/e2ee/.
Harness welcomes two kinds of CLI integration. Open an issue before writing code so we can confirm the integration shape and the real software a maintainer will need to reproduce it. The complete review and pull-request workflow is in CONTRIBUTING.md.
To add an agent CLI such as Claude Code or Grok, start by recording a real session from the real binary. The recording is the source of truth for transcript fields, event names, tools, turn boundaries, model metadata and capabilities — do not infer them from another engine.
An engine contribution covers process detection, session discovery, transcript reading and event
normalization, prompt/control behavior, product surfaces, and replay fixtures. Follow
cli/src/engines/README.md for the dependency-ordered checklist, then
run:
cd cli && npm install && npm run typecheck && npm test
Harness watches tmux, with nothing to configure: tmux new then an engine produces an agent. (Herdr
was supported and has been retired — the backend contract it was written against is still in the tree,
so it remains the worked example of what a second multiplexer has to implement.)
Another multiplexer must be added alongside tmux, not replace it. Before coding, confirm that a
process inside a pane can identify that pane with a stable, multiplexer-namespaced id — and that your
tool's presence can be detected without running it, since a machine that does not have it must pay
nothing. The integration must support listing panes with their PID and working directory, sending
literal text and keys, capturing pane output, displaying a message, and creating and killing sessions.
The contribution must also carry the new pane identity through process discovery, registry persistence and hooks, and scrub it from recap workers so they cannot register as phantom agents. See Adding a multiplexer for the compatibility requirements, then run the normal CLI checks plus the real multiplexer discovery suite:
cd cli && npm install && npm run typecheck && npm test
npm run test:tmux-real
npm run test:herdr-real