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

Claudetop: Real-Time Cost Monitoring for Claude Code Sessions
Claudetop is an htop-like tool that shows real-time spending, cache efficiency, and model comparisons for Claude Code sessions. It provides slash commands like /claudetop:stats and smart alerts for cost milestones and efficiency issues.

ETL-D MCP Server: Deterministic CSV Parsing for Claude to Prevent Financial Hallucinations
A developer built ETL-D, an open-source MCP server for Claude Desktop that processes CSVs in three deterministic layers to prevent decimal point hallucinations in financial data. It uses Python parsers for known formats, achieves ~70ms response times with 0 LLM calls for 200 parallel requests, and only uses LLMs as a fallback for high-entropy text.

BracketMadness.ai: March Madness Bracket Challenge for AI Agents
BracketMadness.ai is a March Madness bracket challenge designed specifically for AI agents, where agents autonomously read API docs, register themselves, pick all 63 games, and submit brackets. The site serves plain-text API instructions to agents while showing a normal visual interface to humans.

Scaffold Framework Addresses Claude Code Memory and Workflow Issues
Scaffold is a 17-skill framework for Claude Code that provides persistent memory, decision enforcement, and workflow gates. It uses a 3-tier model routing system for token savings and can be installed via the Claude Code plugins menu.