Agent Swarm: Multi-Agent Orchestration Framework for AI Coding Assistants

Multi-Agent Coordination for Development Tasks
Agent Swarm provides a framework for running teams of AI coding agents that work together autonomously. The system uses a lead agent that receives tasks from various sources, breaks them down into subtasks, and delegates them to worker agents running in isolated Docker containers.
Key Architecture and Features
- Lead/Worker coordination – A lead agent delegates and tracks work across multiple workers
- Docker isolation – Each worker runs in its own container with a full development environment
- Integration points – Slack, GitHub, and email integration for creating tasks
- Task lifecycle management – Priority queues, dependencies, pause/resume across deployments
- Compounding memory – Agents learn from every session and improve over time
- Persistent identity – Each agent maintains its own personality, expertise, and working style
- Dashboard UI – Real-time monitoring of agents, tasks, and inter-agent chat
- Service discovery – Workers can expose HTTP services and discover each other
- Scheduled tasks – Cron-based recurring task automation
Quick Start Options
The framework supports multiple deployment approaches:
Option A: Docker Compose (recommended)
git clone https://github.com/desplega-ai/agent-swarm.git
cd agent-swarm
# Configure environment
cp .env.docker.example .env
# Edit .env — set API_KEY and CLAUDE_CODE_OAUTH_TOKEN at minimum
# Start everything
docker compose -f docker-compose.example.yml --env-file .env up -dThe API runs on port 3013.
Option B: Local API + Docker Workers
git clone https://github.com/desplega-ai/agent-swarm.git
cd agent-swarm
bun install
# 1. Configure and start the API server
cp .env.example .env
# Edit .env — set API_KEY
bun run start:httpIn a new terminal, start a worker:
# 2. Configure and run a Docker worker
cp .env.docker.example .env.docker
# Edit .env.docker — set API_KEY (same as above) and CLAUDE_CODE_OAUTH_TOKEN
bun run docker:build:worker
mkdir -p ./logs ./work/shared ./work/worker-1
bun run docker:run:workerOption C: Claude Code as Lead Agent
# After starting the API server (Option B, step 1):
bunx @desplega.ai/agent-swarm setupThis configures Claude Code to connect to the swarm. Start Claude Code and tell it: "Register yourself as the lead agent in the agent-swarm."
How It Works
The system follows this flow: You send a task via Slack DM, GitHub @mention, email, or directly through the API. The lead agent plans by breaking the task down and assigning subtasks to workers. Workers execute in isolated Docker containers with git, Node.js, Python, and other development tools. Progress is tracked in real-time through the dashboard.
This type of multi-agent system is useful for developers who want to automate complex development workflows where tasks need to be broken down and executed in parallel, with each agent specializing in different aspects of the work.
📖 Read the full source: HN AI Agents
👀 See Also

Real-time stock analysis added to Claude Desktop via MCP server
A developer built an MCP server called agent-toolbelt that adds real-time stock analysis capabilities to Claude Desktop and Claude Code. The tool provides five specific analysis functions and works with a single command installation.

Artifactr: Local-first CLI tool for managing AI coding agent artifacts
Artifactr is a free, open-source CLI tool for managing LLM artifacts like skills, commands, and agent definitions. It stores files in portable vaults with no network connections and supports automatic syncing via symlinks.

Crit: Local-first, single-binary CLI for reviewing agent plans and diffs
Crit is a single-binary CLI that opens files or diffs in a browser with a GitHub-inspired UI, allowing multi-round feedback loops with AI coding agents — no account needed.

ddash: Mermaid Diagram Tool with URL-Based Storage and Claude Code Integration
ddash is a free Mermaid diagram tool where the entire diagram is compressed into the URL hash, requiring no backend, accounts, or storage. It includes a Claude Code skill that lets you generate and open diagrams directly during conversations with commands like /diagram the auth flow.