@coreplane/switchboard

中文文档
1.310.0发布于 2026/10/27Apache-2.0ES Module近 30 天下载 6171

Mention it in Slack and an agent reviews the PR, ships the fix, or answers the question — on the model you choose, with its tools running where you decide.

原始使用文档
文档目录4 节
  1. Quick start
  2. How it is put together
  3. What you need
  4. Learn more

Switchboard

CI OpenSSF Scorecard Latest release License: Apache-2.0

Mention it in Slack and an agent reviews the PR, ships the fix, or answers the question — on the model you choose, with its tools running where you decide.

A review in a Slack thread: a plain request to look at a pull request, the card naming the agent it picked and why, then the verdict with its findings.

A finished run's page on the dashboard.

Quick start

Already have a team deployment? Connect the local CLI and MCP client or use it in Slack.

To run your own: Node 24 and an Anthropic API key; no Slack.

npx @coreplane/switchboard init --organization <your GitHub org> --anthropic-key <your key>
npx @coreplane/switchboard ask "what can you do?"

init writes .env (mode 600) and config/config.yaml into ~/.switchboard, so every command works from any directory; ask sends a request through the same dispatcher as Slack. curl -fsSL https://switchboard.space/install.sh | sh is the same init. To use a deployment your team already runs, run npx -y @coreplane/switchboard connect <host> instead.

Next: Get started.

How it is put together

Four seams: Channel, Provider, Executor, Agent. Each is an interface with more than one implementation. The dispatcher sits between them: it reads what you asked for and picks the agent, resolves the model through the config layers, checks authorization and runs the agent loop (How a request flows).

What you need

You needWhat it unlocks
RequiredA model provider key: Anthropic, or any OpenAI-compatible endpointEvery agent
For SlackA Slack app (Socket Mode: bot token + app-level token)The bot in your workspace
OptionalA GitHub App, or a repo-scoped tokenRepository reads; pull requests
OptionalA Cloudflare accountProduction: the bot plus the state, resident and sandbox Workers
OptionalAn E2B accountPer-thread micro-VMs without Cloudflare
OptionalA Brave Search key (BRAVE_SEARCH_API_KEY)Web search for the research agent

Off means the bot never offers it and the dashboard and the plan never show it (Turn features on and off). The bot is npx @coreplane/switchboard start on any machine with Node, or the published image ghcr.io/coreplanelabs/switchboard.

Learn more

Docs: https://switchboard.space (docs/) · CONTRIBUTING.md · AGENTS.md · SECURITY.md · Apache-2.0.

Going deeper: commands and directives exist for whoever wants to type them (Slack commands); a plain sentence needs none.

版本与发布记录

@coreplane/switchboard 共发布 222 个版本,首次发布于 2026/09/11;过去 12 个月发布了 222 个版本。

版本发布日期距今
1.310.0latest2026/10/2714 天前
1.309.02026/10/2715 天前
1.308.22026/10/2319 天前
1.308.12026/10/2219 天前
1.308.02026/10/2219 天前
1.307.32026/10/2220 天前

关于 @coreplane/switchboard 的常见问题

@coreplane/switchboard 是什么?

Mention it in Slack and an agent reviews the PR, ships the fix, or answers the question — on the model you choose, with its tools running where you decide.

如何安装 @coreplane/switchboard?

在项目目录运行 npm install @coreplane/switchboard,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 switchboard,可以用 npx switchboard 直接运行。

@coreplane/switchboard 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/coreplane__switchboard 是否存在。

@coreplane/switchboard 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@coreplane/switchboard 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=24。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@coreplane/switchboard 可以商用吗?

@coreplane/switchboard 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@coreplane/switchboard 的下载量有多少?

根据 npm 官方下载统计,@coreplane/switchboard 在 2026/10/11 – 2026/11/09 这 30 天内被下载 6,171 次,日均约 206 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@coreplane/switchboard 还在维护吗?

最新版本 1.310.0 发布于 2026/10/27(14 天前);至今共发布 222 个版本,其中过去 12 个月发布了 222 个;首次发布于 2026/09/11。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。