Ensemble runs a request with a team of coding agents in Orca. A lead agent talks to you; members run in their own Orca terminals, each on its own agent CLI and model (Claude, Codex, Gemini, OpenCode, …). The lead works in one of two collaboration modes, or picks one per request:
| Mode | Pattern | How it goes |
|---|---|---|
| Team | MA-08, shared board | Intake with you first (the lead restates the request and asks), then a brief and a task plan you confirm. Members share a task board (dependencies, atomic claims, the plugin hands ready tasks to idle members), post on a team board (questions, findings, answers), claim the files they edit, optionally get their plans approved, and review each other's done tasks in a review round. |
| Delegation | MA-04, orchestrator–workers | The lead splits the request into self-contained packets, one per role; each member works alone in its own context and reports only to the lead, who sums up. |
| Auto | The lead picks team or delegation per request; the first run fixes the session to that mode. | |
| None | No members: the lead works alone. |
Everything the team does is recorded as a data flow: who wrote into which part of the mode (the brief, the task board, plan approval, the board, file claims; or the split, the sub-agent contexts, the reports and the summary) and what each part handed to whom. The plugin shows it live.
Task board of a team run (Kanban by state, role filter, plans and sent-back tasks, the task's history):
Delegation run: task split, sub-agent contexts, reports and the lead's summary:
Ensemble panel in the right sidebar: the brief waiting for your confirmation, the data flow, and a page per component (task board, team board with read progress):
Team editor for .agents/teams/*.team.json:
Some screenshots show a generated demo run; the Chinese ones below were taken in Orca during real runs.
-
Ensemble panel (right sidebar, robot icon): the focused workspace's team session, its mode (switch it, or see it locked), the brief waiting for your Confirm, the members with their live state (click to show a member's terminal), and the run's data-flow diagram with a page per component. Members are named after their role, and each shows its agent CLI's mark with the model's mark on the corner.
- Start: pick a team file of the project or a preset, write the request, choose this workspace or a new worktree, the mode and the language; or make an agent already running here the lead.
- Teams: the project's team files (open one in the team editor), create a team, plan a team with AI (an agent reads the project, checks which agent CLIs you have and writes the team file), and the presets (copy one to the project, rename or delete it). The list follows the files: after you save a team in the editor, a renamed team shows here within a few seconds, and the refresh button reads the files again right away.
-
Team editor:
.agents/teams/*.team.jsonfiles open in a visual editor (Orca's Source view still shows the JSON): mode cards, language, the lead's agent/model/effort, fixed roles (folders, instructions) and the candidate pool (described by what each is good at and must not do), inline validation, undo/redo, Save (⌘S), Save as preset, Start a session. Edits reach Orca as you type; the file changes when you save it in Orca.- Chat or terminal: for an agent Orca can open as a chat, each runtime (lead, role, candidate) has an Opens as choice: Chat (GUI), Orca's own chat client, or Terminal (CLI). claude, codex, grok, cursor, kimi and copilot default to a chat; pi and opencode default to a terminal, because a pi chat starts and stays idle on Orca 1.4.261. Where Orca refuses a chat, the agent starts in a terminal instead and the run says so. A chat has no PATH from the launch hook, so its first message carries the
agent-teamcommand's full path, and the plugin's messages reach it as Orca mail. - Models from Orca: each model list offers the models Orca's own model picker shows for that agent, the ones of the account or gateway it runs on, with each model's name (for example
group/auto-claude-opus[1m]· Claude Opus). The effort list follows the chosen model (Codex models that takeultraoffer it). When Orca has no list for an agent yet, opening the list asks Orca to make one, as its picker does; an agent Orca can't list (not installed or signed in) keeps the plugin's suggestions, and the list says where it came from. Any model id can still be typed. - pi models: Orca passes pi only a
provider/idmodel (pi --list-modelslists them, with the provider). One provider's model can be written bare (deepseek-v4.1-flash) and is completed at start; the editor warns and names the choices otherwise. On an Orca that can't give pi a model at launch (before 1.4.261), a pi member starts in a terminal and the plugin adds pi's own--modeland--thinkingto its command line.
- Chat or terminal: for an agent Orca can open as a chat, each runtime (lead, role, candidate) has an Opens as choice: Chat (GUI), Orca's own chat client, or Terminal (CLI). claude, codex, grok, cursor, kimi and copilot default to a chat; pi and opencode default to a terminal, because a pi chat starts and stays idle on Orca 1.4.261. Where Orca refuses a chat, the agent starts in a terminal instead and the run says so. A chat has no PATH from the launch hook, so its first message carries the
-
Run report: a full-width tab per run: the data-flow diagram, members, a Kanban task board, the brief, plans, a chat-like team board with read progress, file claims; for delegation the split, sub-agent contexts, reports and summary.
-
@teamin Orca's own new agent: start any agent in terminal mode with a first prompt such as@team web auto Add a dark mode toggle to the settings pageand it becomes the lead of the team
web(a team file or preset name; optional when the project has one team), in the given mode (optional). Turn it off in Settings → Plugins → Ensemble. -
Status bar: active runs, working members and briefs waiting for you; click to open the latest run report.
-
Chinese or English: set per team (or follow Orca's language): the plugin's instructions to the agents, their replies, briefs and board posts, and the plugin's own UI.
Any agent or shell on the same Mac, inside Orca or not (Claude Code, Codex, a script), can run tasks through a team with the orca-ensemble command. Run Ensemble: Install the orca-ensemble command in Orca's command palette once: it writes ~/.local/bin/orca-ensemble, which always runs the plugin Orca is running now, even after updates.
orca-ensemble projects # Orca's projects, their teams, the presets
orca-ensemble presets # the preset teams: lead, roles, candidates, mode
orca-ensemble start ~/code/app --team web "Add a dark mode toggle to the settings page" --wait
orca-ensemble start ~/code/app --preset "Fast pair" "Fix the flaky login test"
orca-ensemble wait <lead> # until the lead replies, a brief waits for confirmation, or it needs a permission
orca-ensemble say <lead> "Keep the toggle in Appearance" # answer the lead, as the person
orca-ensemble confirm <lead> # confirm a team-mode brief (as the panel's Confirm)
orca-ensemble report <lead> # the run: brief, tasks, what each member did
orca-ensemble sessions | status <lead> | mode <lead> <mode> | end <lead>start takes --preset (a preset team, by name, id or a unique start of its name; it works in any project, even one without a team file), or --team (a team file of the project; a preset name also works when no team file has it), plus --mode, --language and --worktree <name> (a new worktree). Without either it uses the project's only team, else the "Default team for @team" setting; <lead> is the id start prints, and a prefix is enough. Add --json to any command for JSON. Sessions started this way are ordinary sessions: they show in the Ensemble panel and the run report. The command talks to the plugin over a socket only you can open, and it needs Orca running.
Orca plugins can't give agents new tools, so the plugin puts a command, agent-team, on the PATH of every agent Orca starts (an agent.launch.before hook). The lead runs agent-team status, agent-team delegate '<json>', agent-team brief, agent-team kickoff, agent-team wait, …; members run agent-team read, task, post, claim, report. Each call goes over a Unix socket to the plugin's worker, which knows the caller by its Orca terminal (ORCA_TERMINAL_HANDLE). The socket lives in ~/.orca-ensemble, a folder only you can open (on Windows it is a named pipe), and agent-team and orca-ensemble only connect to a socket that belongs to you, so another user on the same machine can't answer in the plugin's place. agent-team help [command] lists the commands and their JSON fields.
- Members start with
orca agent launch(a chat or a terminal, the role's model and effort) in the lead's checkout; the launch hook ties each launch to its terminal and gives Claude its standing instructions as an appended system prompt (other agents get them in their first message). - Messages to idle agents are typed with
orca terminal send, never into an agent mid-turn. Messages to a busy agent arrive in the output of its nextagent-teamcommand. - The lead never waits in a command for its members: after handing out work it ends its turn, so its terminal or chat stays free while they work. The plugin messages it when it is needed: every member of a delegation batch has reported, a team round has finished, a plan waits for approval, a member writes to it, or a member waits for you on a permission prompt (it then tells you which one).
agent-team waitreturns at once with what has come in; a notice the lead was too busy for is sent when its turn ends, or by the minute sweep. - A member whose turn ends while it still holds a team-mode task (it waits for another member, or for a background command) keeps the task, and its last reply goes on the board as an update, not as "done". The plugin reminds it twice; after that the lead hears which task is still held and wakes the member or gives the task to someone else. The review round starts only once every task is done.
agent-team board '{"task":"T1"}'(members:agent-team read) shows one task in full, with its whole result. - Turn ends come from Orca's agent status and, for Claude, its session transcript (
stop_reason: end_turn), so an agent's idle status while it starts up is not taken for a finished turn. - Team mode's intake can't be skipped:
agent-team kickoffneeds your own words confirming the brief, found in the lead's transcript or on its screen after the brief was recorded, or your Confirm in the panel. - State lives in
~/.orca-ensemble/<plugin>/(sessions and runs). Team files live in the project,.agents/teams/*.team.json, shared through git. A run report opens on a small link file in.agents/runs/, which the plugin keeps out of git.
Native delegation. When the lead runs agent-team delegate or kickoff, the plugin has that command run orca agent launch in the lead's own shell, so Orca treats the lead as the one delegating: each member shows in the lead's chat as Handed off to agent, exactly as when an agent in Orca launches another one itself. In delegation mode each task is also an Orca task assigned to its member (orchestration task-create and dispatch, without injecting another turn); when the member runs agent-team report, the plugin sends Orca's worker_done from the member's own shell, so the result shows in the lead's chat as Update from worker and Orca settles the task. Team-mode members work many turns (claims, reviews, mentions) and are tracked by the plugin. On an older Orca without orca orchestration, the plugin launches and reads members itself.
Permissions. A member the plugin starts in a terminal runs with full access (--dangerously-skip-permissions for Claude, --dangerously-bypass-approvals-and-sandbox for Codex, the same arguments Orca's own Full access uses), so delegated work never waits on a prompt. A chat's permission is Orca's per-agent setting (Settings → Agents), which a launch can't change: set the agents you delegate to as chats to Full access there, or choose Terminal (CLI) for them in the team.
Model lists. Orca gives plugins no method for its model lists, so the worker reads them as Orca's own orca CLI does: it reads orca-runtime.json in Orca's profile folder (the local socket and its token) and sends one request, agentSession.modelCatalog, over that socket. It sends nothing else with the token, keeps no copy of it, and only connects to a socket owned by you. This is an Orca-internal request: if an Orca update changes it, the editor quietly falls back to the plugin's own suggestions.
Agents. claude, codex, omp and grok open as chats by default; pi always runs in a terminal (its chat starts and does nothing). omp takes its own provider/model ids and roles; the team editor lists their models from Orca, like every agent's. When Orca has no list for omp or pi, it asks the agent itself: omp models --json (OMP 19; omp --list-models before it) and pi --list-models.
- Orca 1.4.259 or later (plugin host API 1.9). Older Orca can't load this plugin.
- Node.js on the PATH for the
agent-teamcommand (Orca's bundled runtime is used as a fallback). - Agents in terminal mode. Orca's Chat UI sessions don't run launch hooks, so
@teamandagent-teamwork only in terminal agents; the panel always starts terminal agents. - Local workspaces. SSH and remote Orca servers are not supported yet.
- macOS, Linux or Windows. On Windows, set Orca's terminal shell to Git Bash: the plugin rewrites an agent's launch command as a POSIX shell command, and
agent-teamis a shell script, so neither runs in PowerShell or cmd yet. An agent that runs its own commands in PowerShell can't useagent-teamyet either. Agents in WSL workspaces don't getagent-team, and the panel doesn't start teams there.
orca plugin install https://github.com/DueGin/orca-ensembleor Orca → Settings → Plugins → install from the Git URL above. Review and enable it: it asks for workspace, agent, terminal, notification and storage access. dist/ is committed, so a Git install needs no build.
From a folder (development):
npm install
npm run build
orca plugin dev load . # asks you to approve its access once{
"version": 1,
"name": "web",
"goal": "Ship features in the web app end to end",
"mode": "auto",
"language": "en",
"lead": { "agent": "claude", "model": "opus", "effort": "high" },
"roles": [
{ "name": "frontend", "agent": "claude", "model": "sonnet", "folders": ["web/src"], "instructions": "Builds the React UI." },
{ "name": "backend", "agent": "codex", "model": "gpt-5.5-codex", "folders": ["api"], "instructions": "Owns the HTTP API." }
],
"candidates": [
{ "name": "", "agent": "gemini", "model": "gemini-2.5-flash", "notes": "Good at: quick research, reading large files\nDo not give it: changes to the API" }
]
}Roles own stable areas; candidates are a pool the lead assigns work to by their notes (and treats "do not give it" as a hard rule). Either may be empty, not both. model and effort are optional (the CLI's defaults). language is zh, en, or left out to follow Orca.
npm run typecheck && npm test # unit tests, including a fake Orca that runs both modes end to end
npm run watch # rebuild dist/ on change; Orca reloads a development pluginLayout: src/worker/ (the plugin worker: hooks, the agent-team server, runs, the panel API), src/cli/agent-team.ts (the command), src/shared/ (run model, task board, data flow, prompts in English and Chinese), src/ui/ (panel, team editor and run report frames, React), dev/ (static harnesses for the UI with a fake window.orca).
Versions: each release is a git tag vX.Y.Z, the version in orca-plugin.json and package.json. To release, bump both, run npm run build, commit, then tag and push the tag.
Ensemble 在 Orca 里用一个智能体团队完成需求。你只和协调器对话;成员各自运行在自己的 Orca 终端里,每个角色用自己的 agent CLI 和模型(Claude、Codex、Gemini、OpenCode……)。协调器按下面的协作模式工作,也可以按需求自动选择:
| 模式 | 模式编号 | 过程 |
|---|---|---|
| 团队 | MA-08,共享黑板 | 先需求对接:协调器复述需求、提问,再写出需求简报和任务计划,由你确认。成员共用任务板(依赖、原子认领、插件把就绪任务派给空闲成员),在团队黑板上提问、报告问题、回答,认领要改的文件,可选计划审批,最后一轮互相评审已完成的任务。 |
| 委派 | MA-04,编排者-执行者 | 协调器把需求拆成独立的任务包,每个角色一个;成员各自在自己的上下文里完成,只向协调器汇报,协调器汇总。 |
| 自动 | 协调器按需求选择团队或委派;第一次运行后整个会话固定为该模式。 | |
| 无 | 不启动成员,协调器独自完成。 |
团队的每一步都会记录成数据流:谁写入了模式的哪个组件(需求简报、任务板、计划审批、黑板、文件认领;或任务拆分、子智能体上下文、结果汇报、汇总),以及组件交给了谁。插件实时展示。
在 Orca 里打开的运行报告(一次真实的团队运行):成员、数据流图、最近的数据流,下方按组件分页:
浅色主题下的运行报告:
右侧边栏的**「智能体团队」面板**(Orca 中实拍)和团队编辑器:
-
「智能体团队」面板(右侧边栏,机器人图标):当前工作区的团队会话、协作模式(可切换,自动模式确定后显示锁定)、等你确认的需求简报、成员及实时状态(点击可打开成员终端)、运行的数据流图,每个组件都能点进详情。
- 开始:选项目里的团队文件或预设,写需求,选择在当前工作区或新建 worktree、模式和语言;也可以把当前工作区里已经在运行的 agent 设为协调器。
- 团队:项目里的团队文件(在团队编辑器里打开)、新建团队、用 AI 规划团队(一个 agent 阅读项目、查看你装了哪些 agent CLI,然后写出团队文件),以及预设(可复制到项目、重命名或删除)。列表会跟着文件更新:在团队编辑器里保存之后,改过名的团队几秒内就会显示新名字;右上角的刷新按钮会立即重读文件。
-
团队编辑器:
.agents/teams/*.team.json会用可视化编辑器打开(Orca 的 Source 视图仍可看 JSON):模式卡片、语言、协调器的 agent / 模型 / 推理强度、固定角色(目录、说明)和候选成员池(写清擅长什么、不要交给它什么),即时校验、撤销重做、保存(⌘S)、另存为预设、开始会话。编辑会实时交给 Orca,保存文件时才写入磁盘。- 图形界面或命令行:对 Orca 能以聊天打开的智能体,协调器、角色和候选成员各有一个打开方式选项:图形界面(Orca 自带的聊天客户端)或命令行(终端)。claude、codex、grok、cursor、kimi、copilot 默认图形界面;pi 和 opencode 默认命令行,因为在 Orca 1.4.261 上 pi 的聊天会启动后不干活。选图形界面但 Orca 打不开时,会改用终端启动,运行结果里会写明。聊天没有启动钩子给的 PATH,所以它的第一条消息里带着
agent-team的完整路径,插件给它的消息以 Orca 邮件送达。 - 模型来自 Orca:每个模型下拉列出的是 Orca 自己的模型选择器为该智能体显示的模型,也就是它所用账号或网关接入的模型,并附模型名称(例如
group/auto-claude-opus[1m]· Claude Opus)。推理强度跟随所选模型(支持ultra的 Codex 模型会多出这一档)。Orca 还没有某个智能体的列表时,打开下拉会请 Orca 去列,和它自己的选择器一样;Orca 列不出来的智能体(没装或没登录)保留插件自带的建议值,列表底部会注明来源。也可以直接输入任意模型 id。 - pi 的模型:Orca 只把
provider/id形式的模型交给 pi(pi --list-models里有,前面是 provider)。只有一个 provider 有的模型可以只写模型名(如deepseek-v4.1-flash),启动时自动补全;否则编辑器会提示并列出可选值。在无法在启动时给 pi 指定模型的 Orca(1.4.261 之前)上,pi 成员改用终端启动,插件把 pi 自己的--model和--thinking加到它的命令行上。
- 图形界面或命令行:对 Orca 能以聊天打开的智能体,协调器、角色和候选成员各有一个打开方式选项:图形界面(Orca 自带的聊天客户端)或命令行(终端)。claude、codex、grok、cursor、kimi、copilot 默认图形界面;pi 和 opencode 默认命令行,因为在 Orca 1.4.261 上 pi 的聊天会启动后不干活。选图形界面但 Orca 打不开时,会改用终端启动,运行结果里会写明。聊天没有启动钩子给的 PATH,所以它的第一条消息里带着
-
运行报告:每次运行一个全宽页面:数据流图、成员、看板式任务板、需求简报、计划审批、带已读进度的聊天式黑板、文件认领;委派模式下是任务拆分、子智能体上下文、结果汇报和汇总。
-
在 Orca 自带的新建 agent 里用
@team:以终端模式新建任意 agent,第一条消息这样写:@team web auto 给设置页加一个深色模式开关它就会成为团队
web(团队文件或预设的名字;项目里只有一个团队时可省略)的协调器,模式可选。可在 设置 → 插件 → Ensemble 里关闭。 -
状态栏:进行中的运行、工作中的成员、等你确认的简报;点击打开最新的运行报告。
-
中文或英文:按团队设置(或跟随 Orca 的界面语言),影响插件给智能体的指令、它们的回复、简报和黑板帖子,以及插件自己的界面。
同一台 Mac 上的任何 agent 或终端,无论在不在 Orca 里(Claude Code、Codex、脚本),都可以用 orca-ensemble 命令通过团队执行任务。在 Orca 命令面板里运行一次 Ensemble: Install the orca-ensemble command:它会写入 ~/.local/bin/orca-ensemble,这个命令总是调用 Orca 当前运行的插件,插件更新后也不用重装。
orca-ensemble projects # Orca 里的项目、各自的团队、预设
orca-ensemble presets # 预设团队:协调器、角色、候选成员、模式
orca-ensemble start ~/code/app --team web "给设置页加一个暗色模式开关" --wait
orca-ensemble start ~/code/app --preset "Fast pair" "修复不稳定的登录测试"
orca-ensemble wait <lead> # 等到协调器回复、简报待确认,或需要授权
orca-ensemble say <lead> "开关放在外观设置里" # 以用户身份回复协调器
orca-ensemble confirm <lead> # 确认团队模式的需求简报(等同面板里的「确认」)
orca-ensemble report <lead> # 运行情况:简报、任务、每个成员做了什么
orca-ensemble sessions | status <lead> | mode <lead> <模式> | end <lead>start 用 --preset 指定预设团队(写名称、id 或能唯一区分的名称开头;任何项目都能用,没有团队文件的项目也可以),或用 --team 指定项目里的团队文件(没有同名团队文件时也接受预设名),另外支持 --mode、--language 和 --worktree <名称>(新建 worktree)。两者都不写时,用项目里唯一的团队,否则用设置里的「@team 默认团队」;<lead> 是 start 打印的 id,写前缀即可。任何命令加 --json 输出 JSON。这样启动的会话和面板里启动的完全一样,会出现在 Ensemble 面板和运行报告里。命令通过只有你本人能打开的 socket 与插件通信,需要 Orca 正在运行。
Orca 插件不能给 agent 加工具,所以插件通过 agent.launch.before 钩子把一个命令 agent-team 放进 Orca 启动的每个 agent 的 PATH。协调器运行 agent-team status、agent-team delegate '<json>'、brief、kickoff、wait……,成员运行 read、task、post、claim、report。每次调用经 Unix socket 发给插件的 worker,worker 按调用者所在的 Orca 终端(ORCA_TERMINAL_HANDLE)识别身份。socket 放在只有你本人能打开的 ~/.orca-ensemble 目录里(Windows 上是命名管道),agent-team 和 orca-ensemble 只连接属于你本人的 socket,同一台机器上的其他用户无法冒充插件。agent-team help [命令] 列出命令和 JSON 字段。
- 成员用
orca agent launch(图形界面或终端、角色的模型和推理强度)启动在协调器的检出目录里;启动钩子把每次启动和它的终端对应起来,并以追加系统提示的方式给 Claude 常驻指令(其他 agent 在第一条消息里收到)。 - 给空闲 agent 的消息用
orca terminal send输入,绝不打断进行中的回合;给忙碌 agent 的消息会附在它下一次agent-team命令的输出里。 - 协调器不会停在命令里等成员:派出工作后就结束本轮,成员工作期间它的终端或会话保持空闲。需要它时插件会给它发消息:委派的一批成员都已汇报、团队的一轮结束、有计划待审批、有成员给它留言,或有成员在等你处理权限请求(它会告诉你是哪一个)。
agent-team wait立即返回已收到的内容;协调器正忙时错过的通知,会在它这一轮结束或每分钟的巡检时补发。 - 团队模式下,成员在手上还有任务时结束回合(比如在等别的成员,或在等后台命令),任务仍归它,它的最后回复会作为 update 而不是 done 贴到黑板上。插件会提醒它两次;之后协调器会收到哪个任务还被占着的通知,由它叫醒成员或把任务交给别人。所有任务完成后才进入互评轮。
agent-team board '{"task":"T1"}'(成员用agent-team read)可读取单个任务的全文和完整结果。 - 回合结束依据 Orca 的 agent 状态,Claude 还会读取它的会话记录(
stop_reason: end_turn),不会把启动时的空闲状态误当成完成。 - 团队模式的需求对接不能跳过:
agent-team kickoff需要你在简报之后亲口确认的原话(从协调器的会话记录或屏幕里核对),或你在面板里按确认。 - 状态保存在
~/.orca-ensemble/<plugin>/。团队文件保存在项目里的.agents/teams/*.team.json,通过 git 共享。运行报告打开的是.agents/runs/下的小链接文件,插件会把它排除在 git 之外。
原生委派。 协调者运行 agent-team delegate 或 kickoff 时,插件让这个命令在协调者自己的 shell 里执行 orca agent launch,所以在 Orca 看来是协调者自己在委派:每个成员都会在协调者的聊天里显示为「已移交给智能体」,和在 Orca 里让一个 agent 直接启动另一个 agent 时完全一样。委派模式下,每个任务还会登记为 Orca 任务并派给对应成员(orchestration task-create 和 dispatch,不额外注入回合);成员运行 agent-team report 时,插件从成员自己的 shell 发出 Orca 的 worker_done,结果会在协调者的聊天里显示为「来自工作者的更新」,Orca 同时把任务标记为完成。团队模式的成员会有很多回合(认领、互评、被 @),由插件跟踪。没有 orca orchestration 的旧版 Orca 上,仍由插件自己启动和读取成员。
权限。 插件以命令行(终端)启动的成员一律完全访问(Claude 加 --dangerously-skip-permissions,Codex 加 --dangerously-bypass-approvals-and-sandbox,与 Orca 自己的「完全访问」用的参数相同),委派的工作不会停下来等授权。图形界面(聊天)的权限是 Orca 里按智能体的设置(设置 → 智能体),启动时无法改变:把要以图形界面委派的智能体在那里设为「完全访问」,或者在团队里给它们选「命令行」。
模型列表。 Orca 没有给插件提供读取模型列表的方法,所以 worker 按 Orca 自带的 orca 命令行的方式去读:读取 Orca 配置目录里的 orca-runtime.json(本地 socket 和它的 token),通过这个 socket 只发一个请求 agentSession.modelCatalog。插件不会用这个 token 发任何其他请求,也不保存它,只连接属于你本人的 socket。这是 Orca 的内部接口:如果 Orca 更新后它变了,编辑器会悄悄退回插件自带的建议值。
智能体。 claude、codex、omp、grok 默认以图形界面打开;pi 一律用命令行(它的聊天启动后不干活)。omp 使用它自己的 provider/model 和角色写法;团队编辑器里它们的模型和其他智能体一样来自 Orca。Orca 没有 omp 或 pi 的列表时,直接问智能体本身:omp models --json(OMP 19;更早的版本用 omp --list-models)和 pi --list-models。
- Orca 1.4.259 或更新(插件宿主 API 1.9)。旧版 Orca 无法加载。
agent-team命令需要 PATH 里有 Node.js(没有时用 Orca 自带的运行时)。- agent 使用终端模式。Orca 的 Chat UI 会话不经过启动钩子,
@team和agent-team只在终端 agent 里可用;面板启动的总是终端 agent。 - 仅本地工作区。暂不支持 SSH 和远程 Orca 服务器。
- macOS、Linux 或 Windows。在 Windows 上,请把 Orca 的终端 shell 设为 Git Bash:插件会把 agent 的启动命令改写成 POSIX shell 命令,而
agent-team是 shell 脚本,两者暂时都无法在 PowerShell 或 cmd 中运行。在 PowerShell 里执行自身命令的 agent 也暂时用不了agent-team。WSL 工作区里的 agent 用不了agent-team,面板也不会在那里启动团队。
orca plugin install https://github.com/DueGin/orca-ensemble或在 Orca → 设置 → 插件 里用上面的 Git 地址安装,查看并启用(它会请求工作区、agent、终端、通知和存储权限)。dist/ 已提交到仓库,从 Git 安装无需构建。
从本地目录安装(开发):
npm install
npm run build
orca plugin dev load . # 第一次需要批准权限格式见上方英文部分的 Team file。固定角色负责项目中稳定的区域;候选成员是一个模型池,协调器按描述分工("不要交给它"的工作一律不给)。两者可以只有其一,但不能都为空。model 和 effort 可省略(用该 CLI 的默认值);language 填 zh、en,或省略以跟随 Orca。
npm run typecheck && npm test # 单元测试,包括用模拟的 Orca 把两种模式各跑一遍
npm run watch # 改动后重新构建 dist/;Orca 会重载开发中的插件版本:每个发布版本都有对应的 git tag vX.Y.Z,与 orca-plugin.json 和 package.json 里的版本号一致。发布时同时改这两处的版本号,运行 npm run build,提交后打 tag 并推送。
MIT









