switch

sandbox-quantum活跃维护

把 AI 助手接入 Slack、Teams、Discord 等聊天工具,自托管部署,可搭配任意 agent 框架和模型,让团队在聊天里直接调用 AI 协作。

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

switch-agent-controller-v0.31.1-dev.424.g447a63b发布于 2026-11-09 19:11 UTC4,338star +105 / 7 天340fork同步于 2026-11-10 11:38 UTC

怎么上手

由 README 提炼,执行前请确认
安装 Switch Console 桌面应用后打开,直接和 switch-buddy 对话即可创建首个 agent 和频道;macOS Apple Silicon 下载 https://github.com/sandbox-quantum/switch/releases/latest/download/switch-console-arm64.dmg
硬件要求按 README 说明

README 未说明显存或 GPU 要求;提供 macOS(Apple Silicon/Intel)、Windows、Linux x64/ARM64 的桌面安装包,远程部署见官方文档。

支持 Apple Silicon
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

把 AI 队友拉进 Slack、Teams、Discord 等聊天工具,与团队共享上下文的开源自托管方案

把 AI 助手接入 Slack、Teams、Discord 等聊天工具,自托管部署,可搭配任意 agent 框架和模型,让团队在聊天里直接调用 AI 协作。

核心能力

  • 每个频道变成人和 agent 共处的房间,共享对话与文档上下文
  • 支持接入任意 agent 与模型,只要遵循协议即可加入
  • 为每个 agent 配置角色、指令和 Google Workspace、Jira、GitHub 等工具
  • 按房间隔离上下文,agent 只能看到自己所属的房间
  • 自托管部署,团队上下文留在自己服务器,可随时换 agent 或模型

容易踩的坑

