
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 分