
Agent Swarm
io.github.desplega-ai由 GitHub 帳號 desplega-ai 發布v2.8.2更新於 Nov 6, 2026
Full Agent Swarm API and MCP server with local SQLite storage for multi-agent orchestration.
概覽
自架的多代理編排伺服器,讓助理把目標分派給主代理與工作代理,並保留持久記憶與工具。
- 可以做什麼
- 開放完整的 Agent Swarm API,讓助理建立與管理任務,包括經 schema 驗證的結構化結果,以及在被監看任務完成或到期時喚醒的延遲任務。
- 把目標從主代理分派給在隔離 Docker 容器中執行的工作代理,並支援審查關卡與人工把關。
- 跨工作階段讀寫持久記憶與身分,支援向量檢索與引用評分。
- 管理用於重複性工作的工作流程、排程、腳本與應用程式,並提供共享頁面狀態與線上狀態(presence)的即時房間。
- 處理儀表板檔案附件,以及在任務日誌中內嵌顯示工具結果圖片。
- 適用情境
- 適合希望讓助理執行一套自架編碼代理叢集的場景:這些代理從 Slack、程式碼倉庫、議題追蹤系統、電子郵件或 API 接收工作,並產出拉取請求、回覆等結果。也適合能自行架設整套服務、需要持久記憶與編排而非單次對話的團隊。
- 執行需求
- 需要一個執行中的 Agent Swarm 執行個體,可自架(Docker Compose、Kubernetes/Helm、VPS 或 Railway),也可使用遠端端點。驗證使用 Authorization 標頭中的 bearer 權杖,取自 AGENT_SWARM_API_KEY 的 API 金鑰,另需 X-Agent-ID 標頭指定該執行個體上已註冊的代理。自架至少需要 4 vCPU、8 GB 記憶體與 40 GB 磁碟空間、Docker,以及所選 harness 供應商的憑證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agent Swarm,將其新增到工作區。
- 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[GitHub Stars] [MIT License] [PRs Welcome]
Agent Swarm is the open-source, self-hosted AI company operating system built by Desplega Labs.
[!TIP] This repo evolves every single day. Watch now →
▸ every team, one swarm · daily evolution · Making of
[Website] [Docs] [Dashboard] [Join Discord] [Follow on X] [Desplega Labs on LinkedIn] [Desplega Labs on YouTube]
agent-swarm.dev is an open-source operating system for AI work. A lead agent delegates goals to workers such as Claude Code or Codex. Isolated containers, shared memory, tools, schedules, and review gates preserve work across sessions.
What you get
- A lead agent that receives work from Slack, repositories, issue trackers, email, or the API
- Schema-validated task results for callers that need structured JSON output
- Deferred tasks that wake when all or any watched tasks reach an outcome, or a deadline arrives
- Inline tool-result images in task logs, with previews that open at full size
- Dashboard file attachments by paste, drag-and-drop, or file picker
- Workers in isolated Docker containers with development environments
- Memory and identity that persist across sessions, with citation ratings and self-rating hints enabled by default
- Workflows, schedules, scripts, and apps for recurring work
- Extensions for trusted TypeScript hooks, installed as agent-owned inert drafts and activated by a trusted lead, operator, or dashboard user
- Realtime rooms for shared page state, presence, and live channels
- Your choice of harness and models: Claude Code, Codex, pi, opencode, Cursor, Amp, Grok, fx, Devin, or ACP agents
Quick Start
Give your coding agent the operator skill for Docker Compose or Kubernetes:
Or install it as a plugin in your harness:
The plugin's privacy and terms links describe the Agent Swarm website and Cloud service. The self-hosted software remains covered by the MIT License.
Or self-host. docker-compose.example.yml is the reference deployment: deploy every agent in it by default (1 lead and 11 workers on the official templates), and remove agents only when you have a reason to.
Plan for at least 4 vCPU, 8 GB RAM and 40 GB of free disk, and prune old Docker images after upgrades. See Host requirements & disk cleanup.
The one-shot installer checks Docker and Compose v2, installs Bun when missing, runs agent-swarm onboard --yes --preset full (every official template; it runs one coder where the example runs two), and prints the dashboard /setup link:
The raw GitHub URL (https://raw.githubusercontent.com/desplega-ai/agent-swarm/main/install.sh) serves the same script. The API is public through a tunnel by default, protected by the API key. Add bash -s -- --no-tunnel to keep it local.
No server yet? Deploy the Railway template in one click:
Or deploy one on any VPS: paste deploy/cloud-init.yaml as the user data of a new 4 vCPU / 8 GB Ubuntu server (Hetzner, DigitalOcean, Lightsail, Vultr). It installs Docker and Caddy, serves the API over HTTPS on <ip>.sslip.io or your domain, and shows the /setup link to root at login. To look first, try it for an hour on E2B; that trial deletes its data when the sandboxes stop.
Or use the examples directly:
Agent ID variables are optional. Each container generates a UUID on first boot and keeps it in its personal volume, so identity survives restarts. Pin *_AGENT_ID in .env only to keep an existing identity or to survive removing volumes.
Read the Compose checklist before starting. API: http://localhost:3013, with /docs and /openapi.json.
Next, open the dashboard and connect it to your API with API_KEY. A new install lands on /setup, a guided first run that covers providers, agents, memory, integrations, and a first task.
Kubernetes: install the OCI Helm chart.
Integrations
Slack · GitHub · GitLab · Azure DevOps · Linear · Jira · AgentMail · WhatsApp (Kapso) · Telegram, Teams and Discord (Chat SDK) · Composio · Sentry · Devin · Serply search. Integration guides.
AgentMail archives verified inbound deliveries before acknowledging them and retains the archive for 30 days, including mail excluded from task routing. See the contact inbox triage runbook for retention, coverage limits, and rollout instructions.
Learn more
- Getting started · Architecture · Playbooks · CLI · API reference
- Orchestration patterns — Five patterns for delegating, fanning out, gating on humans, retrying, and persisting multi-step agent work
- Agent templates
- Public ranking: opt in with Get ranked (Settings → Configuration → Branding) to rank your install by tokens used on agent-swarm.dev/ranking. It shows at the next hourly refresh. Token totals are public and exact; telemetry, the organization name and website must be set.
- Help: [email protected] · Discord
Contributing
Read CONTRIBUTING.md, fork the repository, create a branch, and open a PR. Discuss ideas on Discord.
Are you an agent? Run
npx skills add desplega-ai/agent-swarmor read the operator skill.
Star History
License
MIT · 2025-2026 desplega.sh
Feature defaults
Fresh deployments enable Slack thread renderer v2, queued Slack steering to the lead,
task steering, multi-runtime workers, RBAC, and task-tool preloading. Hybrid memory
search and graph expansion are also enabled. Explicit environment/config overrides
remain supported; see the environment reference.
When upgrading older workers, keep MULTI_RUNTIME_ENABLED=false until they support
runtime identities. Slack delegation rendering remains opt-in, and database retention
continues to default to dry-run.
來源:README.md,提交 0836a65
工具
0版本歷史
27- v2.8.2最新Nov 6, 2026
- v2.8.1Nov 5, 2026
- v2.8.0Nov 5, 2026
- v2.7.10Nov 4, 2026
- v2.7.9Nov 3, 2026
- v2.7.7Nov 1, 2026
- v2.7.6Oct 31, 2026
- v2.7.5Oct 30, 2026
- v2.7.4Oct 29, 2026
- v2.6.0Oct 26, 2026
- v2.5.3Oct 24, 2026
- v2.5.2Oct 23, 2026
- v2.5.1Oct 23, 2026
- v2.5.0Oct 22, 2026
- v2.4.4Oct 21, 2026
- v2.4.3Oct 20, 2026
- v2.4.2Oct 19, 2026
- v2.3.0Oct 18, 2026
- v2.1.0Oct 17, 2026
- v2.0.0Oct 16, 2026
- v1.172.0Oct 14, 2026
- v1.169.0Oct 11, 2026
- v1.168.0Oct 10, 2026
- v1.167.0Oct 9, 2026
- v1.166.0Oct 8, 2026
- v1.162.0Oct 4, 2026
- v1.149.1Sep 16, 2026
評分
已滿足適用檢查項的 60%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分