CLI + web dashboard to orchestrate multi-agent clusters on a Linux or macOS server
claw-pilot v0.69.0 manages the full lifecycle of claw-runtime agent instances: provisioning,
service integration, visual Agent Builder, inter-agent messaging, middleware pipeline, named API keys,
user profiles, budget enforcement, dynamic model discovery, task board with epic hierarchy, workflow orchestration,
and a real-time dashboard to monitor and interact with multi-agent teams.
All instances use the claw-runtime engine β a native Node.js multi-agent runtime with built-in support for Agent-to-Agent (A2A) messaging, heartbeat scheduling, MCP integration, permissions system, memory management, middleware chain, and plugin architecture.
Installed from source only (
/opt/claw-pilotor custom path viaCLAW_PILOT_INSTALL_DIR).
Questions β Discussions (Q&A) Β· Bugs / Tasks β Issues Β· Ideas β Discussions (Ideas)
- Provision β interactive wizard to create new claw-runtime instances with auto Nginx + SSL config
- Discovery β auto-detect existing instances on the server
- Lifecycle β start, stop, restart, destroy instances (PID daemon-based control)
- Health monitoring β real-time status via WebSocket, health checks, detailed logs
- Visual canvas β drag-and-drop to design multi-agent teams with live preview
- Agent-to-Agent (A2A) β spawn links between agents, configure permissions and lifecycle modes
- Blueprints β save reusable agent team templates, deploy to any instance
- Team export/import β manage agent configurations as JSON/YAML for version control
- Permanent sessions β primary agents get a single persistent session shared across all channels (web, Telegram, CLI)
- Inter-agent messaging β
send_messagetool for persistent cross-agent communication (synchronous or fire-and-forget with async processing) - Middleware pipeline β extensible pre/post middleware chain in the message processing pipeline (guardrail, tool error recovery)
- Task board β Kanban board with 5 status columns, drag & drop, agent assignment with wakeup, epic hierarchy (parent-child goals), activity timeline, auto-completion
- Workflow orchestration β declarative DAG-based workflow engine with fan-out/fan-in, per-step timeout & retry, SITREP extraction, session persistence (FLOW-001)
- Heartbeat scheduling β per-agent background ticks with configurable intervals, timezone-aware active hours, permanent session reuse
- MCP integration β discover and manage MCP servers per instance, real-time tool registry
- Permission system β interactive approval for file access, bash execution, agent spawning
- Memory management β context window compaction with FTS5 search on workspace files
- Plugin system β extensible hooks for tool registration, session lifecycle, message interception
- Named API keys β centralized AES-256-GCM encrypted key management, assignable to instances and agents
- User profiles β per-user preferences (language, timezone, communication style, custom instructions)
- Agent archetypes β 6 built-in templates (analyst, communicator, evaluator, generator, orchestrator, planner)
- Budget enforcement β per-instance/agent monthly or lifetime limits, soft alert (80%), hard stop (100%), auto-pause, Telegram notifications
- Dynamic model discovery β real-time model discovery from 8 provider APIs with polling, caching, and DB persistence
- Home screen β chatbot-styled entry point with system instance auto-provisioning, setup wizard, and 22-tool admin plugin (HOMEBOT)
- Web dashboard β real-time status dashboard, agent builder, settings, device pairing (port 19000)
- Command palette β global search (Cmd+K / Ctrl+K) across instances, agents, tasks, blueprints with FTS5 BM25 ranking
- Runtime Pilot β multi-agent chat with tool call visualization, token/cost tracking, context panel, session tree
- Cost dashboard β per-agent cost tracking with SVG charts + budget management tab
- Activity console β live event stream (SSE) with filters and floating widget
- Memory browser β browse and search agent memory files with decay scores
- Heartbeat heatmap β SVG heatmap of multi-agent heartbeat activity
- Agent templates β standalone reusable agent templates with archetype system, import/export YAML
- Named keys panel β manage encrypted API keys, assign to instances/agents
- Profile settings β user preferences, communication style, custom instructions
- Permission overlay β real-time permission request/approval from dashboard
- Inline file editor β edit agent workspace files (SOUL.md, AGENTS.md, MEMORY.mdβ¦) in the UI
- Self-update β update to latest release via CLI or dashboard banner
- i18n β UI available in 6 languages (EN, FR, DE, ES, IT, PT)
- Node.js >= 22.12.0
- pnpm >= 9
- Linux (Ubuntu/Debian recommended) with systemd user services
- OR macOS with launchd integration (M1/M2/M3/M4/M5 arm64 or Intel)
- Bash >= 5.0 for installation scripts
curl -fsSL https://raw.githubusercontent.com/swoelffel/claw-pilot/main/install.sh | shClones the repo to /opt/claw-pilot (override with CLAW_PILOT_INSTALL_DIR), builds the CLI,
and links the binary into your PATH.
claw-pilot [command]
Instance Management:
init Initialize claw-pilot & discover existing instances
create Create a new instance (interactive wizard)
list List all instances with status
status <slug> Show detailed status of an instance
destroy <slug> Destroy an instance (stops service, removes files)
Instance Lifecycle:
start <slug> Start an instance
stop <slug> Stop an instance
restart <slug> Restart an instance
claw-runtime:
runtime start <slug> Start a claw-runtime instance (--daemon for background)
runtime stop <slug> Stop a claw-runtime instance
runtime restart <slug> Restart a claw-runtime instance
runtime logs <slug> View runtime logs (-f for live tail)
runtime config <slug> Show/edit runtime.json debug snapshot (DB is source of truth)
runtime chat <slug> [msg] Interactive chat with an agent
Tooling:
dashboard Start the web dashboard (default port 19000)
token <slug> Show instance token (--url for full URL, --open to launch browser)
doctor [slug] Diagnose instance health (PID, config, workspace files)
logs <slug> View instance logs (-f for live tail)
update Update claw-pilot to the latest release
team Export / import agent team configurations
Authentication & Service:
auth Setup / reset / check dashboard authentication
service Install / uninstall / restart dashboard system service (systemd/launchd)
Configuration:
config get <key> Get a global config value
config set <key> <value> Set a global config value
claw-pilot dashboard
# β http://localhost:19000 (login required, user: claw-pilot, auto-generated password)| Screen | Purpose |
|---|---|
| Home | Chatbot entry point with system instance, setup wizard, admin flows |
| Instances | Live status cards (health, port, agent count) with lifecycle actions |
| Task Board | Kanban board with drag & drop, epic hierarchy, agent assignment, activity timeline |
| Flows | Workflow editor, run history, step-by-step execution detail |
| Agent Builder | Visual canvas per instance β design teams with drag-and-drop, A2A/spawn links |
| Blueprints | Create, edit, deploy reusable agent team templates |
| Agent Templates | Standalone reusable agent templates with archetype system |
| Runtime Pilot | Multi-agent chat β tool calls, token usage, context panel, session tree |
| Session Logs | Browse session history, messages, system prompt snapshots |
| Settings | Per-instance configuration: general, agents, runtime, devices, MCP, permissions, named keys |
| Cost Dashboard | Per-agent cost tracking with SVG charts + budget management |
| Activity Console | Live event stream with real-time filters |
| Memory Browser | Browse and search agent memory files with decay scores |
| Heartbeat Heatmap | SVG heatmap of multi-agent heartbeat activity and scheduling |
| Profile Settings | User preferences, communication style, custom instructions |
src/
commands/ CLI commands β thin wrappers over core/ (17 commands incl. auth, service)
core/ Business logic (registry, discovery, provisioner, agent-sync, blueprints, β¦)
repositories/ 20 SQLite repositories (server, instance, agent, port, config, event,
blueprint, agent-blueprint, runtime-session, rt-event, cost, heartbeat,
named-key, runtime-config, user-profile, budget, task, task-activity, search, flow)
model-discovery/ Dynamic model discovery service (8 provider adapters, polling, DB persistence)
dashboard/ Hono HTTP server + WebSocket monitor + auth (sessions/cookies)
routes/ REST API (~139 endpoints) + WebSocket
db/ SQLite schema and migrations (schema.ts) β current version: 34
lib/ Utilities (logger, errors, constants, platform, xdg, shell, β¦)
runtime/ claw-runtime engine
bus/ Event bus (pub/sub)
channel/ Message channels (web-chat, Telegram, internal)
config/ Runtime configuration types and loaders
engine/ Engine bootstrap, config builder, plugin wiring
middleware/ Pre/post middleware pipeline (guardrail, tool error recovery)
permission/ Permission ruleset (wildcard glob matching, last-match-wins)
profile/ User profile resolution (community resolver)
provider/ LLM provider resolution and auth profiles
session/ Prompt loop, message handling, compaction, system prompt
tool/ Built-in tools + send_message + task delegation
flow/ Declarative DAG workflow engine (FLOW-001)
agent/ Agent defaults, registry, kind resolution
plugin/ Plugin system (hooks, types)
mcp/ MCP client integration
memory/ Memory indexing, decay, search tool
heartbeat/ Heartbeat scheduling and execution
server/ ServerConnection abstraction (LocalConnection; SSH planned)
wizard/ Interactive creation wizard (@inquirer/prompts)
ui/src/
components/ 54+ Lit web components (home screen, instance cards, agent builder, pilot, task board, flows, β¦)
pilot/ Runtime Pilot subcomponents (messages, parts, context, input, header)
services/ Auth state, WS monitor, router, update poller
locales/ i18n via @lit/localize (6 languages)
styles/ Design tokens, shared CSS
templates/
archetypes/ 6 agent archetype templates (analyst, communicator, evaluator, β¦)
blueprints/ 3 built-in team blueprints (design-studio, dev-harness, team-architect)
workspace/ Workspace bootstrap files (SOUL.md, IDENTITY.md, AGENTS.md, β¦)
SQLite ~/.claw-pilot/registry.db β schema v34. See docs/registry-db.md.
claw-pilot registry (instance management):
| Table | Role |
|---|---|
servers |
Physical servers (always 1 local row in v1) |
instances |
Instances β slug, port, state, runtime_config_json, default_named_key_id |
agents |
Agents per instance/blueprint β canvas position, skills, config_json, named_key_id |
agent_files |
Workspace file cache (SOUL.md, AGENTS.md, MEMORY.mdβ¦) |
agent_links |
A2A spawn links and tool dependencies between agents |
blueprints |
Reusable agent team templates with canvas layouts |
agent_blueprints |
Standalone reusable agent templates |
agent_blueprint_files |
Workspace files per agent blueprint |
named_api_keys |
AES-256-GCM encrypted API keys (admin-global) |
ports |
Port reservation registry (avoid conflicts) |
config |
Global key-value configuration |
events |
Audit log per instance (creation, modification, deletion) |
users / sessions |
Dashboard user accounts + HTTP session auth |
user_profiles |
Per-user preferences (language, timezone, communication style) |
rt_budgets |
Per-instance/agent budget limits (monthly/lifetime, soft alert, hard stop) |
rt_budget_events |
Budget audit trail (alerts, overrides, resets) |
discovered_models |
Models discovered from provider APIs (cached, with capabilities + cost) |
discovery_status |
Provider discovery status (last success/error, model count) |
rt_tasks |
Task board β title, status (5 states), priority, assignee, labels, position, type (task/epic), parent_id |
rt_task_comments |
Task discussion threads (author, content, timestamps) |
rt_task_activities |
Activity timeline per task (9 types: created, status_changed, assigned, etc.) |
search_index |
FTS5 global search index (instances, agents, tasks, blueprints) |
rt_flow_definitions |
Workflow definitions β name, steps DAG (JSON), trigger config, enabled |
rt_flow_runs |
Workflow execution runs β status, trigger, timing, error |
rt_flow_step_runs |
Per-step execution details β agent, session, SITREP, tokens, cost |
claw-runtime persistence (conversation history & state):
| Table | Role |
|---|---|
rt_sessions |
Permanent (one per primary agent, cross-channel) or ephemeral sessions |
rt_messages |
Messages per session (user/assistant, model, tokens, cost) |
rt_parts |
Message parts (text, tool-call, tool-result, error) |
rt_events |
Runtime bus events per instance (activity console) |
rt_permissions |
Permission rules approved by user (filesystem, bash, A2A) |
rt_auth_profiles |
LLM provider auth profiles with failover chains |
rt_system_prompts |
System prompt snapshots per session (deduplicated by hash) |
git clone https://github.com/swoelffel/claw-pilot.git
cd claw-pilot
pnpm install
pnpm build # Build CLI + UI (dist/)
pnpm build:cli # Build CLI only
pnpm build:ui # Build UI only (Vite)
pnpm typecheck:all # tsc --noEmit (backend + UI)
pnpm test:run # Run unit/integration tests (~2400 passing)
pnpm test:ui # Run UI tests
pnpm test:e2e # Run e2e tests (~100, real HTTP server, in-memory DB)
pnpm lint:all # oxlint src/ + ui/src/
pnpm format:check # Prettier check
pnpm spellcheck # cspell (en + fr dictionaries)Pre-commit hooks (lefthook): format:check + lint:all + typecheck:all. Pre-push hooks: spellcheck + test:run. Commits follow conventional commits (commitlint).
| Layer | Stack |
|---|---|
| Runtime | Node.js >= 22.12.0, ESM modules, TypeScript ~6.0 |
| CLI | Commander.js ^14 + @inquirer/prompts (interactive wizard) |
| HTTP / WebSocket | Hono ^4.12 + ws ^8 (real-time status + agent communication) |
| Database | better-sqlite3 ^12 + SQLite WAL (schema v34) |
| UI | Lit ^3 web components + Vite ^8 + @lit/localize (i18n, 6 languages) |
| Build | tsdown (CLI), Vite ^8 (UI) |
| LLM Integration | Vercel AI SDK ^6.0 (@ai-sdk/anthropic, openai, google) |
| Tests | Vitest ^4 (~2400 unit/integration + ~100 e2e) |
| Lint / Format | oxlint ^1.59 + Prettier ^3.8 + cspell + lefthook (zero-warning enforcement) |
| Plugin System | Event bus + hook-based plugins for tool, session, and message lifecycle |
| MCP | @modelcontextprotocol/sdk ^1.28 (stdio + HTTP transports) |
| Document | Content |
|---|---|
docs/main-doc.md |
Architecture overview β read this before major changes |
docs/ux-design.md |
Dashboard UX β all screens, components, interaction patterns |
docs/ux-screens/ |
Individual screen docs (16 screens) |
docs/ux-components/ |
Individual component and dialog docs (29 components) |
docs/design-rules.md |
Design system, anti-patterns, delivery checklist |
docs/i18n.md |
i18n architecture β adding languages, translation workflow |
docs/registry-db.md |
Database schema (v38), migration history, recovery procedures |
CLAUDE.md |
Development conventions, key patterns, common pitfalls |
CHANGELOG.md |
Detailed release notes |
See CHANGELOG.md for detailed release notes.
- v0.80.9 (current) β UI fixes (question cards render without F5, state reset), named-keys keyless provider support, crypto empty-string round-trip; contributor docs rewrite (develop-first gitflow)
- v0.80.8 β
ServerRegistryabstraction (hook H3): single entry point for "which server serves which resource"; Community shipsSingleServerRegistry, Enterprise will plugFederatedServerRegistry - v0.80.7 β CodeQL triage β 0 open alerts: 5 true positives fixed, 21 false positives dismissed with justification
- v0.80.6 β Enterprise Edition preparation Phase 0: pluggable permission middleware (
permission()Hono factory,ACTIONScatalogue,NullPermissionChecker) - v0.80.5 β
AuthProviderabstraction: pluggable auth registry,PasswordProvider(scrypt); Enterprise hook for OIDC/SAML/Azure AD - v0.80.3 β
CapabilityRegistry: single source of truth for Community vs Enterprise feature gating - v0.79.0 β Instance shared workspace: per-instance
workspaces/shared/directory accessible by all agents, new dashboard tab, schema v38 - v0.78.0 β Onboarding Start CTA: animated kickoff button,
POST /kickoffroute, systemBOOTSTRAP.mdfor first-contact intro - v0.77.0 β Flow Sessions screen: run-centric master/detail view, sitrep-aware status colors, live SSE streaming for active runs
- v0.76.0 β Instance Dashboard screen: widget-based overview (9 widgets), mini-pilot sidebar, clickable instance card
- v0.75.0 β System-pilot documentation workspace: 45 embedded
.mdfiles, external workspace file loading,ws_search_filestool - v0.74.0 β INBOX-001: persistent notification inbox, bell badge,
notificationstable (v37), bus-driven emitter for 6 event types - v0.73.5 β CRUD workspace file tree: full file manager in agent panel,
ws_list_files+ws_search_filesplugin tools - v0.73.0 β Flow engine: outcome-driven DAG control flow,
complete_stepstructured SITREP tool, automatic tool-call repair - v0.72.8 β Multi-user port isolation: OS username salt prevents port collisions between co-hosted installs
- v0.71.0 β Live reasoning streaming: collapsible "Thinkingβ¦" card for extended thinking tokens; 5-phase pilot status indicator
- v0.70.0 β Lean Home chat (
cp-home-chat), live ClawPilot state in system prompts, bundled-question detection - v0.69.0 β HOMEBOT: chatbot home screen, system instance with 6 pre-configured flows, 22-tool admin plugin
- v0.68.0 β FLOW-001: declarative DAG workflow engine, agent execution refactor (dashboard β runtime proxy)
- v0.67.0 β SEARCH-001: command palette (Cmd+K), FTS5 global search across 5 entity types
- v0.66.0 β TIMELINE-001: activity timeline per task, 9 activity types with field-level tracking
- v0.65.0 β GOAL-001: epic hierarchy, heartbeat overhaul (permanent sessions, timezone validation)
- v0.64.0 β TASK-001: Kanban task board with drag & drop, agent assignment, engineering excellence
- v0.63.0 β Dynamic model discovery, 8 providers, circular dependency fix
- v0.62.0 β Budget enforcement with auto-pause, Telegram alerts
- v0.58.0 β Dashboard service management, auth command, system prompt snapshots
- v0.55.0 β Agent templates, runtime config in DB, skills sync
- v0.48.0 β Heartbeat heatmap, memory browser, activity console, cost dashboard
- v0.45.0 β Cost tracking, send_message tool, multi-agent collaboration
- v0.30.0 β Workspace autodiscovery, runtime-specific features
MIT β see LICENSE
Updated: 2026-04-12 β v0.69.0, schema v34, 20 repositories, ~139 REST endpoints, HOMEBOT, workflow engine, task board, command palette
