openharness README

项目的 README,来自 github.com/autonomous-ai/openharness。合并为一个 markdown 文件:README.md。

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.

Four agents working at once in one window: Claude Code and Codex on a MacBook, Cursor on an office desktop, OpenCode on a GPU box. Each pane shows its machine, project and branch.

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.

A new GPU box runs four setup commands and comes online. The app links it with its password, then starts Claude Code there.

Keyboard first

⌘P finds any harness on any machine. ⇧⌘I jumps to the harness waiting on you. ⌘D splits. Every key remaps.

Keyboard only: open a harness by typing a few letters, zoom it, jump to the agent asking a question and answer it, then split a new pane below.

End-to-end encrypted

Code, keys and keystrokes are sealed on your machine. The relay forwards bytes it can't read.

On the left, an agent rotates a secret and redeploys. On the right, the same harness as the relay sees it: numbered frames of ciphertext.

Fast and light

A native app, not Electron. Close it and your agents keep working.

Idle measurements on an M2 Max:

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

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.

flowchart LR
  subgraph laptop["Your laptop"]
    app["Harness app"] -- loopback --> d1["daemon"]
    d1 --> a1["tmux · Claude Code · Codex"]
  end
  subgraph box["Your GPU box"]
    d2["daemon"] --> a2["tmux · OpenCode · Hermes"]
  end
  device["Harness device"] -- USB --> d1
  d1 <-. "direct WebRTC" .-> d2
  d1 <-- "ciphertext" --> relay["Harness relay · no keys"]
  relay <-- "ciphertext" --> d2

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.

The Harness window connects straight to home-server, office-desktop, cloud-server and mac-mini over WebRTC, with 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.

The encrypted WebRTC channel passes through the nearest Cloudflare edge when a firewall blocks the direct path.

Through our relay. A fallback while WebRTC negotiates. The relay holds no keys and forwards ciphertext.

The Harness relay keeps the harness reachable over its WebSocket while WebRTC negotiates. It holds no keys.

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:

curl -fsSL https://harness.autonomous.ai/cli/install.sh | bash
harness login
harness remote-password set
harness start

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:

curl -fsSL https://harness.autonomous.ai/cli/install.sh | bash
hn

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):

claude plugin marketplace add autonomous-ai/openharness --sparse .claude-plugin plugins
claude plugin install harness@openharness

Where Harness Device already set up Claude Code, openharness is there: run only claude plugin install harness@openharness.

Build from source

Needs Node.js 20+, tmux, Xcode and Flutter 3.47+ / Dart 3.13+:

git clone https://github.com/autonomous-ai/openharness.git
cd openharness
(cd cli && npm ci)
make install-cli
cd desktop
flutter config --enable-swift-package-manager
flutter pub get
flutter run -d macos

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.

Shape Lab in Blender: dragging height and twist sliders rebuilds a ribbon lamp, and chosen designs are kept.

Beyond code: Circuits

CircuitJS. Build a filter. Change one resistor. Overlay the new trace, measure the difference and keep both.

Scope Lab in CircuitJS: an RC filter captured at 1 kΩ and 2 kΩ, traces overlaid and measured with cursors.

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.

Alpine Drift, a game made with Godogen: a run is rewound, retried and a moment is pinned with feedback.

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.

A Typst PDF under review: notes are pinned to an area and a sentence, then carried to the next draft.

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

Category Agents and harnesses
Coding Claude Code, Codex, Cursor, OpenCode, Pi, Hermes, Command Code, Devin, Muse Code, Amp, Antigravity, GitHub Copilot, Grok Build, Kilo Code, Machine Monitor, Trail of Bits Skills
Essentials Harness Monitor, Memories
Design Autonomous Workshop, Blender, Bonsai MCP, Creative Direction, Excalidraw, FreeCAD, Generative Art, OpenSCAD, text-to-cad
Engineering Autonomous Circuit, CircuitJS, Home Assistant, KiCad, Orca Slicer, Yosys
Media Comfy MCP, Manim, OpenMontage, Remotion
Music Ableton AI, JUCE Agent Toolkit, Music Studio, Score, Strudel
Productivity Marp, Typst
Science & Data autoresearch-mlx, Data Studio, Lab Bench, marimo, RDKit
Simulation DimOS, Drone Pilot, Foam-Agent, MuJoCo, SimSkill
Games Game Master, Godogen, Phaser, Voxel Worlds
Research Roundtable
Local AI MLX-LM, Model Manager, Ollama, vLLM

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:

