By the end of this guide you’ll have OpenSwarm running in your terminal, authenticated with your chosen AI provider, and ready to accept your first prompt. The recommended path takes under 60 seconds: oneDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/UnkleFunk/HouseMusicSwarm-/llms.txt
Use this file to discover all available pages before exploring further.
npm install command launches a setup wizard that handles Python dependencies, provider authentication, and optional integrations automatically.
Install OpenSwarm
OpenSwarm is distributed as an npm package. Install it globally with:Requirements: Node.js 18+ must be installed on your machine. Python 3.12+ is detected and installed automatically — you do not need to set up a Python environment yourself.After installation completes, run:This launches the interactive setup wizard. If Python dependencies are missing, they are installed silently on first run using
uv.Run the setup wizard
The setup wizard walks you through three steps:Step 1 — Choose your AI provider. Select one of the three supported providers:
Once the wizard completes, OpenSwarm starts automatically and drops you into the interactive terminal UI.
- OpenAI — uses
gpt-5.2by default; required for Sora video generation - Anthropic — uses
litellm/claude-sonnet-4-6by default; recommended for best slide HTML output - Google Gemini — uses
litellm/gemini/gemini-3-flashby default; required for Gemini image generation and Veo video
.env — it never leaves your machine.Step 3 — Enable optional add-ons. Select any combination of:| Add-on | What it unlocks |
|---|---|
| Web Search | Web, Scholar & product search for all agents (SEARCH_API_KEY) |
| Composio | 10,000+ integrations — Gmail, Slack, GitHub, HubSpot (COMPOSIO_API_KEY + COMPOSIO_USER_ID) |
| Google Gemini | Image generation, editing, and Veo video (GOOGLE_API_KEY) |
| fal.ai | Seedance 1.5 Pro video, editing, background removal (FAL_KEY) |
| Stock photos | Pexels / Pixabay / Unsplash image search for Slides Agent |
Send your first prompt
Type a prompt directly into the terminal UI. Here are a few to get you started:The Orchestrator receives your message, breaks it into parallel workstreams, and routes each piece to the right specialist. Completed files are saved locally and their paths are printed in the response.
For a full reference of every environment variable — including all provider keys, model selection, and optional integration keys — see the Configuration page.
Alternative installation methods
Local development
Clone the repo and runpython swarm.py directly to launch the Agency Swarm terminal UI with full show_reasoning=True output. This is the best option if you want to customize agents, add tools, or extend the swarm for your own use case. Dependencies are bootstrapped automatically via run_utils._bootstrap() on first run.
Docker
Copy.env.example to .env, add your keys, then run docker-compose up --build. Docker is the easiest way to deploy OpenSwarm on a server or share a reproducible environment with a team.
API server
python server.py starts a FastAPI server on localhost:8080. This exposes OpenSwarm’s agent orchestration over HTTP, making it easy to integrate the swarm into existing applications or trigger agents from CI/CD pipelines.