
Harness
ai.autonomous.harness由 harness.autonomous.ai 发布v0.4.20更新于 Nov 2, 2026
Start Claude Code and Codex agents the person can watch, wait for them and read their answers.
概览
本地 MCP 服务器,让助手启动 Claude Code、Codex 等编码代理会话,等待其完成并读取回答。
- 可以做什么
- 在用户机器上启动 Claude Code、Codex 等编码代理会话
- 等待运行中的会话结束并读回其回答
- 把会话分组到标签页和工作区中管理
- 从商店安装并启动面向特定工艺的领域专用 harness
- 在 tmux 面板中运行代理,支持每个 harness 独立工作树和本地模型
- 适用场景
- 适合希望让助手把任务交给独立的编码代理执行、启动它们、等待结果并把输出带回对话的场景,包括跨多台已连接机器操作。
- 运行要求
- 以本地 stdio 进程运行,来自 npm 包或 mcpb 包,仅支持桌面端。需要 Harness 应用和每台机器上的守护进程,并安装 CLI、登录(harness login)以及设置用于连接机器的远程密码。从源码构建需要 Node.js 20+、tmux、Xcode 和 Flutter/Dart。
安装
在 SourceWeft 中
- 打开 控制台中的 Harness,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Harness like a boss.
The ultimate harness for coding agents and beyond.
Claude Code at work. Codex at home. Hermes in the cloud. One command center.
Start with code. Then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
Download · How it works · Beyond code · Harnesses · Device
Every agent, side by side
Claude Code, Codex, Cursor, OpenCode, Devin, Amp, Copilot and seven more.
Every machine, side by side
Your laptop, home server and GPU box in one window. Link each one with a password. No SSH keys. No Tailscale. No port forwarding.
Keyboard first
⌘P finds any harness on any machine. ⇧⌘I jumps to the harness waiting on you. ⌘D splits. Every key remaps.
End-to-end encrypted
Code, keys and keystrokes are sealed on your machine. The relay forwards bytes it can't read.
Fast and light
A native app, not Electron. Close it and your agents keep working.
Idle measurements on an M2 Max:
- ⌘N, ⌘O, ⌘T UI: 11–13 ms median, 15–18 ms p95.
- Local terminal echo: 1.1 ms median, 7.2 ms p95, excluding UI rendering.
- Desktop resources: ~0.1% of one CPU core and 304 MiB, including terminal rendering and scrollback; agent CLIs and the daemon are excluded.
Desktop results use a Release fixture with 16 terminals and 1,000 scrollback lines each. See the workflow and resource benchmarks and remote P2P, TURN and relay results for workloads, slow tails, connection failures and raw data.
Built the way developers work
- Real terminals. Every agent runs in its own tmux pane. Scrollback, colors and keys just work.
- Your CLIs, as they are. Harness never wraps an agent. It reads transcripts and uses the vendor's own hooks.
- A worktree per harness. Start an agent on its own branch. Your working copy stays clean.
- Remap every key. One JSONC file, reloaded on save. Chords up to four strokes.
- Local models. Run open-weight models on your own machines with Grid, Ollama, MLX-LM and vLLM.
- Bytes, not pixels. Remote terminals stream text peer to peer. No remote desktop.
- Open source, all of it. App, CLI, daemon, relay and device, in this repo.
How it works
In the workspace, a harness is one running session of an agent such as Codex
or Claude Code, with its own conversation and working context. A tab groups
harnesses. Use New Harness to start one and New Tab to group work.
Harnesses in the same tab can message each other with harness send: Agent Messages,
an experiment of your account, off by default and turned on in Settings ▸ Experimental.
The Store offers harnesses with instructions, tools, and optional viewers for specific crafts. Install a harness, then start it in your workspace. See the Naming System for the complete naming rules.
One daemon per machine runs your agents in tmux. It dials out, so no machine opens a port.
Every path is sealed end to end: ChaCha20-Poly1305, X25519 session keys, pinned Ed25519 identities. Harness picks the best path on its own.
Direct. A WebRTC channel between your machines. No server in the path.
Through Cloudflare. When a firewall blocks the direct path, the same encrypted channel runs over Cloudflare's TURN network. Harness keeps trying for a direct path.
Through our relay. A fallback while WebRTC negotiates. The relay holds no keys and forwards ciphertext.
The architecture guide has the details.
Get started
Download the app for macOS or Linux.
Add a machine. Run this on it, then Machines → Link Machine in the app:
In a terminal: the same line installs hn — tmux's keys and your ~/.tmux.conf, with every
harness on every machine (hn). The first time, hn signs in and connects the
computer:
For agents: Claude Code and Codex can start, wait for and read other harnesses with the harness skill
(harness.autonomous.ai/agents, which has the Codex lines too):
Build from source
Needs Node.js 20+, tmux, Xcode and Flutter 3.47+ / Dart 3.13+:
make install-cli installs this checkout's CLI and restarts the local daemon. See the
development guide.
Beyond code: Build across disciplines
“World-class entrepreneurs are polymaths.” — Peter Thiel
Coding agents can build far more than software. Give one a harness and it works with the real tools of a craft. You steer in a live viewer. Every clip below is a real session.
Beyond code: Design
Blender. Ask for a lamp and the sliders that matter. Turn them and Blender rebuilds the geometry. Keep the versions you love.
Beyond code: Circuits
CircuitJS. Build a filter. Change one resistor. Overlay the new trace, measure the difference and keep both.
Beyond code: Robotics
MuJoCo. Pin a moment in a robot's run. Shove it with 100 N. Watch two futures split.
[A Unitree Go2 in MuJoCo: the original and shoved futures play together with a height chart.]
Beyond code: Games
Godogen. Your agent makes a playable game. Miss a jump, rewind, try again. Pin the moment so the agent sees what you mean.
Beyond code: Music
Strudel. The track is code you can perform. Bring voices in and out, mark the good parts, keep the WAV. Hear it.
[A live Strudel performance: voice lanes play beside the code, and the take is kept with markers.]
Beyond code: Chemistry
RDKit. Turn a bond and watch the molecule move. Follow the real energy curve. Keep the pose worth a closer look.
[A bond scan in RDKit: the molecule rotates through sampled poses along an MMFF94 energy curve.]
Beyond code: Documents
Typst. Your agent writes a real PDF. Circle a detail, quote a line, leave a note. The next draft answers it.
Domain-specific harnesses (DSH)
Code is the common medium. Geometry scripts make parts. Netlists make boards. Animation code makes film.
A domain-specific harness turns a coding agent into a specialist. It brings the craft's instructions and skills, a pinned toolchain, a project template, checks and a live viewer. You chat on one side. The board, the part or the game takes shape on the other.
The agent does the reasoning. The harness supplies the tools and the view. It's a folder with a
harness.json, so adding a craft never touches the app.
49 harnesses in the Store
Upstream open-source tools and original workflows. 10 shared viewers install alongside the harnesses that need them. Unlisted experiments are not shown.
Build your own
The next harness is the one for your craft. Wrap a tool you love or your team's toolchain. It can live here or in your own repo. From this repo:
Press ⌘N → Hello World and say hello. The authoring guide covers the rest.
Harness device
Get a Harness device, or build your own from the files below. The firmware guide lists the supported boards and build commands, and the hardware guide covers the design files.
The optional Harness device is a round, always-on display that sits beside your keyboard and shows your agents at a glance: what each one is doing, which one has finished, and which one is waiting on you. Read a question and answer it on the screen, or tap and speak a new task, without switching windows.
It is open hardware, all the way down. This repository has everything it takes to build one:
Contribute
Make a harness for a tool you love. Improve terminals, engines, the daemon or the relay. Port the firmware. Start with the contribution guide.
Architecture · Product direction (proposal) · Development · Extending · CLI · Security · MIT license; upstream tools keep their own.
来源:README.md,提交 cd9684c
工具
0版本历史
1- v0.4.20最新Oct 19, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分