Skip to content

Latest commit

ย 

History

239 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿผ OpenPanda

The Open-Source, Local-First Multi-Agent Orchestration OS

English ยท ็ฎ€ไฝ“ไธญๆ–‡ ยท ๆ—ฅๆœฌ่ชž ยท Espaรฑol ยท Deutsch

Release: v0.0.8-preview License: MIT Go Python Platforms Memory Local First


About

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

โœจ Features

Agent Orchestration

  • 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.

Memory & Skills

  • Dual-layer memory โ€” user preferences (USER.md) and project facts (MEMORY.md) are strictly separated.
  • Self-evolving skills โ€” successful workflows are distilled into SKILL.md playbooks that accumulate over time.
  • Traveling context โ€” delegated tasks carry project memory and a workspace digest to the executing node.

Multi-Device Collaboration (Preview)

  • 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.

Interfaces & Runtime

  • 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 ask drops straight into automation scripts.
  • Featherweight: single static Go binary, ~20MB RSS, no external runtime dependencies.

๐Ÿ“ฆ Installation

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/Xustalis/OpenPanda/main/scripts/install.sh | sh

macOS (Homebrew):

brew tap Xustalis/openpanda
brew install openpanda

Windows (PowerShell):

irm https://raw.githubusercontent.com/Xustalis/OpenPanda/main/scripts/install.ps1 | iex

๐Ÿš€ Quick Start

Initialize your node (interactive setup for device name, model providers, and the local capability card):

panda init

Then 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 command

To 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.


๐Ÿ› ๏ธ CLI Cheat Sheet

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

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ 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)                    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ—บ๏ธ Roadmap

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

๐Ÿ”ญ Vision

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.


๐Ÿค Contributing

  1. Read CONTRIBUTING.md for code standards and workflow.
  2. Check SECURITY.md for security guidelines.
  3. Abide by the CODE_OF_CONDUCT.md.
  4. Run make gate locally before submitting a PR.

๐Ÿ“„ License

MIT License

About

Personal, self-hosted task orchestration across heterogeneous devices, agents, and hardware.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages