句柄
每个面板、标签页、工作区和项目都有一个句柄,例如 @panel:0x36。命令会输出句柄,也接受句柄,上一条命令的输出就是下一条命令的输入。
人可以执行的每一项操作,Agent 都可以通过 orchbee 命令行完成。
npm install -g orchbee@next协作
不再逐个盯着彼此孤立的终端。Agent 可以 prompt 和拉起其他 Agent、读取彼此的输出、跨终端发送命令、分派任务并协同推进;你只需在一个地方掌握全局。
orchbee 命令。左侧的 Claude Code 通过自己的 Shell 工具执行这些命令,Codex 在右侧的面板中启动。每一步都是一条 orchbee 命令。上方的 Claude Code 通过自己的 Shell 工具执行这些命令,Codex 在下方的面板中启动。语法
命令族、动作、目标,然后是选项。同一个句柄在每条命令里指的都是同一个面板。
agent、terminal、panel、tab、workspace,以及下表中的其余各项。list、start、prompt、wait、read。orchbee agent list 输出的句柄,或你给 Agent 起的名字。--wait 会等到 Agent 空闲、完成或需要处理。输出
默认输出给人看的文本。点选一条命令。
# HANDLE AGENT NAME STATE CWD 1 @panel:0x2a claude-code - Working C:\demo\shop-api 2 @panel:0x36 codex - Idle C:\demo\shop-api 3 @panel:0x41 opencode - Done C:\demo\shop-web
Started Codex in a new Panel on the right (Panel @panel:0x36). Next: orchbee agent wait --panel @panel:0x36 --until idle
Prompt submitted to @panel:0x36.
@panel:0x36 matched idle at state sequence 3 after 8412ms
› Review the current changes • Ran git diff --stat 3 files changed, 41 insertions(+), 9 deletions(-) • Read src/orders/routes.ts • Read test/orders.test.ts One test still posts quantity 0 on purpose. Suggest updating the fixture in orders.test.ts.
{
"result": {
…
"items": [
{
…
"cwd": "C:\\demo\\shop-api",
"name": null,
"ordinal": 1,
…
"provider": "claude-code",
"source": "terminal",
"status": "working",
…
},
…
],
"kind": "listed",
"nextCursor": null,
…
},
"schema": "orchbee.agent.list",
"source": { …, "kind": "agent-projection", … },
"version": 1
}Orchbee
A terminal for running and coordinating AI Agents.
Usage:
orchbee [<command>] [<options>]
Quick start:
orchbee Open the terminal interface.
orchbee workspace create Create a workspace and its first terminal.
orchbee agent list See your active Agents.
Terminals and layout:
tui Open the terminal interface.
workspace Create and organize workspaces.
tab Create, arrange and close tabs.
panel Split, arrange and control terminal panels.
terminal Read terminal output and send input.
layout Save, restore and adjust terminal layouts.
client Inspect connected terminal clients.
Agents and workflows:
agent Find, run and interact with AI Agents.
project Group related workspaces into projects.
worktree Create and manage Git worktrees.
launch-profile Manage reusable terminal launch settings.
command Find and run your configured commands.
events Observe events from a running session.
notification Show notifications in the terminal interface.
Sessions and connections:
status Show the current terminal session status.
doctor Check whether Orchbee works here.
operation Inspect or continue an earlier operation by its
request ID.
server Manage the session's background service.
session Find and reconnect to named local sessions.
machine Manage saved remote machines.
Setup and integration:
config Check, print and reload settings.
diagnostics Collect diagnostics to send when you ask for help.
update Install the newest version of the channel.
uninstall Remove the installed Orchbee; data stays unless
--delete-data.
api Read snapshots and offline API schemas.
completion Generate shell completion scripts.
Global options:
-h, --help Show this help and exit.
-v, -V, --version Print the installed version.
--skill Print the offline Agent guide.
--session <name> Select a local Orchbee session; default: default.
--machine <target> Select a saved SSH machine.
Use orchbee <command> -h or orchbee help <command> for details.
Use --format text|json where supported; see each command for its output form.
Configuration: C:\Users\dev\.orchbee\config.toml. ORCHBEE_HOME moves the whole
data folder; ORCHBEE_CONFIG_FILE moves only the configuration file. Use
orchbee config check to inspect it and orchbee doctor to check the whole
installation.此处的 JSON 文档为节选。
细节
每个面板、标签页、工作区和项目都有一个句柄,例如 @panel:0x36。命令会输出句柄,也接受句柄,上一条命令的输出就是下一条命令的输入。
默认输出给人看的文本。在支持的命令上加 --format json,得到带有模式名和版本号的文档,供脚本使用。
orchbee agent wait 一直等到 Agent 空闲、完成或需要处理;orchbee terminal wait-output 一直等到某段文本出现。不必写轮询。
orchbee --skill 输出一份写给 Agent 的离线指南:有哪些命令、怎么用。Agent 读过它,就知道如何操作 Orchbee。
orchbee completion 为 bash、elvish、fish、PowerShell 和 zsh 生成补全脚本。
0 表示成功,2 表示用法错误,3 表示目标不存在,7 表示超时,130 表示已取消。脚本可以据此分支。
速查
orchbee <command> -h 可查看其中任意一项的帮助。
curl -fsSL https://orchbee.com/install.sh | sh -s -- --desktopcurl -fsSL https://orchbee.com/install.sh | shnpm install -g orchbee@next