OpenPanda

module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT

README ยถ

๐Ÿผ OpenPanda

Open Personal Adaptive Node-based Distributed Assistant

Any device, any compute, one command. A personal task-orchestration assistant that runs across your heterogeneous devices as a peer-to-peer network of nodes.

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

Go Python Platform Status


Table of contents

What is OpenPanda?

OpenPanda is not another agent CLI โ€” it is the layer above them: the household manager for every device and every tool you own.

Claude Code, Codex, OpenCode, OpenClaw โ€ฆ each is a powerful agent on one machine. OpenPanda doesn't compete with them โ€” it hires them. Whatever device you speak to becomes the commander; it answers directly when it can, and when it can't, it routes the task over your network to whichever node can actually do the work โ€” handing it to that node's own agents (Claude Code, Codex, โ€ฆ), or straight to the hardware when a plain device action is all that's needed (a servo doesn't need an LLM).

sub-agents (single machine)   agent teams (single machine)   OpenPanda (many machines)
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”               โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Claude Code  โ”‚              โ”‚ multi-agent  โ”‚               โ”‚ heterogeneous fleet  โ”‚
โ”‚ Codex โ€ฆ      โ”‚              โ”‚ orchestrationโ”‚               โ”‚ + their agents       โ”‚
โ”‚              โ”‚              โ”‚              โ”‚               โ”‚ + bare hardware      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜               โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
      upstream of all of them: OpenPanda delegates, they execute

In practice: you ask once, from any device, and OpenPanda delegates the task to the node best suited to run it, streams back the result, and remembers what it learned for next time โ€” while keeping project work strictly isolated from personal memory, so your codebase never drifts because "the assistant knows you prefer dark themes".

It is built from the ground up as a personal system: no cloud dependency, your memory stays on your devices, and every node speaks to its peers over direct WebSocket links you control.

Key features

  • Heterogeneous node network โ€” nodes advertise their real capabilities (CPU class, shell, agent adapters) via a capability card; the network routes each task to the node that can actually do it. Built for laptops, SBCs, desktops, and every platform tier in between.
  • Unified entry model โ€” one prompt in, three intents out: answer (pure LLM reply), tool_call (your tools), task (delegated to a node). Automatic intent classification with graceful fallback.
  • Three-tier capability execution โ€” native (direct shell execution), agent (adapter-backed agent, e.g. Claude Code via an Anthropic-compatible endpoint), and manual (queued for you to approve/run by hand).
  • P2P delegation protocol โ€” idempotent task_id keys and per-attempt attempt_ids over WebSocket + JSON, so crashed retries never double-execute.
  • Self-evolving skills โ€” procedural memory in SKILL.md files: a skill declares when it applies, how it runs, and can be refined after each use.
  • Daily-assistant tools โ€” the agent can read the system clock, fetch live weather, and set scheduled reminders (reminder.set): stored in SQLite, fired by a scanner, delivered as Web Push notifications and live SSE updates to any open console. panda reminder list/add/rm manages them from the CLI.
  • MCP integration โ€” one stdio Model Context Protocol server configurable in config.yaml (mcp.command) or the console's settings page; its tools join the agent's toolset live, no daemon restart.
  • Two-layer memory โ€” per-user and per-project memory (USER.md / MEMORY.md style) kept behind an isolation wall, plus a background Dreaming engine that consolidates daily logs into long-term memory while the node is idle.
  • Voice entry โ€” optional sidecar pipeline (wake word โ†’ STT โ†’ LLM โ†’ TTS), hardware-gated and ready for embedded microphones.
  • Interactive REPL + embedded web console โ€” panda repl is the operator's seat: bare input goes to the ask engine, slash commands drive the panel surfaces (/tasks, /approve, /projects, /nodes, /lang โ€ฆ), and /web boots the embedded console in one click. The console's task queue is a kanban board (to do / in progress / in review / finished) with inline approvals, plus chat sessions, reminders, a memory viewer (USER / MEMORY / DREAMS), and a settings page (model endpoint โ€” Anthropic or OpenAI compatible โ€” and MCP server). panda web is the one-command path: loopback bind + ephemeral token by default, browser opens already logged in (no config, no token paste). Five UI languages: English, ็ฎ€ไฝ“ไธญๆ–‡, ๆ—ฅๆœฌ่ชž, Espaรฑol, Deutsch.
  • Defense & safety layers โ€” permission tiers, a circuit breaker, scope-drift and infinite-loop detection, plus execution-side hardening: sandboxing, network allow-lists, secret redaction, and audit logging.
  • Slim by design โ€” steady-state RSS โ‰ˆ 13โ€“20 MB, built to live on resource-constrained single-board computers.
  • Cross-compiles cleanly โ€” one static binary per platform, no CGO needed (pure-Go SQLite via modernc.org/sqlite).

Architecture

                        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                        โ”‚  You: CLI / web / voice  โ”‚
                        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                      โ”‚
                 โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                 โ”‚             entry ยท panda ask            โ”‚
                 โ”‚   classify:  answer | tool_call | task   โ”‚
                 โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                      โ”‚  delegate over WebSocket + JSON
                       โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                       โ”‚                              โ”‚
          โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
          โ”‚        Worker node      โ”‚     โ”‚        Worker node      โ”‚
          โ”‚  e.g. Laptop (Standard)  โ”‚     โ”‚    e.g. SBC (Micro)      โ”‚
          โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Inside each node:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ cmd/panda      daemon + CLI (ask / status / queue / task โ€ฆ)  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ entry          unified entry model (answer ยท tool_call ยท task)โ”‚
โ”‚ scheduler      delegation & routing decisions                โ”‚
โ”‚ commander      3-tier execution: native ยท agent ยท manual     โ”‚
โ”‚ defense        permission tiers ยท circuit ยท drift ยท loops    โ”‚
โ”‚ security       sandbox ยท allow-lists ยท redaction ยท audit     โ”‚
โ”‚ memory         USER/MEMORY stores + Dreaming engine          โ”‚
โ”‚ skills         SKILL.md procedural memory                    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ bus            WebSocket transport + message envelope        โ”‚
โ”‚ ledger         capability directory (cards, heartbeat)       โ”‚
โ”‚ storage        SQLite (WAL) + migrations                     โ”‚
โ”‚ log / util     structured JSON logs, UUIDv7                 โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Getting started

Prerequisites
Tool Version
Go 1.22+ (module targets 1.26.5)
Python 3.10+ (agent adapters / voice sidecar)
make any recent version
Build
make build          # native binary โ†’ bin/panda (release, stripped)
make web            # web console into the binary (needs node/npm; skip = console shows a hint page)
make test           # run the full test suite
make vet            # static analysis

Cross-compile for the devices you actually run:

make build-linux-arm64   # โ†’ bin/panda-linux-arm64  (SBCs, embedded boards)
make build-linux-amd64   # โ†’ bin/panda-linux-amd64
make build-darwin-arm64  # โ†’ bin/panda-darwin-arm64
make build-windows-amd64 # โ†’ bin/panda-windows-amd64.exe
Configure

Copy the example config and edit it for each node:

cp config.example.yaml /etc/openpanda/config.yaml   # or keep it local and use --config

The config is small and self-explanatory. The two things that matter most:

network:
  listen_addr: ":7836"        # WebSocket listener
  shared_secret: "..."        # HMAC auth between nodes โ€” all nodes must share the same value
  peers:                      # other nodes in your network
    - "worker-1.your-tailnet.ts.net:7836"
model:
  base_url: "https://api.deepseek.com/anthropic"  # any /v1/messages-compatible endpoint
  model: "deepseek-chat"
  # api_key: ""               # prefer the OPENPANDA_MODEL_API_KEY env var

Secrets (model API keys) are read from OPENPANDA_MODEL_API_KEY rather than the config file whenever possible.

Run the daemon

The fastest way to see the whole system is the one-command web console: loopback bind, ephemeral token, browser opens already logged in โ€” no config editing, no token pasting:

./bin/panda web

The console also manages the model endpoint (Anthropic- or OpenAI-compatible) from its settings page if you haven't configured one yet.

For a resident multi-node setup, run the daemon itself:

./bin/panda --config config.yaml --card config/capabilities.example-desktop.yaml

Each node that can execute work should be started with its capability card. A node without a card still participates in heartbeats, but it won't be routed work.

Usage

Ask anything โ€” the entry model decides whether to answer, call a tool, or delegate:

./bin/panda ask --card config/capabilities.example-desktop.yaml "summarize the git log for the last week"

--card points at this node's capability card; answer/tool_call work without it, but a delegated-task output is refused without it.

Inspect the network and queue:

./bin/panda status
./bin/panda queue

Drill into or cancel a specific task:

./bin/panda task <task-id>
./bin/panda cancel <task-id>
./bin/panda logs <task-id>

Manage skills:

./bin/panda skill

CLI reference

Command Description
panda (no args) Run the daemon: register node, heartbeat, WS server, peer reconnect
panda ask [--config PATH] [--card PATH] [--authorize] "<question>" Unified entry: classify into answer / tool_call / task and execute
panda repl [--config PATH] [--card PATH] Interactive shell: slash commands (tasks/approve/projects/nodes/lang), bare input goes to the ask engine, /web boots the embedded console
panda web [--config PATH] [--card PATH] [--no-browser] One-command web console: loopback + ephemeral token by default, opens the browser already logged in
panda install [--dir PATH] [--no-path] Register panda globally on PATH (persistent across reboots) and self-verify the installed copy
panda uninstall [--config PATH] [--yes] [--no-backup] [--dry-run] Safe removal: full plan first, confirm required, whitelist-only deletion, user assets (projects/memory/skills) always kept, zip backup + report
panda doctor [--config PATH] Self-check: installed copy runs, PATH resolves, persistence survives reboot, config/database usable
panda status Node & task status
panda queue List the task queue
panda task [--config PATH] <task-id> Task details
panda cancel [--config PATH] <task-id> Cancel a task (cascades to the executing node)
panda approve [--config PATH] <task-id> Approve a reviewed task (review โ†’ done)
panda reject [--config PATH] [--reason s] <task-id> Reject a reviewed task
panda logs [--config PATH] <task-id> Task execution logs
panda skill Skill store management
panda reminder list | add | rm Scheduled reminders: list / add (--after 10m or --at "2006-01-02 15:04") / remove
panda detect [-o PATH] Scan this machine's hardware (CPU/RAM/GPU/agent CLIs) into a capabilities.yaml draft
panda metrics [--csv] Export delegation metrics
panda audit [--task <id>] Verify the prev_hash chain of the audit log or one task's events
panda version / panda help Print version / command overview

Configuration

Section Key Meaning
node name Unique node ID (used across the network)
node resource_class Micro | Standard | Full โ†’ scheduler tier
network listen_addr WebSocket listener address
network shared_secret HMAC secret authenticating node-to-node hellos; the WS listener refuses to start without it (all nodes share one value)
network max_connections Global concurrent WS connection limit (0 = unlimited)
network max_connections_per_ip Per-remote-IP concurrent WS connection limit (0 = unlimited)
network panel_addr Web console HTTP address (panda web / /web); default 127.0.0.1:7840
network panel_token Bearer token guarding the console's /api/* (loopback auto-generates an ephemeral one; prefer OPENPANDA_PANEL_TOKEN)
network peers Manual peer addresses to dial
storage db_path SQLite database path
storage context_path Context snapshot store
storage memory_path Personal memory root
storage projects_path Per-project memory root
storage skills_path Procedural-memory root
storage work_path Where agents execute; scope drift is measured here
log level debug | info | warn | error
model base_url Anthropic- or OpenAI-compatible API base URL
model model Model id (e.g. deepseek-chat, deepseek-reasoner)
model api_type anthropic | openai (default anthropic)
model api_key Secret โ€” prefer OPENPANDA_MODEL_API_KEY
model max_tokens Completion cap (default 4096)
mcp command stdio MCP server argv (empty = disabled); tools hot-load into the agent toolset
push enabled Serve /api/push/* and send Web Push (embedded console + webui sidecar)
push vapid_subject VAPID subject (e.g. mailto: address)
push vapid_key_path VAPID key path (auto-generated on first boot)

Config load order: --config flag > environment > default /etc/openpanda/config.yaml.

Documentation

Full documentation lives in the docs/ directory:

  • Documentation index โ€” entry point for the public docs.
  • Contributing guide โ€” toolchain, engineering gates, code conventions, and the PR checklist (translations available in CONTRIBUTING.zh-CN.md / CONTRIBUTING.ja.md / CONTRIBUTING.es.md / CONTRIBUTING.de.md).
  • Desktop & packaging roadmap โ€” staged plan toward a native desktop client, signed installers, notarization, and auto-updates.

Testing

make test        # full suite
make vet         # go vet

Key protocol invariants are covered by real two-node WebSocket tests (no Tailscale required):

go test ./internal/core/ -run 'TestTwoNodeProtocol|TestDelegateIdempotent|TestCancelPropagates' -v

Deployment

Network security baseline

OpenPanda nodes speak plain WebSocket (ws://) by default. Plain WebSocket must only be used over a trusted private path:

  • Loopback / same-host links (e.g. 127.0.0.1, localhost).
  • A private overlay network you control, such as Tailscale or a VPN.
  • A physically isolated LAN where every device is trusted.

If any OpenPanda peer crosses the public Internet, terminate TLS in front of the WebSocket listener (e.g. nginx, Caddy, Traefik) and configure peers with the wss:// URL. The shared_secret authenticates node-to-node hellos, but it is not a substitute for transport encryption โ€” do not expose a plain ws:// listener on the public Internet.

The panel_addr web console serves plain HTTP and carries a Bearer token (an ephemeral one is auto-generated on loopback). Keep it on loopback, or put it behind the same TLS reverse proxy.

Memory footprint

OpenPanda targets low-power devices. Verify your steady-state memory before shipping to hardware โ€” a single ps sample is unreliable due to GC noise; take several:

make build
for i in 1 2 3 4 5; do
  ./bin/panda --config testdata/node-a.yaml >/dev/null 2>&1 &
  PID=$!; sleep 3
  ps -o rss= -p $PID | awk '{printf "%d MB\n", $1/1024}'
  kill -TERM $PID; wait $PID 2>/dev/null
done

Tech stack

Layer Choice
Core daemon Go (modernc.org/sqlite โ€” pure Go, no CGO)
Glue / adapters Python 3.10+
Transport WebSocket + JSON envelopes
State SQLite in WAL mode
Frontend Web console (Vite + Preact, go:embed single binary) via panda repl โ†’ /web, or the standalone webui/ sidecar
LLM access Anthropic-compatible /v1/messages or OpenAI-compatible endpoints (e.g. DeepSeek)

Roadmap

Phases 0โ€“3 (entry model ยท P2P delegation ยท memory + voice + execution hardening ยท kernel/console/REPL rebuild + live two-node verification) are complete. Phase 4 (desktop client + signed installer pipeline + auto-update mechanism + release channels) is planned in detail in the desktop & packaging roadmap.

Contributing

Contributions are welcome. To keep the codebase consistent, please follow the engineering gates before opening a pull request:

  • make vet && make test must pass.
  • gofmt -l internal/ cmd/ adapters/ must be empty.
  • Keep core-module test coverage above ~60% where practical.

See CONTRIBUTING.md for the full conventions: error wrapping (%w / errors.Is), complexity limits, no dead code, concurrency rules, i18n rules, and the commit style. Translated editions are available in CONTRIBUTING.zh-CN.md, CONTRIBUTING.ja.md, CONTRIBUTING.es.md, and CONTRIBUTING.de.md.

License

Released under the MIT License.

Acknowledgements

Inspired by distributed multi-agent scheduling theory (ATC-MARL) and by the memory patterns of Hermes and OpenClaw. Built by Xenith.

Directories ยถ

Path Synopsis
cmd
panda command
Command panda is the PANDA core daemon.
Command panda is the PANDA core daemon.
internal
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).
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).
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).
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, or a structured task.
Package entry implements the unified entry model (design doc ยง7): one model call classifies a user request as an answer, a controlled tool call, or a structured task.
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.
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).
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).
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.
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.
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).
security
Package security implements the execution-side hardening of design doc ยง16 and plan P3-29..P3-32: a sandboxed subprocess environment, network egress validation, secret scrubbing, and a high-risk audit trail.
Package security implements the execution-side hardening of design doc ยง16 and plan P3-29..P3-32: a sandboxed subprocess environment, network egress validation, secret scrubbing, and a high-risk audit trail.
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).
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).
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.
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