{
  "spec": 1,
  "id": "examples/hello-world",
  "name": "Hello World",
  "engine": "codex",
  "workspace": { "template": "template", "marker": "index.html" },
  "agent": { "instructions": "AGENTS.md" },
  "viewer": { "use": "autonomous/web-viewer" }
}
harness dsh install "$PWD/store/viewers/web-viewer" --link
cp -R store/examples/hello-world ../my-harness
harness dsh check ../my-harness
harness dsh install ../my-harness --link

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.

A finger taps the round Harness device, speaks a task to fix the login flow, and the device shows the agent deploying, then a summary of the shipped fix.

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:

Layer What's here
Firmware ESP32-S3, ESP-IDF, a 466 × 466 round AMOLED with touch, microphones and audio. Connects to the host's daemon over USB — no Wi-Fi setup, no account on the device.
PCB The EasyEDA Pro project, the schematic, Gerbers, the bill of materials, and pick-and-place data for assembly.
Enclosure STEP for editing and STL for printing: the housing, an iron counterweight base, the USB clamp, and the button.

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.

openharness (autonomous-ai/openharness)

正在搜索数据库…

这是什么东西?一个 AI 编程智能体的指挥中心:Claude Code、Codex、Cursor、OpenCode 等,在一个原生窗口里并排管理你所有的机器。除了代码,它还能扩展到 CAD、电路、机器人、游戏和音乐领域。
这是桌面应用还是命令行工具?是一个原生桌面应用(明确不是 Electron),附带一个 CLI,每台机器上各运行一个守护进程。每个智能体都在自己真实的 tmux 窗格中运行,关闭窗口后它们仍会继续工作。
我怎么把它跑起来?下载 macOS 或 Linux 版应用,添加一台机器,运行它的安装命令,然后选择 Machines → Link Machine。如果想从源码构建,需要 Node.js 20+、tmux、Xcode 以及 Flutter 3.47+ / Dart 3.13+;make install-cli 可以安装 CLI。
它支持哪些编程智能体?支持 16 种编程智能体和运行框架,包括 Claude Code、Codex、Cursor、OpenCode、Devin、Amp 和 GitHub Copilot。Harness 从不包装智能体本身——它只读取对话记录,并使用厂商自带的 hooks。
它是不是总能和我的机器点对点直连?不一定:在有防火墙的环境下,WebRTC 直连会退回到 Cloudflare TURN(实测往返延迟约 110-180 毫秒)或中继(约 385-505 毫秒),同时 Harness 会一直尝试建立直连。
能在 Windows 上运行吗?README 只提供 macOS 和 Linux 的下载,没有提到 Windows 版本。
我的代码会明文经过你们的服务器吗?任何可读的内容都不会离开你的机器:所有链路都是端到端加密的(ChaCha20-Poly1305、X25519),备用中继不持有任何密钥——它只转发密文。机器都是主动向外拨号连接的,所以不会开放任何端口。
这些智能体除了写代码还能做什么?Store 里有 49 个面向特定领域的 harness:设计用 Blender 和 FreeCAD,电路用 CircuitJS 和 KiCad,机器人用 MuJoCo,游戏用 Godogen 和 Phaser,音乐用 Strudel,化学用 RDKit,文档用 Typst。
领域专属 harness 到底是什么?就是一个包含 harness.json 的文件夹,它把一个编程智能体变成某个领域的专家:里面有该领域的手艺说明和技能、锁定的工具链、项目模板、检查项和一个实时查看器。添加 harness 完全不会改动应用本身,你还可以通过 ⌘N → Hello World 自己写一个。
可选的 Harness 硬件设备是什么?一个圆形的常亮桌面显示屏,基于 ESP32-S3,配 466x466 触控 AMOLED 屏:它显示每个智能体正在做什么,你可以在屏幕上回答问题,或点击语音输入一个新任务。它通过 USB 连接,固件、PCB 文件和外壳模型都在仓库里。
我能用它跑本地模型吗?可以——Store 里有一个 Local AI 分类,包含 Grid、Ollama、MLX-LM 和 vLLM,开放权重的模型可以直接跑在你自己的机器上。
有哪些类似的项目?openrig, ordewell, happy, ruflo, claw-code, SOMA, munder-difflin, Procedura
大小
861.3 MB
星标
1.5K
时长
3个月
提交 · 90 天