Claw Pilot
OpenClaw instance manager
Ask AI about Claw Pilot
Powered by Claude Β· Grounded in docs
I know everything about Claw Pilot. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
claw-pilot
Self-hosted multi-agent orchestration runtime β task board, flow engine, budget control, real-time dashboard.
Run a team of LLM agents on your own server. Wire them together with A2A messaging, schedule them with heartbeats, orchestrate them with DAG flows, cap their spend with budgets, watch them work in a real-time dashboard.
π Documentation Β· π Website Β· π¬ Discussions Β· π Issues
What you can build in an afternoon
π€ A 3-agent ops team with spending cap
Provision an instance, drop three archetypes on the canvas (analyst, communicator, orchestrator), wire A2A links, set a $50/month hard-stop budget. The orchestrator delegates via send_message; if the cap hits 80% you get a Telegram alert, at 100% the instance auto-pauses.
π A daily maintenance flow
Declare a DAG (check-site β run-audit β post-report), schedule it on a cron trigger, let the flow engine fan out steps in parallel, collect structured SITREPs at each completion, stream the whole run live to the dashboard. Failed step? Automatic retry with backoff, then inbox notification.
π¬ A chat-first assistant with persistent memory
Pair a primary agent with a permanent cross-channel session (web, Telegram, CLI), give it workspace tools (ws_search_files, memory with decay scoring), expose MCP servers for domain tools. Same conversation whether you ping it from your phone or your terminal.
Quickstart
Requirements: Node.js β₯ 22.12, pnpm β₯ 9, Linux (systemd) or macOS (launchd), Bash β₯ 5.
curl -fsSL https://raw.githubusercontent.com/swoelffel/claw-pilot/main/install.sh | sh
Then:
claw-pilot init # discover / bootstrap
claw-pilot create # interactive wizard β first instance
claw-pilot dashboard # http://localhost:19000
Override the install path with CLAW_PILOT_INSTALL_DIR. For production setup (systemd / launchd service, reverse proxy, SSL), see docs/main-doc.md.
What's inside
Runtime engine (claw-runtime)
| Capability | What it does |
|---|---|
| Flow engine | Declarative DAG workflows β fan-out/fan-in, per-step timeout & retry, structured SITREP outcomes, automatic tool-call repair |
| Task board | Kanban with 5 states, drag & drop, epic hierarchy, agent auto-assignment with wakeup, activity timeline |
| A2A messaging | send_message tool for persistent sync or fire-and-forget cross-agent communication |
| Permanent sessions | One session per primary agent, shared across web / Telegram / CLI channels |
| Heartbeat scheduler | Per-agent background ticks, timezone-aware active hours, session reuse |
| Budget enforcement | Monthly or lifetime limits, soft alerts (80%), hard stop (100%), auto-pause, Telegram notifications |
| MCP integration | Per-instance MCP server registry, live tool discovery, stdio + HTTP transports |
| Memory | Context compaction, FTS5 search on workspace files, decay scoring |
| Middleware | Pre/post message pipeline (guardrail, tool error recovery), extensible via plugins |
| Permissions | Interactive approval for filesystem, bash, agent spawning β wildcard rules persisted |
Dashboard & tooling
| Screen | What it's for |
|---|---|
| Home (HOMEBOT) | Chatbot entry point with admin plugin (22 tools), setup wizard |
| Instances | Live status cards, lifecycle actions, health widgets |
| Task Board | Kanban + epics + timeline |
| Flows | Editor, run history, live SSE step-by-step detail |
| Agent Builder | Drag-and-drop canvas per instance, A2A/spawn links, blueprints |
| Runtime Pilot | Multi-agent chat with tool calls, token/cost tracking, session tree |
| Cost Dashboard | Per-agent spend charts, budget management |
| Command Palette | Cmd+K global search (FTS5 BM25) across instances/agents/tasks/blueprints |
| Activity Console | Live event stream (SSE) with filters |
| Memory Browser | Browse/search agent memory with decay scores |
| Inbox | Persistent notification feed, bell badge, 6 event types |
| Named Keys | AES-256-GCM encrypted API keys, assignable per instance/agent |
| i18n | UI in 6 languages (EN, FR, DE, ES, IT, PT) |
Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Dashboard (Hono + Lit) :19000 (SSE + WS) β
βββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββ
β
ββββββββββΌββββββββββ βββββββββββββββββββ
β claw-pilot CLI ββββββββ registry.db β
β (provisioner) β β (SQLite WAL) β
ββββββββββ¬ββββββββββ βββββββββββββββββββ
β
βββββββββββββΌββββββββββββ¬ββββββββββββββ
β β β β
βββββΌββββ βββββΌββββ βββββΌββββ βββββΌββββ
β inst1 β β inst2 β β inst3 β ... β instN β claw-runtime instances
βββββ¬ββββ βββββββββ βββββββββ βββββββββ (multi-agent, A2A, flows)
β
βββ Agent(main) βββ
βββ Agent(ops) ββΌββ bus + middleware + permissions
βββ Agent(analyst)ββ
βββ MCP tools, memory, heartbeat, budget
Single ~/.claw-pilot/registry.db (schema v41) is the source of truth for instances, agents, blueprints, flows, tasks, budgets, and conversation history. See docs/main-doc.md for the full architecture and docs/registry-db.md for the data model (40 tables, 23 repositories).
CLI at a glance
claw-pilot init | create | list | status | destroy
claw-pilot start | stop | restart <slug>
claw-pilot runtime start|stop|restart|logs|config|chat <slug>
claw-pilot dashboard | token | doctor | logs | update | team
claw-pilot auth | service | config
Run claw-pilot --help for the full reference.
Development
git clone https://github.com/swoelffel/claw-pilot.git
cd claw-pilot && pnpm install
pnpm build # CLI + UI
pnpm test:run # ~2400 unit/integration tests
pnpm test:e2e # ~100 e2e
pnpm typecheck:all lint:all format:check spellcheck
Tech stack β Node 22+, TypeScript ~6, Hono + Lit + Vite, better-sqlite3 WAL, Vercel AI SDK ^6, MCP SDK ^1.28, Vitest ^4, oxlint + Prettier + cspell + lefthook, conventional commits.
Contributing guide: CONTRIBUTING.md β strict develop-first gitflow, PRs target develop, never bump version in feature PRs.
Documentation
docs/main-doc.md | Architecture index |
docs/registry-db.md | Database schema + migration history |
docs/ux-design.md | Dashboard UX β screens, components, patterns |
docs/design-rules.md | Design system, anti-patterns, delivery checklist |
docs/i18n.md | i18n workflow |
docs/sse-architecture.md | Real-time streaming (3 SSE + 1 WS) |
CHANGELOG.md | Release notes |
CLAUDE.md | Development conventions for AI coding assistants |
License
MIT β see LICENSE.
