Prefer not to manage infrastructure? Get started with managed hosting — a dedicated server provisioned for you in minutes.
Requirements
- Python 3.10+ (CI tested on 3.11 and 3.12)
- Docker running. Docker Desktop on macOS / Windows; on Linux either Docker Desktop or docker engine with your user in the
dockergroup (sudo usermod -aG docker $USER, then re-login) - One LLM API key (Anthropic / OpenAI / Moonshot / any of 100+ providers via LiteLLM), or run Ollama locally for a keyless setup
- OS: macOS, Linux, or Windows (PowerShell + Docker Desktop with WSL 2)
Install and launch
Clone and install
First install downloads ~70 packages and takes 2-3 minutes. The first
openlegion start then builds two Docker images (~1 min for the agent image, ~3 min for the browser service).Start your fleet
openlegion start detects this and offers three paths:- Quick setup here — pick a provider, paste your API key (validated), choose a model, then optionally create your first agent or apply a team template
- Open the dashboard — configure everything via the web UI at
http://localhost:8420/ - Skip — start the runtime and use
/addkeylater in the REPL
| Template | Agents | Use Case |
|---|---|---|
starter | assistant | Single general-purpose agent |
content | researcher, writer | Blog / social / email from briefs |
deep-research | scout, analyst | Multi-source synthesis with citations |
devteam | pm, engineer, reviewer | Software development team |
monitor | watcher, analyst | Always-on monitoring |
sales | researcher, qualifier, outreach | Sales pipeline |
competitive-intel | tracker, analyst | Competitor pricing/product tracking |
lead-enrichment | enricher, verifier | Lead list research |
price-intelligence | crawler, analyst | Price monitoring with anti-bot browser |
review-ops | collector, responder | G2 / Trustpilot / Capterra / App Store / Google reviews + reply drafts |
social-listening | listener, reporter | Reddit / HN / X competitor pain-point monitor |
research | researcher | General-purpose researcher |
opportunity-finder | scout, evaluator, modeler | Gap-scout + evaluation + modeling |
http://localhost:8420/ for the web dashboard (four top-nav tabs: Chat / Work / Team / Settings).
Common operations
/add hot-adds a new agent to the running fleet, /edit modifies one, and /remove removes one. See the CLI Reference for the full REPL command surface.
Connect a channel
Channels auto-start when their token resolves — there is no separate enable flag. Add the credential to.env (or use /addkey inside the REPL):
openlegion start, the channel prints a pairing code; send /start <code> from your account to the bot to link it as the owner.
Webhooks are created from the engine dashboard (System tab → Integrations); there is no openlegion webhooks command. Each hook is reachable at POST /webhook/hook/<hook_id> with an optional HMAC-SHA256 signature; bodies are capped at 1 MB and truncated to 3000 chars when dispatched to agents.
Next steps
Architecture
Understand how agents, the mesh host, and trust zones work together.
CLI Reference
All CLI commands and interactive REPL commands.
Configuration
Customize agents, permissions, models, and budgets.
Coordination
How agents collaborate: blackboard, pub/sub, handoffs, lanes.
