OpenPanda

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: AGPL-3.0

README ยถ

๐Ÿผ OpenPanda

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

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

Release Go Python Platforms Memory Local First


About

OpenPanda organizes the terminal AI coding agents already on your machines โ€” ten bundled adapters (Claude Code, OpenAI Codex, OpenCode, Grok Build, DeepSeek Harness, Antigravity, Hermes, Pi, ZCode, OpenClaw) plus a generic bridge for anything else โ€” together with your devices into a single execution crew. It is not itself an agent: 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 links (WS + sealed UDP, 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 โœ… Shipped in v0.0.10; v0.0.11 adds per-session AEAD, Bluetooth-style pairing, trust tiers, multi-hop relays; v0.0.12 adds same-project parallel execution via path-scoped lanes and isolated worktrees

โœจ 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.
  • Multi-model registry & transparent failover โ€” panda model add|switch|test manages several providers per node behind a health breaker; quota exhaustion or dead credentials (401/403) trigger automatic fallback-model injection, and the task continues instead of dying halfway.
  • Multi-harness runs โ€” panda ask --agents a,b --mode parallel fans one instruction out to several agents as a plan and collects the verdicts.
  • 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.
  • Sibling message board (experimental) โ€” tasks sharing a plan or a parent exchange short notes (a status line, a finding, a pointer to produced files) through a bounded slot board; each agent reads what its peers posted at its next round instead of blocking on their results, and a per-episode budget keeps the channel from becoming chatter.
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.
  • Skills Hub & autonomous discovery โ€” a curated offline catalog (panda skill hub), importing from a path, URL, or archive (panda skill import), and an assistant that finds and installs the skill a task needs mid-flight.
  • Traveling context โ€” delegated tasks carry project memory and a workspace digest to the executing node.
Multi-Device Collaboration
  • LAN auto-discovery + Bluetooth-style pairing โ€” nodes find each other on the LAN with fingerprint-confirmed admission; panda pair joins a device via a short code confirmed on both ends, and panda nodes verify pins each peer's Ed25519 key.
  • Capability cards โ€” each node auto-declares its hardware and tool profile (CPU, RAM, OS, available agents).
  • P2P mesh โ€” nodes communicate over an authenticated WebSocket with negotiated per-session AEAD encryption, plus an encrypted UDP data plane with NAT traversal; data never leaves your private network.
  • Trust zones โ€” every peer carries an operator-set tier (panda nodes trust <id> mesh|guarded|open) that clamps what a delegated task may expose to that peer and how work inbound from it is admitted; display content is mesh-only end to end, so a trust demotion cuts a screen transfer mid-flight.
  • Capability-based routing โ€” the scheduler scores nodes on measured capacity and routes each task to the best match; panda nodes drain parks a node for maintenance.
  • Worktree-traveling delegation โ€” a file task delegated to another node carries its checkout there and brings the result back.
  • Multi-hop mesh โ€” hard pins (--preferred, stage node:) and the context/artifact data plane route over multiple relays on a partial mesh: a node two hops out is addressed through the gossiped link-state, and an executor that cannot reach the origin pulls its snapshot and inputs through the hop that handed it the task.
  • Actuator dispatch โ€” tasks can drive physical actuators on the node that owns the hardware; seven reference drivers ship in drivers/ (servo, mic, camera, notify, serial MCU, screen capture, GUI input), with .ps1 variants so stock Windows nodes need no git-bash.
  • Computer-use pair โ€” a node with a desktop session advertises hardware:screen_capture (screenshot the display) and hardware:gui_input (click, type, key, scroll โ€” tier 2 because a click cannot be unsent), so the agent on that machine can see and drive its GUI; headless daemons never claim a screen they cannot see. Screen output only travels between mesh-trusted nodes.
  • Retrievable artifacts โ€” what a task produces (a screenshot, a report file) is packed and pulled back to you: panda task artifact <id> lists and extracts it, and the console previews images and text inline.
Sessions & Embedding
  • Session trees โ€” panda session fork <id> --at N branches a conversation at any turn; in a repository the child's worktree branches off the parent's, so it inherits the code the parent produced. panda session tree renders the family, /fork does it inside the REPL/TUI.
  • Auto-compaction โ€” overflowing history folds into a model-written running digest instead of being dropped; the stored thread stays whole.
  • panda mcp โ€” exposes the node's own tools (tasks, memory, skillsโ€ฆ) as an MCP stdio server, so any MCP-speaking agent can drive the node through the standard protocol.
  • panda rpc (experimental) โ€” NDJSON-over-stdio embedding surface (status, streaming ask, session.*), so other tools can drive OpenPanda; scripts/panda_rpc.py is a stdlib-only reference client.
  • Subscription OAuth (experimental) โ€” panda auth login anthropic signs in a Claude Pro/Max subscription via PKCE with transparent token refresh.
Interfaces & Runtime
  • Terminal TUI (Bubble Tea): full-screen alternate-screen mode with keyboard navigation, first-run onboarding wizard, live progress, mid-turn steering; PANDA_CLASSIC_REPL=1 keeps the classic line REPL around.
  • Web console: zero-config kanban, real-time SSE streaming, skills management, session cancellation, automatic browser login; panda web --lan shares it on the LAN behind an ephemeral token, with Web Push notifications.
  • Voice entry (experimental): panda voice runs the wake โ†’ transcribe โ†’ dispatch โ†’ speak loop through the bundled extensions/voice sidecar scripts (needs its own Python deps).
  • Scriptable CLI: panda ask drops straight into automation scripts.
  • Self-updating: panda update check|apply (or panda upgrade) probes a staged binary and swaps it in place.
  • 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 install Xustalis/openpanda/openpanda

Windows (PowerShell):

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

From source (Go โ‰ฅ 1.26, no CGO โ€” cross-compiles cleanly):

git clone https://github.com/Xustalis/OpenPanda.git && cd OpenPanda
make build && ./bin/panda init

Already installed? panda update upgrades in place; user data is preserved.


๐Ÿš€ 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: run panda pair <device-B-address> on device A and confirm the same short code with panda pair confirm on device B โ€” or let LAN discovery surface it under panda nodes and admit it by fingerprint (panda nodes admit).


๐Ÿ› ๏ธ CLI Cheat Sheet

Command Description
panda Launch the interactive terminal TUI
panda ask "<query>" One-shot: direct answer, tool call, or task dispatch (--agents a,b --mode parallel for a multi-agent run)
panda web Start the web console and open the browser automatically (--lan to share)
panda voice Talk to the node instead of typing (experimental)
panda model Multi-model registry: status, add, switch, test
panda nodes List online devices and capabilities; nodes trust <id> mesh|guarded|open pins a peer's tier
panda pair Pair a new device over the LAN (short code confirmed on both ends)
panda queue Inspect pending, running, and review tasks (--watch for live updates)
panda approve <id> Approve a pending Tier-2 task
panda plan run <file.yaml> Multi-stage, multi-device pipelines (plan example writes a starter)
panda task board <id> Show the sibling-message boards a task reads (plan/parent scope + its children)
panda task artifact <id> List or extract a task's output artifact (--list, --file <path>, --out <dir>)
panda session List, fork, and resume conversation sessions (session tree shows the family)
panda project list Manage workspace projects and context
panda card Show, rescan, and edit this node's capability card
panda skill Browse, import, and install workflow skills (Hub, URL, or file)
panda auth login Sign in a model subscription (e.g. anthropic) via OAuth
panda mcp ยท panda rpc Serve the node's own tools over MCP stdio ยท NDJSON embedding surface
panda update Check for updates or self-update in place (upgrade applies directly)
panda doctor Diagnose PATH, config, adapters, and database health
panda version Print the current version

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ cmd/panda      Terminal TUI ยท Web Console ยท CLI ยท Voice     โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ askengine      Intent classification ยท management tools     โ”‚
โ”‚ entry/plan     Prompt build ยท multi-stage decomposition     โ”‚
โ”‚ commander      3-Tier execution: Native ยท Agent ยท Manual    โ”‚
โ”‚ defense        Tiered gating ยท circuit breakers ยท anti-loop โ”‚
โ”‚ memory/skills  Dual-layer memory + self-evolving SKILL.md   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ sessions       Conversation trees ยท forking ยท compaction    โ”‚
โ”‚ auth/updater   Subscription OAuth (PKCE) ยท self-update      โ”‚
โ”‚ scheduler      Capability scoring ยท latency-weighted routes โ”‚
โ”‚ trust          Per-peer trust zones (mesh/guarded/open)     โ”‚
โ”‚ bus/ledger     WS + sealed-UDP transport ยท session AEAD ยท   โ”‚
โ”‚                Ed25519 identity ยท capability cards          โ”‚
โ”‚ artifact       Chunked, resumable output bundles            โ”‚
โ”‚ security       Sandbox ยท net allowlists ยท secret redaction  โ”‚
โ”‚ storage        Pure Go SQLite (WAL mode)                    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ—บ๏ธ Roadmap

Version Theme
v0.0.8 (stable baseline) Single-machine multi-agent orchestration, fully usable: intent classification, dispatch, supervision loop, failover, tiered approval, prompt language policy
v0.0.9 (stable) โ€” "Periapsis" Hybrid transport/DTN architecture completed: latency-weighted mesh routing, on-wire DTN bundles, token budgets, shadow copies, actuator path, UDP datagram plane with mesh-coordinated NAT hole punching, encrypted payloads, contact plans, Ed25519 node identity, lite build โ€” plus remembered approvals, execution attribution, a web sidebar node chip and everyday CLI polish
v0.0.10 โ€” "Apoapsis" Reaching outward to the LAN and the edge: discovery with fingerprint-confirmed admission and TOFU key pinning, worktree-traveling delegated file tasks, the clarification loop, actuator dispatch with five reference drivers (serial MCU included), the Pi adapter and a Python-free generic executor โ€” plus session trees with forking, auto-compaction, the panda rpc embedding surface, subscription OAuth, signed event/audit chains, OS-level sandboxing, and a steady-state perf round. Relicensed to AGPL-3.0-or-later with dual commercial licensing
v0.0.11 โ€” "Rendezvous" Tightening the mesh itself: negotiated per-session AEAD encryption inside the signed hello, Bluetooth-style panda pair, signed discovery beacons and stable k:<pub> identities, hard node pins that hold their destination across multi-hop routes, outbox custody that re-delivers verdicts across link flaps, daemon-authority arbitration, a 240 s silence watchdog, negotiated binary data frames โ€” and a partial-mesh data plane that relays context and artifacts along the delegation chain. It also ships the computer-use pair (hardware:screen_capture, hardware:gui_input; POSIX and Windows .ps1 drivers, advertised only under a real GUI session), retrievable task artifacts (panda task artifact, console preview), and a mesh-only trust rule for display content that follows the bytes through sends, pulls and stage-to-stage input handoffs
v0.0.12 (preview) โ€” "Constellation" The fleet drawn as one sky, and agents flying in formation: same-project tasks run in parallel through declared path scopes and isolated worktrees under end-to-end delegation bounds; a running task takes a queued note or a live steer, and a round-budgeted park can be continued instead of only accepted or rejected. The web console consolidates into one place to work โ€” queue, plans and projects merge into the Control page, a workspace page draws the whole fleet as a live topology map and dispatches turns straight into a picked thread, and a profile page answers who this node is and how busy it has been. Underneath: cross-process execution leases, context-overflow recovery, a per-model token policy over a catalogue moved to the current generation, PowerShell completion, pprof on the daemon โ€” and a dispensation-attempt lifecycle fence that reroutes lapsed executor custody, orders outbox delivery across link flaps, and keeps stale verdicts from landing on rotated attempts
v0.1.0 (current) โ€” "Constellation" The release-grade line's first stable cut, and the first with hardened installers (a downgrade guard on every path, a verified release signature): the Constellation feature set with the release audit's correctness and security fixes closed โ€” multi-hop artifact pulls through relays, model-reported failures no longer settling as done, declined work falling back to a capable origin, hello identity pinning, a bounded project-pack admission gate, a UDP-plane crash fix, strict-mode secret read denial, and the standalone console's thread/skills APIs. Verified on a Mac โ†’ relay โ†’ cloud chain over a WAN link, including a 3 MiB project tree pulled end-to-end โ€” and, since the first cut, console dictation over /api/voice/transcribe, a per-agent model pin under injection.agents, and device panels in the workspace.
v0.0.x โ€” the kernel Polish the kernel until every shipped feature is proven. The Experimental tracks graduate to stable through real-device fleet validation โ€” LAN discovery & fingerprint admission, pairing + per-session AEAD, trust zones, the inter-task message board, session trees/RPC/OAuth, worktree-traveling delegation, the clarification loop, actuator drivers, computer-use, and the voice entry โ€” plus first hardware ignition of the reference drivers, and steady stability, performance and edge-case tuning throughout
v0.1.x โ€” the assistant Specialize into an assistant that does things for you. A thin desktop shell over the kernel (tray-resident, global hotkey, native notifications, self-update); the dense-mesh layer โ€” sub-main scoutโ†’plan in-flight plan recomposition, TURN-style relay fallback for symmetric NAT, message-board debts (multi-device e2e, MCP pull, board view); and a minimal honest "presence" โ€” an unresolved-list collision engine riding the dream cycle that speaks only when it has something worth saying. Commercial-grade quality, boundaries honestly declared
v0.2.x โ€” self-evolution OpenPanda iterates on itself. Self-modification lands as agent-produced patch sets through a build โ†’ gate โ†’ human-merge pipeline coexisting with the signed release channel; node-signed self-builds become a third provenance class under the trust zones; self_evolution.mode (off โ†’ propose โ†’ auto) with the last signed release always kept as fallback โ€” the complete agent self-evolution paradigm

๐Ÿ”ญ 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.


๐Ÿ“š Documentation

The doc set lives under docs/: project status (what is verified vs. only built), the install guide, the FAQ, the bus protocol reference, plus design drafts and historical reports. Note that most internals docs are written in Chinese.


๐Ÿค Contributing

  1. Read CONTRIBUTING.md for code standards and workflow.
  2. Check SECURITY.en.md for security guidelines (the canonical text is the Chinese SECURITY.md).
  3. Abide by the CODE_OF_CONDUCT.md.
  4. Run make gate locally before submitting a PR.
  5. Non-trivial contributions require CLA assent โ€” see CLA.md; typo/docs fixes and adapters/ changes are exempt.

๐Ÿ“„ License

OpenPanda is dual-licensed:

Releases published before the license change remain available under the MIT License.

Use of OpenPanda is subject to the Terms of Use & Disclaimer (ไธญๆ–‡ ยท ๆ—ฅๆœฌ่ชž ยท Espaรฑol ยท Deutsch).

Directories ยถ

Path Synopsis
cmd
panda command
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: AGPL-3.0-or-later
internal
agents
Package agents is the single source of truth for the agent CLIs PANDA can delegate to.
Package agents is the single source of truth for the agent CLIs PANDA can delegate to.
artifact
Package artifact packs and unpacks task artifacts: the directory trees that have to travel between nodes when one node produces work another node consumes.
Package artifact packs and unpacks task artifacts: the directory trees that have to travel between nodes when one node produces work another node consumes.
askengine
Package askengine is the unified entry engine shared by `panda ask` (CLI) and the web panel: one prompt in, three intents out โ€” answer (pure LLM reply), tool_call (memory tools, executed and fed back), task (submitted to the node network, locally or delegated).
Package askengine is the unified entry engine shared by `panda ask` (CLI) and the web panel: one prompt in, three intents out โ€” answer (pure LLM reply), tool_call (memory tools, executed and fed back), task (submitted to the node network, locally or delegated).
auth
Package auth holds subscription-OAuth plumbing: PKCE flows against providers whose consumer subscriptions also grant API access, plus the on-disk token store the entry client reads for a Bearer credential.
Package auth holds subscription-OAuth plumbing: PKCE flows against providers whose consumer subscriptions also grant API access, plus the on-disk token store the entry client reads for a Bearer credential.
bus
Package bus implements the WebSocket transport and wire protocol for node-to-node task delegation (design doc ยง10).
Package bus implements the WebSocket transport and wire protocol for node-to-node task delegation (design doc ยง10).
carddetect
Package carddetect probes host hardware, discovers installed agent CLIs, and assembles or initializes capability cards (capabilities.yaml).
Package carddetect probes host hardware, discovers installed agent CLIs, and assembles or initializes capability cards (capabilities.yaml).
cardmut
Package cardmut implements structured edits to a node's capability card (capabilities.yaml): add/remove/set of native abilities, agents and manual abilities without opening an editor.
Package cardmut implements structured edits to a node's capability card (capabilities.yaml): add/remove/set of native abilities, agents and manual abilities without opening an editor.
cliui
Package cliui is OpenPanda's terminal presentation layer: one colour vocabulary, one spinner, one live status line, shared by every CLI surface.
Package cliui is OpenPanda's terminal presentation layer: one colour vocabulary, one spinner, one live status line, shared by every CLI surface.
commander
Package commander implements the three-tier capability execution: native (deterministic commands, no model), agent (AI CLI via adapter), and manual (human-notified).
Package commander implements the three-tier capability execution: native (deterministic commands, no model), agent (AI CLI via adapter), and manual (human-notified).
config
Package config loads PANDA node configuration from YAML.
Package config loads PANDA node configuration from YAML.
core
Package core hosts the node lifecycle: registration, heartbeat loop, and graceful shutdown.
Package core hosts the node lifecycle: registration, heartbeat loop, and graceful shutdown.
ctxstore
Package ctxstore implements the local context snapshot cache (design doc ยง12.4): a hashโ†’data KV store over the `context` table with LRU eviction.
Package ctxstore implements the local context snapshot cache (design doc ยง12.4): a hashโ†’data KV store over the `context` table with LRU eviction.
defense
Package defense implements the task-loop defense chain (design doc ยง14) and the permission model (design doc ยง16).
Package defense implements the task-loop defense chain (design doc ยง14) and the permission model (design doc ยง16).
doctor
Package doctor is the structured self-check suite shared by `panda doctor` (which renders the checks as a terminal report) and the panel's /api/doctor (which serializes them to JSON).
Package doctor is the structured self-check suite shared by `panda doctor` (which renders the checks as a terminal report) and the panel's /api/doctor (which serializes them to JSON).
entry
Package entry implements the unified entry model (design doc ยง7): one model call classifies a user request as an answer, a controlled tool call, a structured task, or a multi-stage plan.
Package entry implements the unified entry model (design doc ยง7): one model call classifies a user request as an answer, a controlled tool call, a structured task, or a multi-stage plan.
executil
Package executil wraps os/exec so child processes can be hidden on Windows.
Package executil wraps os/exec so child processes can be hidden on Windows.
guard
Package guard is the panic firewall for long-lived goroutines.
Package guard is the panic firewall for long-lived goroutines.
hwinfo
Package hwinfo probes the host machine's hardware identity (hostname, CPU model, RAM, GPU, VRAM).
Package hwinfo probes the host machine's hardware identity (hostname, CPU model, RAM, GPU, VRAM).
i18n
Package i18n provides the CLI's user-facing strings in the five project languages (the same set the READMEs and web console ship).
Package i18n provides the CLI's user-facing strings in the five project languages (the same set the READMEs and web console ship).
install
Package install implements `panda install` / `panda uninstall` / `panda doctor`: placing the binary on PATH (persistently, per-OS), and a whitelist-based uninstall that backs up and removes only OpenPanda-owned state while preserving user assets (projects, memory, skills, work) โ€” unless the user passes --purge and survives its second confirmation.
Package install implements `panda install` / `panda uninstall` / `panda doctor`: placing the binary on PATH (persistently, per-OS), and a whitelist-based uninstall that backs up and removes only OpenPanda-owned state while preserving user assets (projects, memory, skills, work) โ€” unless the user passes --purge and survives its second confirmation.
ledger
Package ledger manages the local capability directory (SQLite cache of node capability cards) and this node's self-registration.
Package ledger manages the local capability directory (SQLite cache of node capability cards) and this node's self-registration.
log
Package log provides structured JSON logging over slog.
Package log provides structured JSON logging over slog.
mcp
Package mcp is a minimal Model Context Protocol (MCP) client over stdio.
Package mcp is a minimal Model Context Protocol (MCP) client over stdio.
mcpserve
Package mcpserve is the server half of the MCP stdio transport the agent tier already speaks as a client (internal/mcp): newline-delimited JSON-RPC 2.0 on a reader/writer pair, the initialize handshake, tools/list and tools/call.
Package mcpserve is the server half of the MCP stdio transport the agent tier already speaks as a client (internal/mcp): newline-delimited JSON-RPC 2.0 on a reader/writer pair, the initialize handshake, tools/list and tools/call.
mdtext
Package mdtext converts light Markdown into the two forms OpenPanda's surfaces need beyond a rendered web page:
Package mdtext converts light Markdown into the two forms OpenPanda's surfaces need beyond a rendered web page:
memory
Package memory implements the two-layer memory system (design doc ยง17): Hermes personal-assistant memory and per-project memory, kept physically isolated by an isolation wall.
Package memory implements the two-layer memory system (design doc ยง17): Hermes personal-assistant memory and per-project memory, kept physically isolated by an isolation wall.
nodeidentity
Package nodeidentity owns the process-wide identity lock for a running node.
Package nodeidentity owns the process-wide identity lock for a running node.
plan
Package plan is the plan plane: the missing third layer between "one task, one node" and the scenario this project exists for โ€” develop on the Mac, train on the Windows box, report through the Pi.
Package plan is the plan plane: the missing third layer between "one task, one node" and the scenario this project exists for โ€” develop on the Mac, train on the Windows box, report through the Pi.
projects
Package projects makes a project a first-class entity rather than a name that happens to appear on some tasks.
Package projects makes a project a first-class entity rather than a name that happens to appear on some tasks.
providers
Package providers is the built-in LLM provider catalogue.
Package providers is the built-in LLM provider catalogue.
pyexec
Package pyexec resolves the Python interpreter that runs PANDA's agent adapters (adapters/*.py).
Package pyexec resolves the Python interpreter that runs PANDA's agent adapters (adapters/*.py).
reminders
Package reminders implements scheduled user reminders (design P1-28): "ๆ้†’ๆˆ‘ 5 ๅˆ†้’ŸๅŽๅผ€ไผš" โ€” a reminder is persisted in SQLite, and a Scanner running in the daemon (and/or the web panel) claims each reminder when it comes due and fires a callback (log line, Web Push notification, SSE change signal).
Package reminders implements scheduled user reminders (design P1-28): "ๆ้†’ๆˆ‘ 5 ๅˆ†้’ŸๅŽๅผ€ไผš" โ€” a reminder is persisted in SQLite, and a Scanner running in the daemon (and/or the web panel) claims each reminder when it comes due and fires a callback (log line, Web Push notification, SSE change signal).
scheduler
Package scheduler implements the P2P per-edge routing decision (design doc ยง6.4, ยง2.4 DCPS analogy).
Package scheduler implements the P2P per-edge routing decision (design doc ยง6.4, ยง2.4 DCPS analogy).
scheduler/queue
Package queue implements the node-local task queue scheduler: it decides which queued task runs next on this node.
Package queue implements the node-local task queue scheduler: it decides which queued task runs next on this node.
security
Package security implements the execution-side hardening of design doc ยง16 and plan P3-29..P3-32: a reduced subprocess environment, network egress validation, secret scrubbing, a high-risk audit trail, and โ€” when sandbox.mode is configured โ€” OS-level confinement for every spawned subprocess (seatbelt on macOS, bubblewrap on Linux; see policy.go and the platform sandbox_* files).
Package security implements the execution-side hardening of design doc ยง16 and plan P3-29..P3-32: a reduced subprocess environment, network egress validation, secret scrubbing, a high-risk audit trail, and โ€” when sandbox.mode is configured โ€” OS-level confinement for every spawned subprocess (seatbelt on macOS, bubblewrap on Linux; see policy.go and the platform sandbox_* files).
self
Package self is the self-evolution pipeline's local machinery: signed patch-set manifests, the on-disk queue under <data>/self/, the git worktree the patch sets merge into, and the release-equivalent gate runner.
Package self is the self-evolution pipeline's local machinery: signed patch-set manifests, the on-disk queue under <data>/self/, the git worktree the patch sets merge into, and the release-equivalent gate runner.
sessions
Package sessions implements the web console's conversation model: each session is one chat thread plus โ€” when the working directory is a git repository โ€” a dedicated git worktree, so changes made while answering a session's prompts land on an isolated branch instead of the user's checkout (the codex / claude-code working model).
Package sessions implements the web console's conversation model: each session is one chat thread plus โ€” when the working directory is a git repository โ€” a dedicated git worktree, so changes made while answering a session's prompts land on an isolated branch instead of the user's checkout (the codex / claude-code working model).
skills
Package skills implements the self-evolving procedural-memory layer (design ยง8): reusable workflows distilled from task history into SKILL.md files.
Package skills implements the self-evolving procedural-memory layer (design ยง8): reusable workflows distilled from task history into SKILL.md files.
storage
Package storage wraps the local SQLite database (WAL mode).
Package storage wraps the local SQLite database (WAL mode).
todos
Package todos implements the user's own to-do list: the board beside the task queue where a person writes down what they mean to do, in the order they mean to do it.
Package todos implements the user's own to-do list: the board beside the task queue where a person writes down what they mean to do, in the order they mean to do it.
trust
Package trust holds the trust-zone model: per-peer trust levels and the policy tables that translate a level into (a) how much of an outbound delegate may be exposed to that peer and (b) how an inbound delegate originating at that level is admitted.
Package trust holds the trust-zone model: per-peer trust levels and the policy tables that translate a level into (a) how much of an outbound delegate may be exposed to that peer and (b) how an inbound delegate originating at that level is admitted.
updater
Package updater implements the self-update path for the `panda` CLI: it checks GitHub for a newer release, downloads and verifies the platform's release archive, and โ€” once the task queue is idle โ€” atomically swaps the running binary (and its agent adapters) into place and restarts.
Package updater implements the self-update path for the `panda` CLI: it checks GitHub for a newer release, downloads and verifies the platform's release archive, and โ€” once the task queue is idle โ€” atomically swaps the running binary (and its agent adapters) into place and restarts.
util
Package util holds small shared helpers.
Package util holds small shared helpers.
version
Package version holds the build version in one place so both the CLI (`panda version`) and the web panel (/api/version) report the same value.
Package version holds the build version in one place so both the CLI (`panda version`) and the web panel (/api/version) report the same value.
scripts
genicons command
Command genicons renders the PANDA PWA icon set from a pure-stdlib drawing so the manifest is installable and push notifications carry an app mark without shipping binary assets or a third-party drawing library (design P2-17).
Command genicons renders the PANDA PWA icon set from a pure-stdlib drawing so the manifest is installable and push notifications carry an app mark without shipping binary assets or a third-party drawing library (design P2-17).
scenario-model command
Command scenario-model is a deterministic Anthropic-compatible supervisor used by distributed long-task labs.
Command scenario-model is a deterministic Anthropic-compatible supervisor used by distributed long-task labs.
sign-release command
Command sign-release signs the release checksums file with the release Ed25519 key, producing the detached signature (checksums.txt.sig) the updater verifies before installing a downloaded archive.
Command sign-release signs the release checksums file with the release Ed25519 key, producing the detached signature (checksums.txt.sig) the updater verifies before installing a downloaded archive.
smoke-delegate command
Command smoke-delegate verifies cross-process task delegation without the entry model: it becomes an ephemeral scheduler participant (the same pattern internal/askengine uses โ€” a fresh node id, the node's capability card, peers dialed once), submits a task requiring an ability only a peer has, and reports where the task ran and what it produced.
Command smoke-delegate verifies cross-process task delegation without the entry model: it becomes an ephemeral scheduler participant (the same pattern internal/askengine uses โ€” a fresh node id, the node's capability card, peers dialed once), submits a task requiring an ability only a peer has, and reports where the task ran and what it produced.
task-timeline command
Command task-timeline prints a task and its event timeline from one or more node databases.
Command task-timeline prints a task and its event timeline from one or more node databases.
webui
cmd/panel command
Command panel runs the web control panel as a sidecar, reading the same SQLite store the kernel daemon writes (see webui/README.md).
Command panel runs the web control panel as a sidecar, reading the same SQLite store the kernel daemon writes (see webui/README.md).
panel
Package panel serves the legacy PWA control panel (kept frozen as an optional webui/ sidecar; the kernel daemon no longer mounts it): the static web app under webui/web/pwa plus the JSON API that backs it โ€” task queue, task detail, and the human approval of reviewed tasks (design ยง14.2 Layer 4).
Package panel serves the legacy PWA control panel (kept frozen as an optional webui/ sidecar; the kernel daemon no longer mounts it): the static web app under webui/web/pwa plus the JSON API that backs it โ€” task queue, task detail, and the human approval of reviewed tasks (design ยง14.2 Layer 4).
push
Package push implements the (frozen) Web Push notifications behind the webui panel (design P3-26): the VAPID identity (RFC 8292), message encryption (RFC 8291 over the aes128gcm content coding from RFC 8188), subscription storage, and delivery to the browser's push service.
Package push implements the (frozen) Web Push notifications behind the webui panel (design P3-26): the VAPID identity (RFC 8292), message encryption (RFC 8291 over the aes128gcm content coding from RFC 8188), subscription storage, and delivery to the browser's push service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL