The Open-Source, Local-First Multi-Agent Orchestration OS
English ยท ็ฎไฝไธญๆ ยท ๆฅๆฌ่ช ยท Espaรฑol ยท Deutsch
OpenPanda organizes terminal AI coding agents (Claude Code, OpenAI Codex, Grok Build, DeepSeek Harness, OpenCode, and more) together with your devices into a single execution crew. You issue one instruction; it handles intent classification, task decomposition, dispatch, execution supervision, and result verification โ all locally, with zero cloud dependency.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ You: One Command โ
โ (Terminal TUI / Web Console / CLI Script) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโผโโโโโโโโโโโโโ
โ ๐ผ OpenPanda OS โ
โ Route, Orchestrate, โ
โ Verify & Secure โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ Direct P2P WebSocket (no cloud relay)
โโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ โ
โโโโโโผโโโโโโโโโโโโโโโ โโโโโโโโผโโโโโโโโโโโโโ โโโโโโโโโโผโโโโโโโโโโโโโ
โ MacBook (Worker) โ โ Linux Build Box โ โ Raspberry Pi / SBC โ
โ - Claude Code โ โ - Codex / Docker โ โ - 24/7 Daemons โ
โโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ
The project evolves along two tracks:
| Track | Description | Status |
|---|---|---|
| Multi-Agent orchestration | Hire and command multiple terminal agents: dispatch, supervision, failover, approval | โ Current focus |
| Multi-device collaboration | Cross-node task routing and scheduling over a P2P mesh | ๐ถ Preview โ not yet hardened; the theme of v0.0.10 |
- Intent classification & task decomposition โ the engine distinguishes chat, management queries, and executable tasks; multi-stage work is first split into a plan with artifact wiring between stages.
- Supervision loop โ the entry model continuously judges task completion and re-dispatches with the failure reason attached, until done or the round budget (5 rounds by default) is spent.
- Transparent failover โ quota exhaustion or dead credentials (401/403) trigger automatic fallback-model injection; the task continues instead of dying halfway.
- Transparent execution โ every Bash command, file edit, and tool call, along with the responsible agent and underlying model, streams live to your terminal and console.
- Tiered approval โ reversible operations run autonomously; irreversible actions (
git push, production database changes) suspend for explicit human confirmation. - Circuit breakers โ loop detection and retry breakers stop runaway agents from burning tokens.
- Dual-layer memory โ user preferences (
USER.md) and project facts (MEMORY.md) are strictly separated. - Self-evolving skills โ successful workflows are distilled into
SKILL.mdplaybooks that accumulate over time. - Traveling context โ delegated tasks carry project memory and a workspace digest to the executing node.
- Capability cards โ each node auto-declares its hardware and tool profile (CPU, RAM, OS, available agents).
- P2P mesh โ nodes communicate over authenticated, encrypted WebSocket; data never leaves your private network.
- Capability-based routing โ the scheduler scores nodes and routes each task to the best match.
- Terminal TUI (Bubble Tea): arrow-key navigation, live progress, mid-turn steering.
- Web console: zero-config kanban, real-time SSE streaming, automatic browser login.
- Scriptable CLI:
panda askdrops straight into automation scripts. - Featherweight: single static Go binary, ~20MB RSS, no external runtime dependencies.
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/Xustalis/OpenPanda/main/scripts/install.sh | shmacOS (Homebrew):
brew tap Xustalis/openpanda
brew install openpandaWindows (PowerShell):
irm https://raw.githubusercontent.com/Xustalis/OpenPanda/main/scripts/install.ps1 | iexInitialize your node (interactive setup for device name, model providers, and the local capability card):
panda initThen pick an entry point:
panda # interactive terminal TUI
panda web # web console, opens browser automatically
panda ask "check system status and summarize tasks" # one-shot commandTo connect a second device (preview capability): run panda pair on device A to get a pairing code, then panda nodes add <device-A-address> on device B.
| Command | Description |
|---|---|
panda |
Launch the interactive terminal console |
panda ask "<query>" |
One-shot: direct answer, tool call, or task dispatch |
panda web |
Start the web console and open the browser automatically |
panda nodes |
List online devices and their capabilities |
panda pair |
Display a pairing code for a new node |
panda queue |
Inspect pending, running, and review tasks (--watch for live updates) |
panda approve <id> |
Approve a pending Tier-2 task |
panda project list |
Manage workspace projects and context |
panda doctor |
Diagnose PATH, config, adapters, and database health |
panda version |
Print the current version |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ cmd/panda Interactive TUI ยท Web Console ยท CLI โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ askengine Intent classification ยท management tools โ
โ plan Multi-stage decomposition & artifact wiring โ
โ commander 3-Tier execution: Native ยท Agent ยท Manual โ
โ defense Tiered gating ยท circuit breakers ยท anti-loop โ
โ memory Dual-layer memory (User/Project) + Skills โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ scheduler Multi-device scoring & task routing โ
โ bus / ledger P2P WebSocket transport ยท HMAC auth ยท ledger โ
โ storage Pure Go SQLite (WAL mode) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Version | Theme |
|---|---|
| v0.0.8 (current baseline) | Single-machine multi-agent orchestration, fully usable: intent classification, dispatch, supervision loop, failover, tiered approval |
| v0.0.9 | Sharper agent control: supervision verdicts, agent routing stability, execution transparency |
| v0.0.10 | Multi-device collaboration as the headline: cross-node delegation, lease protection, resumable execution โ hardened and field-tested |
| v0.0.x (beyond) | Stability, performance, and edge-case tuning |
| v0.1.0 | Desktop capabilities and stronger control & management โ commercial-grade quality |
OpenPanda's architecture is designed for large-scale heterogeneous clusters: drone swarm control, communication scheduling for deep-space satellite constellations, and coordinated autonomous-vehicle fleets. These scenarios share one fundamental problem โ every node has different compute, different capabilities, and different jobs, yet all need to be coordinated, scheduled, and supervised together.
Today, OpenPanda serves a developer's devices and agents. The long-term goal is to extend the same orchestration kernel to autonomous nodes at cluster scale.
- Read CONTRIBUTING.md for code standards and workflow.
- Check SECURITY.md for security guidelines.
- Abide by the CODE_OF_CONDUCT.md.
- Run
make gatelocally before submitting a PR.