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. |
|
browser
Package browser is the node's headless browser: one Chrome tab an agent can open, read, click, type into, resize, screenshot and inspect through the console and network logs.
|
Package browser is the node's headless browser: one Chrome tab an agent can open, read, click, type into, resize, screenshot and inspect through the console and network logs. |
|
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. |
|
ccswitch
Package ccswitch reads CC Switch's provider store.
|
Package ccswitch reads CC Switch's provider store. |
|
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. |
|
configsync
Package configsync coordinates model defaults across processes sharing a config and database.
|
Package configsync coordinates model defaults across processes sharing a config and database. |
|
contract
Package contract turns a task's stated success criteria into checks the orchestrator runs itself.
|
Package contract turns a task's stated success criteria into checks the orchestrator runs itself. |
|
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). |
|
devserver
Package devserver runs a project's own development server and exposes it to the console through a reverse proxy that speaks the whole protocol the app expects: HTTP methods and bodies, cookies, redirects, streaming and WebSockets.
|
Package devserver runs a project's own development server and exposes it to the console through a reverse proxy that speaks the whole protocol the app expects: HTTP methods and bodies, cookies, redirects, streaming and WebSockets. |
|
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. |
|
fslock
Package fslock takes an exclusive advisory lock on a file, so a read-modify-write cycle is atomic ACROSS PROCESSES and not only across goroutines.
|
Package fslock takes an exclusive advisory lock on a file, so a read-modify-write cycle is atomic ACROSS PROCESSES and not only across goroutines. |
|
guard
Package guard is the panic firewall for long-lived goroutines.
|
Package guard is the panic firewall for long-lived goroutines. |
|
hooks
Package hooks runs the operator's own commands at task lifecycle points.
|
Package hooks runs the operator's own commands at task lifecycle points. |
|
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. |
|
intake
Package intake turns an inbound event from an external source into queued work on this node.
|
Package intake turns an inbound event from an external source into queued work on this node. |
|
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. |
|
localmodels
Package localmodels answers one question: what can this machine already serve?
|
Package localmodels answers one question: what can this machine already serve? |
|
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. |
|
nodecli
Package nodecli is the registry of the `panda` command surface, one description per consumer:
|
Package nodecli is the registry of the `panda` command surface, one description per consumer: |
|
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. |
|
scout
Package scout builds the compact workspace report an agent's prompt carries before it starts work: repository identity, size, layout, key files and the project's own build/test entry points.
|
Package scout builds the compact workspace report an agent's prompt carries before it starts work: repository identity, size, layout, key files and the project's own build/test entry points. |
|
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 OpenPanda PWA icon set from a pure-stdlib drawing so the manifest is installable and push notifications carry the app mark without shipping a drawing library.
|
Command genicons renders the OpenPanda PWA icon set from a pure-stdlib drawing so the manifest is installable and push notifications carry the app mark without shipping a drawing library. |
|
live-dag-verify
command
SPDX-License-Identifier: AGPL-3.0-or-later Opt-in, paid, real-harness verification.
|
SPDX-License-Identifier: AGPL-3.0-or-later Opt-in, paid, real-harness verification. |
|
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. |
Click to show internal directories.
Click to hide internal directories.
