PC

phenixrizen/conductor

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

2 stars 质量 74 趋势 24Apache-2.0

在真实终端中启动Claude Code、Codex或Antigravity等编码代理,通过浏览器观看并驱动它们,并通过链接与其他开发者分享实时会话。

概览

在真实终端中启动Claude Code、Codex或Antigravity等编码代理,通过浏览器观看并驱动它们,并通过链接与其他开发者共享实时会话。灵感来自webtty,重建为带有Nuxt UI工作台的小型服务器。 这两种文件都出现在同一个会话列表中,使用相同的共享链接、相同的终端和相同的浏览器内文件查看器。 要求:使用 1.26+,Node 22+,以及你想在运行这些 CLI 的机器的 PATH 上启动的代理 CLI。 打开http://localhost:8080,,提示时粘贴工作台令牌,然后按下 。没有CONDUCTOR_WORKBENCH_TOKEN,服务器在启动时创建一个随机令牌,并将其保存在其数据目录中的工作台令牌中,模式0600,同时运行时:cat ~/.conductor/workbench-token(默认数据目录)作为服务器用户。终端和日志都命名文件,而不是令牌。每次没有令牌的起始都会在那里写一个新的;带有令牌的起始会删除该文件。

概述(AI 翻译)

共享代理终端。 启动编码代理,如 Claude Code、Codex 或 真实终端中的反重力,从浏览器中观察并驱动它们,然后分享 通过链接与其他开发者进行的实时会话。灵感来源 Webtty,重建为一个小型服务器,配备 Nuxt UI 工作台。

运行会话的两种方式:

服务器托管 开发者托管
代理运行的位置 运行在运行conductor serve的机器上(在桌面应用中,即这台计算机) 在你所在的计算机上,通过conductor host,当服务器在其他地方时
浏览器如何访问 通过服务器实现WebSocket中继 WebRTC数据通道直接传输到你的机器,并通过服务器自动中继
谁发起的 任何拥有工作台令牌的人,来自 UI 或 API 你,来自你的 shell

两种会在同一个会话列表中出现,使用相同的分享链接,同样 终端和同一个浏览器内的文件查看器。

快速开始

要求:Go 1.26+,Node 22+,以及你想在 PATH,无论运行它们的哪台机器。

打开,按键粘贴工作台标记,然后按下 发射代理人。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Conductor

Shared agent terminals. Launch coding agents such as Claude Code, Codex or Antigravity in real terminals, watch and drive them from the browser, and share a live session with other developers through a link. Inspired by webtty, rebuilt as a small server with a Nuxt UI workbench.

Two ways to run a session:

Server-hosted Developer-hosted
Where the agent runs On the machine running conductor serve (in the desktop app, this computer) On the computer you are at, via conductor host, when the server is elsewhere
How browsers reach it WebSocket relay through the server WebRTC data channel straight to your machine, with an automatic relay fallback through the server
Who starts it Anyone with the workbench token, from the UI or API You, from your shell

Both kinds show up in the same session list, use the same share links, the same terminal and the same in-browser file viewer.

Quick start

Requirements: Go 1.26+, Node 22+, and the agent CLIs you want to launch on the PATH of whichever machine runs them.

make deps                 # checks go/node/npm/python3, then go mod download + npm ci
make build                # generates the SPA and builds bin/conductor with it embedded
CONDUCTOR_WORKBENCH_TOKEN=change-me ./bin/conductor serve

Open , paste the workbench token when prompted, and press Launch agent. Without CONDUCTOR_WORKBENCH_TOKEN the server makes a random token at startup and keeps it in workbench-token in its data directory, mode 0600, while it runs: cat ~/.conductor/workbench-token (the default data directory) as the server’s user. The terminal and the log name the file, never the token. Every start without a token writes a new one there; a start with one configured removes the file. A second server started on the same data directory while the first runs cannot keep its own generated token there, so it stops unless a token is configured for it (or its parent reads --print-listen).

Host a session from your own machine instead:

CONDUCTOR_HOST_TOKEN=host-token ./bin/conductor host --server http://localhost:8080 -- claude

Your terminal is attached as a controller; the session appears in the UI as hosted. Add --relay-only to skip WebRTC entirely, --no-local to run it headless, or --stun stun:host:3478 to override the ICE servers. A server on another machine is https://: a plain http:// (or ws://) one that is not this machine (localhost in lower case, 127.0.0.0/8, ::1) is refused before anything is dialed, unless --insecure says to go ahead, and then the host says that what passes between it and the server (the session’s output, its viewers’ keys) travels in the clear and unverified. A redirect the server answers with is held to the same rule. The server is named by its

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add phenixrizen/conductor
新手?先看 mcpskill.org 教程 →