The Harness

全部包

acp

The Harness as an Agent Client Protocol agent for editors such as Zed

harness install acp
最新版本
0.2.0
Harness 版本
>=0.58,<2
平台
windows, macos, linux
依赖
无

提供

命令
acp

说明

The acp package makes The Harness an agent of the Agent Client Protocol (ACP), so an editor such as Zed drives the agent on this computer from its agent panel. harness acp speaks ACP on stdin and stdout; the editor starts it and talks to it.

Install

harness install acp

Use with Zed

Add the agent to Zed's settings.json:

{
  "agent_servers": {
    "The Harness": {
      "command": "harness",
      "args": ["acp"]
    }
  }
}

Then open a new thread with The Harness in the agent panel. Any other ACP client (JetBrains IDEs, Neovim with CodeCompanion, Emacs with agent-shell) starts the same command: harness acp.

What it does

harness acp --workspace NAME picks where tasks run, as harness run --workspace does (default auto). Logs go to stderr.

Protocol

ACP version 1: initialize, session/new, session/prompt (text and resource links), session/cancel; the agent sends session/update (agent_message_chunk, agent_thought_chunk, tool_call, tool_call_update) and session/request_permission. A prompt ends with end_turn when the agent has answered, cancelled after a cancel and refusal when the conversation ends in an error. Loading earlier sessions, images, audio and the client's MCP servers are not supported.

版本

版本Harness 版本依赖sha256发布日期
0.2.0 >=0.58,<2 无 96ab658f10e6 2026-11-13 下载
0.1.1 >=0.58,<2 无 bfafdffee5d9 2026-11-10 下载
0.1.0 >=0.58,<2 无 4a20c56cd6c5 2026-11-03 下载

更新日志

0.2.0

0.1.1

0.1.0