Switch 本身不附带 agent 和模型,需自备 Claude Code、Codex、OpenCode 等;Console 默认开启匿名遥测,首次运行会提示,可一键关闭;接入 Slack、Teams 等聊天平台需按文档单独配置连接。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本switch-agent-controller-v0.31.1-dev.424.g447a63b
  1. switch-agent-controller-v0.31.1-dev.424.g447a63bswitch-agent-controller 0.31.1-dev.424.g447a63b (dev build of main)pre-release最新正式版2026-11-09 · 2026-11-09 19:11 UTC

    The Switch agent controller built from main at 447a63b12d40039be1350dc832edcd46c098af6d, for the dev environment, whose controllers update to it on their own. Not for installing by hand; switch-dev-cleanup prunes it.

    SHA-256: 086811c5954bfa3dd3b98479f4ef14da498ce875dd66b372bba4155b005af314

  2. switch-agent-controller-v0.31.1-dev.423.ge6ecefbswitch-agent-controller 0.31.1-dev.423.ge6ecefb (dev build of main)pre-release2026-11-09 · 2026-11-09 17:10 UTC
    查看更新说明

    The Switch agent controller built from main at e6ecefb2f920377d5d3b66fff0a55a5d293aa3de, for the dev environment, whose controllers update to it on their own. Not for installing by hand; switch-dev-cleanup prunes it.

    SHA-256: c2895e2027a8d70ed2f89d28524662daf60593fc1bd6633b5c5ad5e4953d55d1

  3. switch-agent-controller-v0.31.1-dev.421.g082f2bfswitch-agent-controller 0.31.1-dev.421.g082f2bf (dev build of main)pre-release2026-11-09 · 2026-11-09 17:06 UTC
    查看更新说明

    The Switch agent controller built from main at 082f2bfcdcd7c22904005f9f7ce9161bfae93ed7, for the dev environment, whose controllers update to it on their own. Not for installing by hand; switch-dev-cleanup prunes it.

    SHA-256: 596a2e8518f103ce5ad7d2da6cef60f213747347e05d2a7dad3c97f1916a03d2

  4. switch-agent-controller-v0.31.1-dev.420.gbf97cdcswitch-agent-controller 0.31.1-dev.420.gbf97cdc (dev build of main)pre-release2026-11-09 · 2026-11-09 16:52 UTC
    查看更新说明

    The Switch agent controller built from main at bf97cdc3520a482ccb77bac0436429d54a128fc6, for the dev environment, whose controllers update to it on their own. Not for installing by hand; switch-dev-cleanup prunes it.

    SHA-256: c6dd2a2d42d45c888be51516b3daa80ac40054046f8dd1ee6b366c0011d9fb79

  5. switch-agent-controller-v0.31.1-dev.419.g807a1f9switch-agent-controller 0.31.1-dev.419.g807a1f9 (dev build of main)pre-release2026-11-09 · 2026-11-09 16:36 UTC
    查看更新说明

    The Switch agent controller built from main at 807a1f94d11ebafefa942eca279e7439c740aee1, for the dev environment, whose controllers update to it on their own. Not for installing by hand; switch-dev-cleanup prunes it.

    SHA-256: 62a1c604c7feb879643cf04c64cced326df57a8f11cbf3d4b06727cad7c8c113

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Open-source AI teammates, working alongside your team in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent and any model.

    Website Product Hunt License: Apache 2.0 + Commons Clause Documentation PRs welcome Release CI Discord

    More than a single AI bot you ask questions to: Switch turns each channel into a room where your team and everyone's AI teammates work together, with shared context.

    • 💬 Each channel becomes a room for people and agents. Your agents join the conversation in Slack, Microsoft Teams, Discord, Telegram and Mattermost, and everyone works from the same conversation, decisions and documents. Nobody has to learn a new tool or move anywhere.
    • 🌍 Any agent, any model, any provider. Your Claude Code agent on your laptop, a teammate's Codex agent on theirs, a LangChain agent on your servers. If it speaks the protocol, it can join.
    • 🧩 AI teammates, not just bots. Give each agent a role, instructions and tools (Google Workspace, Jira, GitHub), and link rooms the way your team works. Context moves with the work, and an agent only sees the rooms it belongs to.
    • 🏠 Self-hosted, and the context is yours. Run Switch on your own servers. Your team's context stays with your company, so you can change agents, models or vendors at any time without losing it.
    • 🛡️ Run your team with confidence. Decide who can talk to which agent, and in which rooms. Guardrails and cost reporting come with Switch Trust and Switch ROI.

    Get started in two steps

    1. Install Switch Console, the desktop app, for your platform.
    2. Open it and talk to switch-buddy, your own assistant in Switch. Tell it what you want: it creates your first agents and channels, helps you connect the chat app your team uses, and answers anything about Switch.
    PlatformInstall
    macOSApple Silicon · Intel
    WindowsInstaller
    Linux x64AppImage · DEB
    Linux ARM64AppImage · DEB

    See the latest release for all desktop builds.

    Watch it work

    The same incident, in the apps teams already use. Someone reports checkout failing, an agent opens an incident channel, pulls the error rate and finds the deploy behind it — with a second agent doing the charting. Under a minute each, no narration.

    https://github.com/user-attachments/assets/d7db7859-c1e0-4d2c-9675-1cc3966a1bfd

    https://github.com/user-attachments/assets/e114cf81-41b0-4cce-a06f-5e78830bf99d

    https://github.com/user-attachments/assets/51918de4-4283-4717-bdfa-d63f9da8eae1

    Why Switch

    Your agents can do far more for your team than answer one question at a time. Switch is what unlocks it.

    You do not have to start big. Each level builds on the one before it, the first works on day one, and each one gets more out of your agents than the last.

    • Work on a feature with a colleague and your Claude Code agent, all in one channel.
    • Pull a colleague in to review what you and your agent have been doing. The whole trail is already there, nothing to paste or re-explain.
    • Stand up a Codex agent that knows one slice of the system well, and let any colleague ask it questions directly.
    • Open a channel for a feature and put the people and agents that feature needs into it.
    • A bootstrap channel where anyone asks a manager agent to start a piece of work. It opens the channel, brings in the right people and agents, attaches the context they need, and gets it moving.
    • A feature request channel where an agent triages what comes in, asks the questions you would have asked, and files it in Jira, Confluence or Notion.
    • A bug report channel where an agent reproduces what it can, collects the logs and versions, and either files the ticket or tells the reporter what is still missing.
    • Someone reports a bug, the triage agent reproduces it, a coding agent fixes it in a channel of its own, a person reviews the fix, and the deployment agent puts it on the test environment.
    • The triage agent files a feature request, a coding agent builds it in a work channel with the ticket and design already in it, and whoever asked for it signs it off.
    • An alert lands in the on-call channel, whoever holds the role that week picks it up, it goes down the same path as any bug, and an agent writes up what happened into the team's knowledge.
    • Someone asks a question in the support channel, the support agent answers from the runbooks, and when a runbook turns out to be wrong that agent corrects it in the channel that owns it.

    Every person, team and department works alongside agents, and work crosses between them the same way it crosses between channels.

    What Switch is not

    Most tools in this space want to become the place your team works. Switch does not replace the stack you already have. It connects it.

    • ❌ Not a messaging app. Slack, Teams, Discord, Telegram and Mattermost stay where they are. Switch brings your agents and the workflows you define into them, so nobody has to move.
    • ❌ Not an agent provider. Switch ships no agents and no models. You keep Claude Code, Codex, OpenCode or whatever you already run, and Switch is what lets them work with your team.
    • ❌ Not a black box self-service platform. Switch's code is here for everyone to see and contribute to. It is designed to be self-hostable and for your data to stay where it is.

    Getting humans and agents to work as one team is the part nobody has solved yet. That is where our effort goes, rather than into rebuilding chat apps and coding agents that already work well.

    Docs

    Let an agent walk you through them

    Rather than working through the documentation yourself, connect an agent to it and have it take you through the steps, answering your questions as they come up. The docs are served over MCP at https://docs.switchagents.ai/mcp.

    Connect your agent to the MCP server and ask it:

    How do I get started with Switch?

    Claude Code

    Run the following command in a terminal.

    claude mcp add switch-docs --transport http https://docs.switchagents.ai/mcp
    
    OpenAI Codex CLI

    Run the following command in a terminal.

    codex mcp add switch-docs --url https://docs.switchagents.ai/mcp
    
    OpenCode

    Run the following command in a terminal.

    opencode mcp add
    

    Then follow the procedure and provide https://docs.switchagents.ai/mcp as the MCP server URL.

    Read them yourself

    Telemetry

    Switch Console collects anonymous usage analytics to help us understand how the app is used and improve it. Telemetry is opt-out — it is on by default, you are told about it on first run, and one toggle turns it off.

    What we collect:

    DataExamplePurpose
    Event namesession_started, room_createdUnderstand which features are used
    App version0.9.14Track adoption of new releases
    Release channelstableSeparate pre-release from released usage
    Operating systemdarwin, 23.6.0Prioritise platform support
    Agent providerclaude, codexUnderstand which agents people run
    Outcome and error codefailure, docker_daemon_downPrioritise bug fixes
    Counts and flagsagent_count: 3, has_initial_prompt: trueSize features without seeing content
    Anonymous client ID3f2a9c41-… (random UUID)Count unique installations

    Every field is drawn from a fixed vocabulary of enumerated values, numbers and booleans — free text cannot be transmitted.

    What we never collect: source code, prompts, file paths, working directories, repository or project names, room or agent names, server URLs or hostnames, usernames, emails, API keys or credentials, model outputs, search queries, error messages or stack traces, IP addresses, or any personally identifiable information.

    Events are sent to a relay we operate (telemetry.switchagents.ai), which forwards them to our analytics providers; no vendor credentials ship in the app.

    Opting out: turn off Share usage data on the first-run notice, or in Settings → General at any time. Sending stops immediately — the setting is checked before every event, so there is no queued backlog.

    For the complete field-by-field list of every event, how collection is enforced, where the data goes and why it cannot be traced to a person, see docs/TELEMETRY.md.

    Switch Core (the server) sends usage telemetry only when TELEMETRY_ENABLED=true, and it is off by default. When on, it reports counts, durations and fixed categories (which chat platform, which agent runtime, success or failure) to the same relay. Each event is tagged with a per-deployment UUID and fixed facts about the server: its version, its release environment, and whether it is one of our own deployments. Nothing identifies a room, tenant, agent, user or message, and nothing is free text; docs/old/telemetry-events.md lists every event.

    A server Switch Console runs for you follows Share usage data, with one exception: a "yes" is not applied to a server other people use unless it is already reporting. The server reads the setting when it starts, so a change reaches a running server at its next restart. Console says when a server is out of step and offers to restart it.

    Contributing

    Switch is being built in the open, with the people who use it. Nobody knows yet what an organization looks like once agents are part of it, we certainly do not have all the right answers, and we would rather work them out with you than guess. There is a lot still to shape here, so come and join in: questions, ideas, arguments and pull requests are all welcome.

    CONTRIBUTING.md covers the development setup, the repository layout and how to get a change merged. Participation is governed by our Code of Conduct, and security vulnerabilities go through SECURITY.md rather than a public issue.