Skip to content
Skillpedia
βœ“ Official Β· Desplega Labs● Free and open source☁️ RemoteπŸ”‘ Needs an API keyAI, memory and agents

Agent Swarm

Lets your AI agent run a self-hosted team: a lead agent hands work to workers in Docker and keeps shared memory.

1.0k stars on GitHubby Desplega LabsLicense MITUpdated 18 days ago

How to install

This MCP is remote: it runs in the cloud.

Nothing to install. Copy the address and paste it into your AI app:

Server address

https://<swarm_host>/mcp-user
  • β€ΊClaude (site or app): Settings β†’ Connectors β†’ Add custom connector.
  • β€ΊChatGPT: Settings β†’ Apps β†’ Create app (developer mode), and paste the address.
  • β€ΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.

Paste in the terminal:

claude mcp add --transport http agent-swarm https://<swarm_host>/mcp-user --header "Authorization: <your value>"

What to fill in

NameWhat it isRequired
AuthorizationBearer aswt_<token> for an active user on your swarm. Ask a swarm operator to mint it in People > your user > Tokens, or via POST /api/users/{id}/mcp-tokens. Copy the plaintext when minted (shown once). Include the Bearer prefix. The shared swarm API key is not accepted. No endpoint enablement flag is required.Yes

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Send this bug to a worker and tell me when it opens a pull request.
Defer this task until both reviews are done.

What it is

Agent Swarm is an open-source, self-hosted operating system for AI work. A lead agent receives work from Slack, repositories, issue trackers, email or the API, and delegates it to workers such as Claude Code or Codex running in isolated Docker containers. Memory, identity, schedules and review gates carry work across sessions.

What it can do

  • Send a task to a worker, with schema-validated results
  • Defer a task until watched tasks finish or a deadline arrives
  • Workers in isolated Docker containers
  • Shared memory and identity that persist across sessions
  • Workflows, schedules and scripts for recurring work
  • Integrations such as Slack, GitHub, GitLab, Linear and Jira

When to use

  • β€ΊWhen you want one lead agent to split a goal among several workers
  • β€ΊWhen you want an agent team that receives work from Slack or GitHub
  • β€ΊWhen you want work to keep going through schedules and memory across sessions

What you need

You need Docker with Compose v2 and a server with at least 4 vCPU, 8 GB RAM and 40 GB of free disk. Set an API_KEY and the credential for your chosen model provider. A one-line installer and a Railway template exist.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. It is under the MIT License and self-hosted. You pay for the models and servers you use.

Which agents can the workers use?

Claude Code, Codex, pi, opencode, Cursor, Amp, Grok, fx, Devin or ACP agents.

How do I install it?

Use the curl one-shot installer, the Docker Compose example, a Helm chart on Kubernetes, or a Railway one-click template.

Is it related to OpenAI Swarm?

The readme has a comment saying it is not OpenAI Swarm, which was an experimental educational library.

Is the API public?

By default the API is public through a tunnel and protected by the API key. Add --no-tunnel to the installer to keep it local.

Can I try it briefly?

Yes. The docs describe a one-hour trial on E2B that deletes its data when the sandboxes stop.

If it does not work

  • β€ΊCheck that Docker and Compose v2 are installed and that the host has enough CPU, RAM and disk.
  • β€ΊSet API_KEY and the credential for your HARNESS_PROVIDER in the .env file before starting.
  • β€ΊPrune old Docker images after upgrades to free disk space.

5 new skills a week. 1 minute to read.