经 AI Skill Hub 精选评估,agent-swarm Agent工作流 获评「强烈推荐」。这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.2 分,适合有一定技术背景的用户使用。
基于Claude的开源多代理AI编码框架,支持Agent协作与工作流编排。提供swarm模式分布式处理能力,适合需要复杂AI编码任务自动化、多智能体协作的开发者和企业。
agent-swarm Agent工作流 是一款基于 TypeScript 开发的开源工具,专注于 多代理系统、Claude集成、AI编码 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
基于Claude的开源多代理AI编码框架,支持Agent协作与工作流编排。提供swarm模式分布式处理能力,适合需要复杂AI编码任务自动化、多智能体协作的开发者和企业。
agent-swarm Agent工作流 是一款基于 TypeScript 开发的开源工具,专注于 多代理系统、Claude集成、AI编码 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:npm 全局安装 npm install -g agent-swarm # 方式二:npx 直接运行(无需安装) npx agent-swarm --help # 方式三:项目依赖安装 npm install agent-swarm # 方式四:从源码运行 git clone https://github.com/desplega-ai/agent-swarm cd agent-swarm npm install npm start
# 命令行使用
agent-swarm --help
# 基本用法
agent-swarm [options] <input>
# Node.js 代码中使用
const agent_swarm = require('agent-swarm');
const result = await agent_swarm.run(options);
console.log(result);
# agent-swarm 配置说明 # 查看配置选项 agent-swarm --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export AGENT_SWARM_CONFIG="/path/to/config.yml"
[!TIP] This repo evolves every single day. Watch now → <p align="center"><video src="https://github.com/user-attachments/assets/8d221239-2340-49a2-aed3-5a474c2229a8" controls muted playsinline width="720"></video></p> <p align="center"><sub>▸ <a href="./assets/agent-swarm-every-team.mp4">every team, one swarm</a> · <a href="./assets/agent-swarm.mp4">daily evolution</a> · <a href="./assets/agent-swarm-slack-to-pr.mp4">slack → pr</a> · <a href="./assets/video-source">Making of</a></sub></p> <p align="center"><a href="https://agent-swarm.dev"><img src="https://img.shields.io/badge/Website-agent--swarm.dev-000?style=for-the-badge" alt="Website"></a> <a href="https://docs.agent-swarm.dev"><img src="https://img.shields.io/badge/Docs-docs.agent--swarm.dev-amber?style=for-the-badge" alt="Docs"></a> <a href="https://app.agent-swarm.dev"><img src="https://img.shields.io/badge/Dashboard-app.agent--swarm.dev-blue?style=for-the-badge" alt="Dashboard"></a> <a href="https://discord.gg/KZgfyyDVZa"><img src="https://img.shields.io/badge/Discord-Join%20Community-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Join Discord"></a> <a href="https://x.com/agentswarm"><img src="https://img.shields.io/badge/𝕏-@agent__swarm-000?style=for-the-badge&logo=x&logoColor=white" alt="Follow on X"></a> <a href="https://www.linkedin.com/company/desplega-labs/"><img src="https://img.shields.io/badge/LinkedIn-Desplega%20Labs-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white" alt="Desplega Labs on LinkedIn"></a> <a href="https://www.youtube.com/@desplega-labs/videos"><img src="https://img.shields.io/badge/YouTube-Desplega%20Labs-FF0000?style=for-the-badge&logo=youtube&logoColor=white" alt="Desplega Labs on YouTube"></a></p>
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.
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.
Give your coding agent the operator skill for Docker Compose or Kubernetes:
npx skills add desplega-ai/agent-swarm
Or install it as a plugin in your harness:
| Harness | Command |
|---|---|
| Claude Code | /plugin marketplace add desplega-ai/agent-swarm then /plugin install agent-swarm@agent-swarm |
| Codex | codex plugin marketplace add desplega-ai/agent-swarm && codex plugin add agent-swarm@agent-swarm (or use npx skills above) |
| Cursor | /add-plugin desplega-ai/agent-swarm |
| Gemini CLI | gemini extensions install https://github.com/desplega-ai/agent-swarm |
| Antigravity / Factory Droid | droid plugin marketplace add https://github.com/desplega-ai/agent-swarm then droid plugin install agent-swarm@agent-swarm |
| OpenCode, pi, Devin, Kimi, others | npx skills add desplega-ai/agent-swarm |
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.
The one-shot installer checks Docker and Compose v2, installs Bun when missing, runs agent-swarm onboard --yes, and prints the dashboard /setup link. It defaults to the single-agent solo preset, so pass --preset full for every official template (it runs one coder where the example runs two):
curl -fsSL https://raw.githubusercontent.com/desplega-ai/agent-swarm/main/install.sh | bash -s -- --preset full
Or use the examples directly:
git clone https://github.com/desplega-ai/agent-swarm.git && cd agent-swarm
cp .env.docker.example .env # Set API_KEY and the credential for your HARNESS_PROVIDER.
openssl rand -base64 32 > encryption_key
chmod 600 .env encryption_key
docker compose -f docker-compose.example.yml --env-file .env up -d
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.
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.
中文项目简介
本项目提供了多项功能,包括在 Docker 中的主从节点调度、隔离开发环境、优先队列、暂停和恢复部署等。它还支持 agent 记忆过去的会话并演化自己的个性、专长和笔记等功能。
环境依赖与系统要求中文说明
生产环境部署(使用 Docker Compose 和多个工作者、systemd 运行 API、优雅关闭、集成配置)请参见 DEPLOYMENT.md 和 部署指南。
配置说明(含 MCP / env / 关键参数)
API/接口说明
集成说明,包括 Slack 和 GitHub App 等
成熟的多代理框架,活跃维护中。Agent间协作设计优秀,Claude集成紧密,适合专业开发者构建复杂AI工作流系统。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:agent-swarm Agent工作流 的核心功能完整,质量优秀。对于AI爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | agent-swarm |
| 原始描述 | 开源AI工作流:Agent Swarm framework for AI coding agents and more!。⭐446 · TypeScript |
| Topics | 多代理系统Claude集成AI编码工作流编排TypeScript |
| GitHub | https://github.com/desplega-ai/agent-swarm |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-18 · 更新时间:2026-05-19 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。