agent-swarm is a free, open source orchestration & scheduling project written in TypeScript and released under MIT. It has 986 GitHub stars, 143 forks and 11 open issues, and was last pushed 8 hours ago. On this registry it ranks #100 of 130 tracked projects in Orchestration & Scheduling, with 5 head-to-head comparisons available. It gained 140 stars over the last 30 tracked days.

What is agent-swarm?

Agent Swarm is an MIT-licensed, self-hosted orchestration engine that runs a lead agent delegating goals to worker agents inside isolated Docker containers, built for teams that want their company to become AI-native while keeping the work on their own infrastructure.

What it is

Agent Swarm describes itself as an open-source operating system for AI work. It is written in TypeScript and sits in the agentic framework and orchestration space. A lead agent takes tasks from Slack, GitHub or GitLab, issue trackers, email, or the API, then plans and delegates them to workers running a harness of the operator's choice: Claude Code, Codex, pi, opencode, Devin, or ACP agents. Those workers execute in isolated Docker containers with their own development environments, and a persistent brain holds memory through vector search plus identity in SOUL and CLAUDE.md files, so context and learnings survive across sessions. Completed work ships as pull requests, Slack replies, or email replies.

The concrete problem it solves is that agentic coding sessions do not outlive their own context. Driving one assistant per task means repeated setup, lost learnings, and manual shuttling of output between a chat window, a tracker, and a repository. Agent Swarm replaces that loop with an orchestration layer that holds shared memory and identity across sessions, schedules recurring work, and puts review gates and human-in-the-loop activation in front of changes. It does not replace the coding harnesses themselves; it coordinates them.

Key capabilities

  • A lead agent receives intake from Slack, GitHub and GitLab, Linear, Jira, email, and the API or CLI.
  • Memory and identity persist across sessions through vector search and identity files such as SOUL and CLAUDE.md.
  • Schema-validated task results through send-task for callers that need structured JSON output, and deferred tasks through defer-task that wake when all or any watched tasks reach an outcome, or when a deadline arrives.
  • Workflows, schedules, scripts, and apps cover recurring work.
  • Extensions provide trusted TypeScript hooks, installed as drafts and activated by an operator.
  • Realtime rooms handle shared page state, presence, and live channels, alongside dashboard file attachments added by paste, drag-and-drop, or file picker.
  • A REST API serves on port 3013 with /docs and /openapi.json.

Who uses it and how

  • Teams wiring Slack, GitHub or GitLab, Linear or Jira, and AgentMail so incoming requests become delegated tasks and replies return to the originating channel.
  • Engineering groups self-hosting the Docker Compose stack to evaluate the system, then moving to Kubernetes with the OCI Helm chart for production.
  • Operators who install extensions as drafts and activate them manually, keeping a human-in-the-loop review gate over new automation.
  • Teams that pull external signals into the loop through Sentry, Composio, Serply search, or WhatsApp via Kapso.

Getting started

Give a coding agent the operator skill with npx skills add desplega-ai/agent-swarm, or install it as a plugin in Claude Code, Codex, Cursor, Gemini CLI, Antigravity or Factory Droid, OpenCode, pi, Devin, or Kimi. To self-host, clone the repository, copy .env.docker.example to .env, generate the encryption_key, and run docker compose -f docker-compose.example.yml --env-file .env up -d, after which the API listens on http://localhost:3013.

How it compares

The facts provided list no paid products that Agent Swarm replaces, and they name no direct alternative orchestration tool. The harnesses it supports, such as Claude Code, Codex, and Devin, are the workers it coordinates rather than competitors, so on the available evidence it stands alone in this registry.

When to use it — and when not to

A self-hoster operates the whole stack: Docker Compose or Kubernetes, an API on port 3013, an encryption_key, an API key, a harness credential, and all eight agent UUIDs, and the README asks operators to read the Compose checklist before starting. Teams that want a zero-operations hosted product, or whose workflow is a single coding agent on a single repository, should not pick it, because the orchestration layer only pays off with recurring, multi-source work. The repository also states that it evolves every single day, so interfaces and deployment steps should be expected to move.

project readme (upstream, from github) — read inline

GitHub Stars MIT License PRs Welcome

An engine to make your company AI Native
Built by desplega.sh.

[!TIP] This repo evolves every single day. Watch now →

▸ daily evolution · slack → pr · 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
  • 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
  • Workflows, schedules, scripts, and apps for recurring work
  • Extensions for trusted TypeScript hooks, installed as drafts and activated by an operator
  • Realtime rooms for shared page state, presence, and live channels
  • Your choice of harness and models: Claude Code, Codex, pi, opencode, Devin, or ACP agents
flowchart LR
    subgraph IN["Tasks come in"]
        direction TB
        S["Slack"]
        G["GitHub / GitLab"]
        E["Email"]
        A["API / CLI"]
    end

    LEAD(["Lead Agent<br/>plans &amp; delegates"])

    subgraph WORKERS["Workers in Docker"]
        direction TB
        W1["Worker"]
        W2["Worker"]
        W3["Worker"]
    end

    subgraph BRAIN["Persistent brain"]
        direction TB
        MEM["Memory<br/>(vector search)"]
        ID["Identity<br/>(SOUL, CLAUDE.md)"]
    end

    subgraph OUT["Work ships"]
        direction TB
        PR["Pull Requests"]
        REPLY["Slack replies"]
        EMAIL["Email replies"]
    end

    IN --> LEAD --> WORKERS
    WORKERS -->|reads context| BRAIN
    WORKERS -->|writes learnings| BRAIN
    WORKERS --> OUT

Quick Start

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 add https://github.com/desplega-ai/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 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, a harness credential, and all eight agent UUIDs.
openssl rand -base64 32 > encryption_key
chmod 600 .env encryption_key
docker compose -f docker-compose.example.yml --env-file .env up -d

Read the Compose checklist before starting. API: http://localhost:3013, with /docs and /openapi.json. Dashboard: connect it to your API. Kubernetes: install the OCI Helm chart.

Integrations

Slack · GitHub · GitLab · Linear · Jira · AgentMail · WhatsApp (Kapso) · Composio · Sentry · Devin · Serply search. Integration guides.

Learn more

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-swarm or read the operator skill.

Star History

Star History Chart

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.

Frequently asked questions

Is agent-swarm free to use?

agent-swarm is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does agent-swarm do?

Your Company Agentic Operating System

What is agent-swarm written in?

agent-swarm is primarily written in TypeScript. Its source is publicly available at https://github.com/desplega-ai/agent-swarm, and it has 986 GitHub stars.