Skip to content

Command line ​

Last updated Nov 30, 2026 View as Markdown

Pandra builds and runs AI agents.

Commands ​

Build an agent ​

CommandDescription
pandra initCreate pandra.toml in the current directory.
pandra addAdd a skill, an MCP server, or another component to pandra.toml.
pandra removeRemove a skill, an MCP server, or another component from pandra.toml.
pandra searchList MCP Registry servers whose name contains TERM.
pandra lockCreate or update pandra.lock.
pandra buildBuild the project in PATH or the current directory into the store or a package file.
pandra pushPublish an agent to an OCI registry (short for agent push)

Run agents ​

CommandDescription
pandra runRun an agent (short for session run)
pandra resumeContinue a session (short for session resume)
pandra psList sessions (short for session list)
pandra logsShow what a session's agent did (short for session logs)
pandra pullFetch a remote agent into the store (short for agent pull)
pandra syncPrepare an agent to run, without running it.
pandra guildManage and run the members of the repository's guild.
pandra questCarry out the repository's quests and follow them.

Manage ​

CommandDescription
pandra sessionManage sessions.
pandra policyShow and allow what a session's VM may reach.
pandra agentManage the agents in the store.
pandra configShow and change the configuration file.
pandra harnessManage harness installations.
pandra authManage registry logins.
pandra systemManage Pandra's own data and caches.

Other ​

CommandDescription
pandra schemaPrint Pandra's JSON Schemas.
pandra skillPrint Pandra's own skill, or install it for a harness.
pandra versionPrint the version, commit, and target triple.
pandra completionPrint a shell completion script.

Global options ​

These options work with every command.

OptionDescription
--jsonPrint versioned JSON on stdout.
--no-interactiveNever prompt, even on a terminal. Environment variable: PANDRA_NO_INTERACTIVE.
--offlineDisable Pandra's own network access; anything missing fails early. Environment variable: PANDRA_OFFLINE.
-y, --yesAnswer Pandra's own confirmations with yes.
--color WHENColor in human output. Environment variables: NO_COLOR, FORCE_COLOR, CLICOLOR_FORCE. One of auto, always, never.
--no-progressNo progress lines on stderr. Environment variable: PANDRA_NO_PROGRESS.
-q, --quietOnly essential output: the answer and errors.
-v, --verboseMore diagnostic output on stderr; repeat for more.
-V, --versionPrint the version, commit, and target triple.
--config-file FILEUse this configuration file instead of discovery. Environment variable: PANDRA_CONFIG_FILE.
--no-configUse no configuration file. Environment variable: PANDRA_NO_CONFIG.

pandra init ​

Create pandra.toml in the current directory.

text
pandra init [OPTIONS]

Examples:

terminal
sh
# Create pandra.toml, named after the current directory
pandra init

# Create pandra.toml for an agent named reviewer
pandra init --name reviewer
OptionDescription
--name NAMEThe agent name; derived from the directory's name by default.

pandra build ​

Build the project in PATH or the current directory into the store or a package file.

text
pandra build [OPTIONS] [PATH]

Examples:

terminal
sh
# Build the project into the store
pandra build

# Build the project in another directory
pandra build ./agents/reviewer

# Build under another local name
pandra build --name reviewer-dev

# Write a package file
pandra build -o reviewer.agent.tar

# Update pandra.lock as the build resolves
pandra build --lock-update
ArgumentDescription
PATHThe project directory to build; the current directory when left out.
OptionDescription
--name NAMEStore the package under this local name, moving the name if it exists.
-o, --output FILEWrite the package to FILE instead of the store, replacing an existing file atomically.
--lock-updateBring pandra.lock up to date first.

pandra add ​

Add a skill, an MCP server, or another component to pandra.toml.

A component is a skill, instructions, the prompt, an MCP server, a plugin, or the base.

text
pandra add [OPTIONS] [SOURCE]

Examples:

terminal
sh
# Add a skill from a local directory
pandra add ./skills/review

# Add one skill of a repository, pinned to a tag
pandra add https://github.com/obra/superpowers@v7.0.2 --skill brainstorming

# Add a plugin, pinned to a tag
pandra add --plugin https://github.com/obra/superpowers@v7.0.2

# Add an MCP server from the MCP Registry
pandra add --mcp io.github.github/github-mcp-server

# Build on a published agent
pandra add --base ghcr.io/acme/reviewer:1.2.0
ArgumentDescription
SOURCEA local path, a browser URL, a Git reference or URL, or an HTTPS URL.
OptionDescription
--path PATHThe member of an archive, or the path in a repository.
--skill NAMEThe skill to add from a source with several, by name or path; repeatable; '*' for all. With --plugin, a skill of the plugin to take, and no others.
--instructionsAdd the source as instructions, at the end of the list.
--promptAdd the source as the prompt.
--pluginAdd the source as a plugin, under the plugin's name, with every skill it has, only the skills --skill names, all but those --exclude-skill names, or the skills chosen on a terminal.
--baseBuild on this agent: a project by path or Git reference, or a package by OCI reference.
--exclude-skill NAMEA skill of the plugin to leave out; repeatable, or several separated by commas.
--mcp SERVERAdd an MCP server: an MCP Registry name or a word to search for, npm:, pypi:, or oci: and a package, or a URL.
--method IDThe default execution method of an MCP Registry entry: a method id or its short form.
--name NAMEThe table name of the MCP server in pandra.toml.
--git URLA Git repository, written as the explicit form.
--tag TAGThe tag of --git.
--branch BRANCHThe branch of --git.
--rev COMMITThe full commit of --git.
--url URLAn HTTPS file or archive, written as the explicit form.
--sha256 HEXThe SHA-256 the download of --url must have.

pandra remove ​

Remove a skill, an MCP server, or another component from pandra.toml.

A component is a skill, instructions, the prompt, an MCP server, a plugin, or the base.

text
pandra remove [OPTIONS] [NAME|SOURCE]

Examples:

terminal
sh
# Remove a skill by its name
pandra remove test-driven-development

# Remove a plugin by its key
pandra remove --plugin superpowers

# Remove an MCP server by its key
pandra remove --mcp github

# Remove instructions by their source
pandra remove --instructions review-base.md

# Remove the base
pandra remove --base
ArgumentDescription
`NAMESOURCE`
OptionDescription
--instructions SOURCEInstructions, by their source or path.
--promptThe prompt.
--mcp NAMEAn MCP server, by its key in pandra.toml.
--plugin NAMEA plugin, by its key in pandra.toml.
--baseThe base.

List MCP Registry servers whose name contains TERM.

text
pandra search [OPTIONS] --mcp <TERM>

Examples:

terminal
sh
# List MCP Registry servers whose name contains github
pandra search --mcp github

# List up to 50 of them
pandra search --mcp github --limit 50
ArgumentDescription
TERMPart of a server's name, at least 3 characters.
OptionDescription
--mcpSearch the MCP Registry; required.
--limit NHow many servers to print, 1 to 100. Default: 10.

pandra lock ​

Create or update pandra.lock.

text
pandra lock [OPTIONS]

Examples:

terminal
sh
# Create or update pandra.lock
pandra lock

# Check that pandra.lock is current, changing nothing
pandra lock --check

# Move one skill to its newest version
pandra lock --upgrade test-driven-development

# Move a plugin to its newest version
pandra lock --upgrade --plugin superpowers
OptionDescription
--upgrade NAMEResolve every source again, or only the skill or plugin NAME or the component the options select.
--checkChange nothing; exit 1 when pandra.lock is stale or missing although required.
--instructions SOURCEInstructions, by their source or path.
--promptThe prompt.
--mcp NAMEAn MCP server, by its key in pandra.toml.
--plugin NAMEA plugin, by its key in pandra.toml.
--baseThe base.

pandra sync ​

Prepare an agent to run, without running it.

Fetches its sources and installs the harness and its environment.

text
pandra sync [OPTIONS] [AGENT]

Examples:

terminal
sh
# Prepare the current project
pandra sync

# Prepare a published agent
pandra sync ghcr.io/acme/reviewer:1.2.0

# Prepare an agent for one harness
pandra sync github.com/acme/reviewer@v1.2.0 --harness claude-code
ArgumentDescription
AGENTThe agent: a local name such as reviewer, a digest, a project directory such as ., a package file, or a pulled remote reference such as ghcr.io/acme/reviewer:1.2.0; the project in the current directory when absent. A remote agent must be pulled first.
OptionDescription
--harness NAMEPrepare for this harness: claude-code, codex, or pi.
--lock-updateBring pandra.lock up to date first, for a local project.
--no-install-projectFetch the project's sources and install the harness and tools, without building it.
--backend host|vmPrepare for runs on the host, or in a microVM.

pandra run ​

Run an agent (short for session run)

text
pandra run [OPTIONS] <AGENT> [-- <HARNESS_ARGS>...]

Examples:

terminal
sh
# Open the current project's agent in its harness's terminal UI
pandra run .

# Open it with a first message
pandra run . --prompt "Review PR 12."

# Print the answer and exit, also on a terminal
pandra run . --headless --prompt "Review PR 12."

# Show what a run would do, changing nothing
pandra run ghcr.io/acme/reviewer:1.2.0 --model claude-opus-5-5 --dry-run

# Pass options to the harness after --
pandra run . --harness claude-code --prompt "Review the docs." -- --tools Read,Grep
ArgumentDescription
AGENTThe agent: . for the current project, a local name such as reviewer, a digest, a project directory, a package file, or a remote reference such as ghcr.io/acme/reviewer:1.2.0.
HARNESS_ARGSPass these arguments to the harness after Pandra's arguments.
OptionDescription
--prompt TEXTThe message to send, instead of the package's prompt; "-" reads it from standard input, and "" sends only the --prompt-append parts.
--prompt-append TEXTAdd TEXT after the prompt, separated by a blank line; repeatable, in order.
--workspace DIR|newWork in DIR instead of the current directory, or use "new" for a new, empty workspace. Write "./new" for an existing directory named "new".
--worktreeCreate a Git worktree at the current HEAD.
--name NAMEGive the session a unique name.
--model MODELRequest this model for this invocation.
--effort EFFORTRequest low, medium, high, xhigh, or max reasoning effort.
--provider PROVIDERUse this model provider.
--target NAMERun with this configured target instead of the one the configuration selects.
--harness NAMERun on this harness: claude-code, codex, or pi.
--backend host|vmRun on the host as you, or in a microVM of the run's own.
--cpus NGive the VM N CPUs.
--memory SIZEGive the VM SIZE of memory, such as 8GiB or 512MiB.
--network-preset PRESETStart the VM's network rules from PRESET: strict, minimal, balanced, or open.
--allow-host HOST[:PORT]Allow the VM to reach a host on port 443 or :PORT, such as api.example.com:8443.
-p, --publish [HOST_PORT:]GUEST_PORTPublish a guest port on the host's 127.0.0.1, at the same port unless another comes first.
--env NAME[=VALUE]Set NAME in the VM to VALUE, or without one to the value it has here; one that is not set here is not passed.
--detachRun in the background: print the session's ID once the run has its session, and exit.
--dry-runShow how the run would start, and start nothing.
--output-schema FILERequire an answer matching this JSON Schema file.
--harness-version VERSIONRun this managed version of the harness, an exact version such as 2.1.317.
--instruction-sources SOURCEThe sources of instructions added to the run, replacing the configured list for this invocation; repeatable, and "none" alone for none. One of none, pandra, home, repo, skill-guide.
--skill-sources SOURCEThe sources of skills added to the run, replacing the configured list for this invocation; repeatable, and "none" alone for none. One of none, pandra, home.
--lock-updateBring pandra.lock up to date first, for a local project.
--rmRemove the session when the run ends.
--permission-mode MODERun in this permission mode: auto, bypass (skip the harness's permission checks), or read-only.
--events EVENTSAdd activity events to the JSON stream; requires --json. One of activity.
--headlessSend the message, print the answer, and exit, also on a terminal.
--tuiOpen the harness's own interface, also off a terminal.
--acpServe the agent to an editor over ACP on standard input and output.

pandra resume ​

Continue a session (short for session resume)

text
pandra resume [OPTIONS] [SESSION] [-- <HARNESS_ARGS>...]

Examples:

terminal
sh
# Send a follow-up to the last session and print the answer
pandra resume --last --headless --prompt "Fix it."

# Continue a session by its id prefix in the terminal UI
pandra resume 9f2c

# Pick a session from a list and open it
pandra resume
ArgumentDescription
SESSIONA session ID, unique prefix, or name.
HARNESS_ARGSPass these arguments to the harness after Pandra's arguments.
OptionDescription
--lastContinue the most recently active session in scope.
-a, --allInclude sessions outside the current directory.
--prompt TEXTThe message to send; "-" reads standard input. A headless resume needs one.
--model MODELRequest this model for this invocation.
--effort EFFORTRequest low, medium, high, xhigh, or max reasoning effort.
--output-schema FILERequire an answer matching this JSON Schema file.
--harness-version VERSIONRun this managed version of the harness, an exact version such as 2.1.317.
--instruction-sources SOURCEThe sources of instructions added to the run, replacing the configured list for this invocation; repeatable, and "none" alone for none. One of none, pandra, home, repo, skill-guide.
--skill-sources SOURCEThe sources of skills added to the run, replacing the configured list for this invocation; repeatable, and "none" alone for none. One of none, pandra, home.
--permission-mode MODERun in this permission mode: auto, bypass (skip the harness's permission checks), or read-only.
--detachRun in the background: print the session's ID once the run has its session, and exit.
--dry-runShow how the resume would start, and start nothing.
--cpus NGive the VM N CPUs.
--memory SIZEGive the VM SIZE of memory, such as 8GiB or 512MiB.
--network-preset PRESETStart the VM's network rules from PRESET: strict, minimal, balanced, or open.
--allow-host HOST[:PORT]Allow the VM to reach a host on port 443 or :PORT, such as api.example.com:8443.
-p, --publish [HOST_PORT:]GUEST_PORTPublish a guest port on the host's 127.0.0.1, at the same port unless another comes first.
--env NAME[=VALUE]Set NAME in the VM to VALUE, or without one to the value it has here; one that is not set here is not passed.
--events EVENTSAdd activity events to the JSON stream; requires --json. One of activity.
--headlessSend the message, print the answer, and exit, also on a terminal.
--tuiOpen the harness's own interface, also off a terminal; the prompt is sent only when one is given.

pandra ps ​

List sessions (short for session list)

text
pandra ps [OPTIONS]

Examples:

terminal
sh
# List the active sessions
pandra ps

# List every session
pandra ps -a

# List every session as JSON
pandra ps -a --json
OptionDescription
-a, --allList every session, not only those runs are working on.

pandra logs ​

Show what a session's agent did (short for session logs)

text
pandra logs [OPTIONS] <SESSION>

Examples:

terminal
sh
# Show what a session's agent did
pandra logs 9f2c

# Show the failed tool calls with their whole output
pandra logs 9f2c --failed

# Follow a running session's log as JSON lines
pandra logs 9f2c --follow --json
ArgumentDescription
SESSIONA session ID, a name, or a unique ID prefix.
OptionDescription
--item N[..M]Show only the entries numbered N, or N to M, in full; can be given several times.
--failedShow only the failed tool calls, in full.
--fullShow every entry in full.
--tail NShow only the last N entries.
--since TIMEShow only the entries recorded at or after TIME: an RFC 3339 time, or a duration before now, such as 10m or 2h.
-f, --followGo on showing the entries of the running run until it ends.

pandra session ​

Manage sessions.

text
pandra session [OPTIONS] <COMMAND>

pandra session run ​

Run an agent.

text
pandra session run [OPTIONS] <AGENT> [-- <HARNESS_ARGS>...]

Examples:

terminal
sh
# Open the current project's agent in its harness's terminal UI
pandra run .

# Open it with a first message
pandra run . --prompt "Review PR 12."

# Print the answer and exit, also on a terminal
pandra run . --headless --prompt "Review PR 12."

# Show what a run would do, changing nothing
pandra run ghcr.io/acme/reviewer:1.2.0 --model claude-opus-5-5 --dry-run

# Pass options to the harness after --
pandra run . --harness claude-code --prompt "Review the docs." -- --tools Read,Grep
ArgumentDescription
AGENTThe agent: . for the current project, a local name such as reviewer, a digest, a project directory, a package file, or a remote reference such as ghcr.io/acme/reviewer:1.2.0.
HARNESS_ARGSPass these arguments to the harness after Pandra's arguments.
OptionDescription
--prompt TEXTThe message to send, instead of the package's prompt; "-" reads it from standard input, and "" sends only the --prompt-append parts.
--prompt-append TEXTAdd TEXT after the prompt, separated by a blank line; repeatable, in order.
--workspace DIR|newWork in DIR instead of the current directory, or use "new" for a new, empty workspace. Write "./new" for an existing directory named "new".
--worktreeCreate a Git worktree at the current HEAD.
--name NAMEGive the session a unique name.
--model MODELRequest this model for this invocation.
--effort EFFORTRequest low, medium, high, xhigh, or max reasoning effort.
--provider PROVIDERUse this model provider.
--target NAMERun with this configured target instead of the one the configuration selects.
--harness NAMERun on this harness: claude-code, codex, or pi.
--backend host|vmRun on the host as you, or in a microVM of the run's own.
--cpus NGive the VM N CPUs.
--memory SIZEGive the VM SIZE of memory, such as 8GiB or 512MiB.
--network-preset PRESETStart the VM's network rules from PRESET: strict, minimal, balanced, or open.
--allow-host HOST[:PORT]Allow the VM to reach a host on port 443 or :PORT, such as api.example.com:8443.
-p, --publish [HOST_PORT:]GUEST_PORTPublish a guest port on the host's 127.0.0.1, at the same port unless another comes first.
--env NAME[=VALUE]Set NAME in the VM to VALUE, or without one to the value it has here; one that is not set here is not passed.
--detachRun in the background: print the session's ID once the run has its session, and exit.
--dry-runShow how the run would start, and start nothing.
--output-schema FILERequire an answer matching this JSON Schema file.
--harness-version VERSIONRun this managed version of the harness, an exact version such as 2.1.317.
--instruction-sources SOURCEThe sources of instructions added to the run, replacing the configured list for this invocation; repeatable, and "none" alone for none. One of none, pandra, home, repo, skill-guide.
--skill-sources SOURCEThe sources of skills added to the run, replacing the configured list for this invocation; repeatable, and "none" alone for none. One of none, pandra, home.
--lock-updateBring pandra.lock up to date first, for a local project.
--rmRemove the session when the run ends.
--permission-mode MODERun in this permission mode: auto, bypass (skip the harness's permission checks), or read-only.
--events EVENTSAdd activity events to the JSON stream; requires --json. One of activity.
--headlessSend the message, print the answer, and exit, also on a terminal.
--tuiOpen the harness's own interface, also off a terminal.
--acpServe the agent to an editor over ACP on standard input and output.

pandra session resume ​

Continue a session.

text
pandra session resume [OPTIONS] [SESSION] [-- <HARNESS_ARGS>...]

Examples:

terminal
sh
# Send a follow-up to the last session and print the answer
pandra resume --last --headless --prompt "Fix it."

# Continue a session by its id prefix in the terminal UI
pandra resume 9f2c

# Pick a session from a list and open it
pandra resume
ArgumentDescription
SESSIONA session ID, unique prefix, or name.
HARNESS_ARGSPass these arguments to the harness after Pandra's arguments.
OptionDescription
--lastContinue the most recently active session in scope.
-a, --allInclude sessions outside the current directory.
--prompt TEXTThe message to send; "-" reads standard input. A headless resume needs one.
--model MODELRequest this model for this invocation.
--effort EFFORTRequest low, medium, high, xhigh, or max reasoning effort.
--output-schema FILERequire an answer matching this JSON Schema file.
--harness-version VERSIONRun this managed version of the harness, an exact version such as 2.1.317.
--instruction-sources SOURCEThe sources of instructions added to the run, replacing the configured list for this invocation; repeatable, and "none" alone for none. One of none, pandra, home, repo, skill-guide.
--skill-sources SOURCEThe sources of skills added to the run, replacing the configured list for this invocation; repeatable, and "none" alone for none. One of none, pandra, home.
--permission-mode MODERun in this permission mode: auto, bypass (skip the harness's permission checks), or read-only.
--detachRun in the background: print the session's ID once the run has its session, and exit.
--dry-runShow how the resume would start, and start nothing.
--cpus NGive the VM N CPUs.
--memory SIZEGive the VM SIZE of memory, such as 8GiB or 512MiB.
--network-preset PRESETStart the VM's network rules from PRESET: strict, minimal, balanced, or open.
--allow-host HOST[:PORT]Allow the VM to reach a host on port 443 or :PORT, such as api.example.com:8443.
-p, --publish [HOST_PORT:]GUEST_PORTPublish a guest port on the host's 127.0.0.1, at the same port unless another comes first.
--env NAME[=VALUE]Set NAME in the VM to VALUE, or without one to the value it has here; one that is not set here is not passed.
--events EVENTSAdd activity events to the JSON stream; requires --json. One of activity.
--headlessSend the message, print the answer, and exit, also on a terminal.
--tuiOpen the harness's own interface, also off a terminal; the prompt is sent only when one is given.

pandra session list ​

List sessions.

Lists the sessions runs are working on; -a lists every session.

text
pandra session list [OPTIONS]

Examples:

terminal
sh
# List the active sessions
pandra ps

# List every session
pandra ps -a

# List every session as JSON
pandra ps -a --json
OptionDescription
-a, --allList every session, not only those runs are working on.

pandra session inspect ​

Show details of sessions.

Shows everything recorded about each session and its runs.

text
pandra session inspect [OPTIONS] [SESSION]...

Examples:

terminal
sh
# Show a session by its id prefix
pandra session inspect 9f2c

# Show a session as JSON
pandra session inspect 9f2c --json

# Show the session of a run, by its full ID
pandra session inspect --run 5ab43a2c1d0e4f60718293a4b5c6d7e8
ArgumentDescription
SESSIONEach a session ID, a name, or a unique ID prefix; inside a Pandra run, with neither SESSION nor --run, the session the run has active now.
OptionDescription
--run RUN_IDShow the session of the run with this full ID, such as a value of PANDRA_RUN_ID.

pandra session logs ​

Show what a session's agent did.

Shows the prompts, the agent's messages, its tool calls, and its plan, run by run, from the harness's own record of the conversation.

text
pandra session logs [OPTIONS] <SESSION>

Examples:

terminal
sh
# Show what a session's agent did
pandra logs 9f2c

# Show the failed tool calls with their whole output
pandra logs 9f2c --failed

# Follow a running session's log as JSON lines
pandra logs 9f2c --follow --json
ArgumentDescription
SESSIONA session ID, a name, or a unique ID prefix.
OptionDescription
--item N[..M]Show only the entries numbered N, or N to M, in full; can be given several times.
--failedShow only the failed tool calls, in full.
--fullShow every entry in full.
--tail NShow only the last N entries.
--since TIMEShow only the entries recorded at or after TIME: an RFC 3339 time, or a duration before now, such as 10m or 2h.
-f, --followGo on showing the entries of the running run until it ends.

pandra session prune ​

Remove idle sessions.

Asks for confirmation first.

text
pandra session prune [OPTIONS]

Examples:

terminal
sh
# Remove idle sessions after a confirmation
pandra session prune

# Remove idle sessions without asking
pandra session prune --yes

pandra session remove ​

Remove sessions.

Removes each session with its workspace and harness home.

text
pandra session remove [OPTIONS] <SESSION>...

Examples:

terminal
sh
# Remove a session
pandra session remove 4b1d

# Stop the run working on a session and remove it
pandra session remove --force 4b1d
ArgumentDescription
SESSIONEach a session ID, a name, or a unique ID prefix.
OptionDescription
-f, --forceStop the runs that work on the sessions, remove workspaces that may hold work, and remove sessions whose records are of an older form, each named by its full ID.

pandra session send ​

Send a message to the headless run that works on a session.

The command returns once the harness has taken the message. The agent usually reads it at its next tool boundary, or in a turn of its own; a message it did not read is counted in the run's messages_not_read warning.

text
pandra session send [OPTIONS] --prompt <TEXT> <SESSION>

Examples:

terminal
sh
# Tell the agent of a running session something
pandra session send 4b1d --prompt "Use the staging database."

# Send a message read from standard input
pandra session send 4b1d --prompt -
ArgumentDescription
SESSIONA session ID, a name, or a unique ID prefix.
OptionDescription
--prompt TEXTThe message; - reads it from standard input.

pandra session stop ​

Stop the runs that work on sessions.

Interrupts the run that owns each session and returns once it has ended; the sessions stay and can be resumed.

text
pandra session stop [OPTIONS] <SESSION>...

Examples:

terminal
sh
# Stop the run working on a session
pandra session stop 4b1d
ArgumentDescription
SESSIONEach a session ID, a name, or a unique ID prefix.

pandra session wait ​

Wait for the run that works on a session.

Waits until the run has ended, prints its answer, and exits with its exit code; a session that no run owns is reported at once with its last run.

text
pandra session wait [OPTIONS] <SESSION>

Examples:

terminal
sh
# Wait for a session's run and print its answer
pandra session wait 4b1d

# Give up after ten minutes, leaving the run going
pandra session wait --timeout 10m 4b1d
ArgumentDescription
SESSIONA session ID, a name, or a unique ID prefix.
OptionDescription
--timeout DURATIONEnd the wait after DURATION, such as 90s, 10m, or 2h, and exit 124; the run goes on.

pandra agent ​

Manage the agents in the store.

text
pandra agent [OPTIONS] <COMMAND>

pandra agent list ​

List the agents in the store.

text
pandra agent list [OPTIONS]

Examples:

terminal
sh
# List the agents in the store
pandra agent list

# List them as JSON
pandra agent list --json

pandra agent inspect ​

Show details of an agent.

text
pandra agent inspect [OPTIONS] <AGENT>

Examples:

terminal
sh
# Show the current project
pandra agent inspect .

# Show a published agent
pandra agent inspect ghcr.io/acme/reviewer:1.2.0

# Show an agent from a Git tag
pandra agent inspect github.com/acme/reviewer@v1.2.0
ArgumentDescription
AGENTThe agent: a local name such as reviewer, a digest, an OCI or Git reference such as ghcr.io/acme/reviewer:1.2.0, a project directory such as ., or a package file.

pandra agent remove ​

Remove agents from the store.

Removes the reference or local name each AGENT names. Removing the last reference of a remote agent, or the last name agent load gave a package, also removes its approval.

text
pandra agent remove [OPTIONS] <AGENT>...

Examples:

terminal
sh
# Remove an agent from the store
pandra agent remove github.com/acme/reviewer@v1.2.0

# Remove a local name
pandra agent remove reviewer
ArgumentDescription
AGENTThe agents to remove: local names such as reviewer, or references such as ghcr.io/acme/reviewer:1.2.0.
OptionDescription
-f, --forceAlso remove every reference and local name of a pinned package, and the last one of a package that sessions use.

pandra agent save ​

Save an agent to a package file.

text
pandra agent save [OPTIONS] --output <FILE> <AGENT>

Examples:

terminal
sh
# Write a stored agent to a package file
pandra agent save ghcr.io/acme/reviewer:1.2.0 -o reviewer.agent.tar
ArgumentDescription
AGENTA stored agent: a local name such as reviewer, a digest, or a reference such as ghcr.io/acme/reviewer:1.2.0.
OptionDescription
-o, --output FILEThe package file, replaced atomically if it exists.

pandra agent pull ​

Fetch a remote agent into the store.

text
pandra agent pull [OPTIONS] <AGENT>

Examples:

terminal
sh
# Fetch a published agent
pandra pull ghcr.io/acme/reviewer:1.2.0

# Fetch an agent from a Git tag
pandra pull github.com/acme/reviewer@v1.2.0

# Fetch an agent from a directory of a repository
pandra pull github.com/acme/agents/reviewer@v1.2.0
ArgumentDescription
AGENTA remote agent: an OCI reference with a tag or digest, such as ghcr.io/acme/reviewer:1.2.0, or a Git reference, such as github.com/acme/reviewer@v1.2.0.

pandra agent push ​

Publish an agent to an OCI registry.

Publishes the project in the current directory, or with --from a package in the store.

text
pandra agent push [OPTIONS] <DESTINATION>

Examples:

terminal
sh
# Publish the current project under a version
pandra push ghcr.io/acme/reviewer:1.2.0

# Publish a stored agent by its local name
pandra push ghcr.io/acme/reviewer:1.2.0 --from reviewer

# Copy a published agent to another registry
pandra push registry.example.com/team/reviewer:1.2.0 --from ghcr.io/acme/reviewer:1.2.0
ArgumentDescription
DESTINATIONThe OCI registry and repository, with an optional tag.
OptionDescription
--from AGENTPush a package in the store instead of the current project: a local name such as reviewer, a digest, or a reference such as ghcr.io/acme/reviewer:1.2.0.
--lock-updateBring the project's lockfile up to date first.

pandra agent trust ​

Approve an agent so that it runs without asking.

Approves a stored remote or loaded agent, or a package file.

text
pandra agent trust [OPTIONS] <AGENT>

Examples:

terminal
sh
# Approve an agent from a Git tag
pandra agent trust github.com/acme/reviewer@v1.2.0

# Approve a loaded agent by its local name
pandra agent trust reviewer
ArgumentDescription
AGENTThe agent to approve: a local name such as reviewer, a reference such as ghcr.io/acme/reviewer:1.2.0, or a package file.

pandra agent untrust ​

Remove an agent's approval.

text
pandra agent untrust [OPTIONS] <AGENT>

Examples:

terminal
sh
# Withdraw the approval of an agent's source
pandra agent untrust github.com/acme/reviewer

# Withdraw the approval of a published agent
pandra agent untrust ghcr.io/acme/reviewer
ArgumentDescription
AGENTThe agent: a reference, a bare remote identity such as ghcr.io/acme/reviewer, a local name, a digest, or a package file.

pandra agent load ​

Load an agent from a package file.

Reads the package file into the store under a local name.

text
pandra agent load [OPTIONS] <FILE>

Examples:

terminal
sh
# Read a package file into the store
pandra agent load ./reviewer.agent.tar --name reviewer
ArgumentDescription
FILEThe package file.
OptionDescription
--name NAMEThe local name; the manifest name by default.

pandra guild ​

Manage and run the members of the repository's guild.

text
pandra guild [OPTIONS] <COMMAND>

pandra guild list ​

List the members and quests.

Shows whether each member is ready to run.

text
pandra guild list [OPTIONS]

Examples:

terminal
sh
# List the guild's members and quests
pandra guild list

# List them as JSON
pandra guild list --json

# Show the harness each member runs on under a profile
pandra guild list --profile cross-review
OptionDescription
--profile NAMEApply this profile of the guild; PANDRA_GUILD_PROFILE names one otherwise.

pandra guild add ​

Add a member, or change its source.

Reads SOURCE, the URL a browser shows, a Git or OCI reference, or a path, into the member's keys in pandra-guild.toml, creating the file when there is none, and brings pandra-guild.lock up to date.

text
pandra guild add [OPTIONS] <NAME> <SOURCE>

Examples:

terminal
sh
# Add a member from the URL a browser shows
pandra guild add docs-writer https://github.com/acme/agents/tree/v0.3.0/docs-writer

# Add a member from a registry
pandra guild add reviewer ghcr.io/acme/reviewer:1.2.0
ArgumentDescription
NAMEThe member's name.
SOURCEWhat the member comes from.

pandra guild remove ​

Remove a member.

Removes the member's table from pandra-guild.toml and its pin from pandra-guild.lock.

text
pandra guild remove [OPTIONS] <NAME>

Examples:

terminal
sh
# Remove a member
pandra guild remove reviewer
ArgumentDescription
NAMEThe member's name.

pandra guild lock ​

Create or update pandra-guild.lock.

text
pandra guild lock [OPTIONS]

Examples:

terminal
sh
# Pin every remote member
pandra guild lock

# Move one member to its newest version
pandra guild lock --upgrade reviewer
OptionDescription
--upgrade NAMEResolve every remote member's tag or branch again, or only NAME's.
--checkChange nothing: exit 1 when the lockfile is stale or missing although required.

pandra guild pull ​

Fetch the members' pinned packages.

Fetches the pinned package of every remote member, or of the members named, that the store lacks.

text
pandra guild pull [OPTIONS] [NAME]...

Examples:

terminal
sh
# Fetch every pinned member
pandra guild pull

# Fetch one member
pandra guild pull reviewer
ArgumentDescription
NAMEThe members; every member when absent.

pandra guild trust ​

Approve the members' packages.

Shows what the members' pinned packages contain, and approves those that need it after one question.

text
pandra guild trust [OPTIONS] [NAME]...

Examples:

terminal
sh
# Show what the members contain and approve them
pandra guild trust

# Approve one member
pandra guild trust reviewer
ArgumentDescription
NAMEThe members; every member when absent.

pandra guild sync ​

Prepare the members to run.

Prepares every member, or the members named, as pandra sync prepares one agent.

text
pandra guild sync [OPTIONS] [NAME]...

Examples:

terminal
sh
# Prepare every member
pandra guild sync

# Prepare every member for one harness
pandra guild sync --harness claude-code

# Prepare every member for the harness a profile gives it
pandra guild sync --profile cross-review
ArgumentDescription
NAMEThe members; every member when absent.
OptionDescription
--harness NAMEPrepare every member for this harness: claude-code, codex, or pi.
--lock-updateBring a path member's pandra.lock up to date first.
--no-install-projectFetch a path member's sources and install the harness and tools, without building it.
--backend host|vmPrepare every member for runs on the host, or in a microVM.
--profile NAMEApply this profile of the guild; PANDRA_GUILD_PROFILE names one otherwise.

pandra guild run ​

Run a member.

Takes the options of pandra run.

text
pandra guild run [OPTIONS] <NAME> [-- <HARNESS_ARGS>...]

Examples:

terminal
sh
# Run a member with a prompt
pandra guild run reviewer --prompt "Review the current branch."

# Run a member in a harness's terminal UI
pandra guild run release-notes --tui

# Run a member with a profile of the guild
pandra guild run second-reviewer --profile cross-review --prompt "Review it."
ArgumentDescription
NAMEThe member to run.
HARNESS_ARGSPass these arguments to the harness after Pandra's arguments.
OptionDescription
--prompt TEXTThe message to send, instead of the package's prompt; "-" reads it from standard input, and "" sends only the --prompt-append parts.
--prompt-append TEXTAdd TEXT after the prompt, separated by a blank line; repeatable, in order.
--workspace DIR|newWork in DIR instead of the current directory, or use "new" for a new, empty workspace. Write "./new" for an existing directory named "new".
--worktreeCreate a Git worktree at the current HEAD.
--name NAMEGive the session a unique name.
--model MODELRequest this model for this invocation.
--effort EFFORTRequest low, medium, high, xhigh, or max reasoning effort.
--provider PROVIDERUse this model provider.
--target NAMERun with this configured target instead of the one the configuration selects.
--harness NAMERun on this harness: claude-code, codex, or pi.
--backend host|vmRun on the host as you, or in a microVM of the run's own.
--cpus NGive the VM N CPUs.
--memory SIZEGive the VM SIZE of memory, such as 8GiB or 512MiB.
--network-preset PRESETStart the VM's network rules from PRESET: strict, minimal, balanced, or open.
--allow-host HOST[:PORT]Allow the VM to reach a host on port 443 or :PORT, such as api.example.com:8443.
-p, --publish [HOST_PORT:]GUEST_PORTPublish a guest port on the host's 127.0.0.1, at the same port unless another comes first.
--env NAME[=VALUE]Set NAME in the VM to VALUE, or without one to the value it has here; one that is not set here is not passed.
--detachRun in the background: print the session's ID once the run has its session, and exit.
--dry-runShow how the run would start, and start nothing.
--output-schema FILERequire an answer matching this JSON Schema file.
--harness-version VERSIONRun this managed version of the harness, an exact version such as 2.1.317.
--instruction-sources SOURCEThe sources of instructions added to the run, replacing the configured list for this invocation; repeatable, and "none" alone for none. One of none, pandra, home, repo, skill-guide.
--skill-sources SOURCEThe sources of skills added to the run, replacing the configured list for this invocation; repeatable, and "none" alone for none. One of none, pandra, home.
--lock-updateBring pandra.lock up to date first, for a local project.
--rmRemove the session when the run ends.
--permission-mode MODERun in this permission mode: auto, bypass (skip the harness's permission checks), or read-only.
--events EVENTSAdd activity events to the JSON stream; requires --json. One of activity.
--headlessSend the message, print the answer, and exit, also on a terminal.
--tuiOpen the harness's own interface, also off a terminal.
--acpServe the agent to an editor over ACP on standard input and output.
--profile NAMEApply this profile of the guild; PANDRA_GUILD_PROFILE names one otherwise.

pandra guild ps ​

List the sessions of the guild.

Lists the sessions that guild run and quest run created from the guild file, in every worktree of the repository, with their member and quest.

text
pandra guild ps [OPTIONS]

Examples:

terminal
sh
# List the guild's active sessions
pandra guild ps

# List every session of the guild
pandra guild ps -a
OptionDescription
-a, --allList every session, not only those runs are working on.

pandra quest ​

Carry out the repository's quests and follow them.

text
pandra quest [OPTIONS] <COMMAND>

pandra quest run ​

Carry out a quest: its steps in order, each checked by its checks, in one workspace.

text
pandra quest run [OPTIONS] <NAME>

Examples:

terminal
sh
# Carry out a quest with a prompt
pandra quest run change --prompt "Add --json to app list."

# Carry it out in a new worktree of the repository
pandra quest run change --prompt "..." --worktree

# Carry it out with a profile of the guild
pandra quest run change --profile cross-review --prompt "..."
ArgumentDescription
NAMEThe quest to carry out.
OptionDescription
--prompt TEXTThe quest's request; "-" reads it from standard input.
--workspace DIR|newWork in DIR instead of the current directory, or use "new" for a new, empty workspace. Write "./new" for an existing directory named "new".
--worktreeCreate a Git worktree at the current HEAD.
--rmRemove the sessions the quest created, and a workspace it generated, when it ends.
--events EVENTSAdd activity events to the JSON stream; requires --json. One of activity.
--detachRun the quest in the background: print its ID once it has one, and exit.
--profile NAMEApply this profile of the guild; PANDRA_GUILD_PROFILE names one otherwise.

pandra quest resume ​

Carry out a quest again, or answer it.

Carries out an interrupted or failed quest again under its ID, from the step where it stopped; with --prompt, gives it a message, answers a quest that waits for the user, or carries a completed quest out again from its first step.

text
pandra quest resume [OPTIONS] <QUEST>

Examples:

terminal
sh
# Resume an interrupted quest
pandra quest resume 7d3e01a2b3c4

# Resume it in the background
pandra quest resume --detach 7d3e01a2b3c4
ArgumentDescription
QUESTA quest ID, or a unique prefix of at least four characters.
OptionDescription
--prompt TEXTThe answer to a quest that waits for the user, or a message for a quest carried on or carried out again; "-" reads it from standard input.
--events EVENTSAdd activity events to the JSON stream; requires --json. One of activity.
--detachCarry the quest out in the background: print its ID once it is taken over, and exit.

pandra quest list ​

List the quests carried out.

Lists the running quests of the repository's guild and those that wait for the user, from every worktree of the repository, with the step each is on.

text
pandra quest list [OPTIONS]

Examples:

terminal
sh
# List the repository's running quests and those that wait for the user
pandra quest list

# List every quest of the repository
pandra quest list -a

# Find a quest of any repository
pandra quest list --all-guilds
OptionDescription
-a, --allAlso list the quests that ended, whose record remains.
--all-guildsList the quests of every guild on the machine, not only the repository's.

pandra quest inspect ​

Show a quest that was carried out.

Shows its record, its state, and the step it is on; with --json --history, every turn of every step and check.

text
pandra quest inspect [OPTIONS] <QUEST>

Examples:

terminal
sh
# Show a quest's record and how it ended
pandra quest inspect 7f3a9c2e1b04

# Read every answer of every step and check
pandra quest inspect --json --history 7f3a9c2e1b04
ArgumentDescription
QUESTA quest ID, or a unique prefix of at least four characters.
OptionDescription
--historyAdd every turn of every step and check, with its answer, to the JSON document; requires --json.

pandra quest wait ​

Wait for a quest.

Waits until the quest has ended or waits for the user, prints its output, and exits with its exit code.

text
pandra quest wait [OPTIONS] <QUEST>

Examples:

terminal
sh
# Wait up to 100 minutes for a quest, then print its output
pandra quest wait --timeout 100m 7f3a9c2e1b04
ArgumentDescription
QUESTA quest ID, or a unique prefix of at least four characters.
OptionDescription
--timeout DURATIONEnd the wait after DURATION, such as 90s, 10m, or 2h, and exit 124; the quest goes on.
--historyAdd every turn of every step and check, with its answer, to the JSON document; requires --json.

pandra quest stop ​

Stop quests.

Interrupts each quest and returns once it has ended.

text
pandra quest stop [OPTIONS] <QUEST>...

Examples:

terminal
sh
# Stop a quest
pandra quest stop 7f3a9c2e1b04
ArgumentDescription
QUESTEach a quest ID, or a unique prefix of at least four characters.

pandra quest remove ​

Remove quests.

Removes each quest with its sessions and the workspace it created, except a quest whose record is of an older form, which keeps them.

text
pandra quest remove [OPTIONS] <QUEST>...

Examples:

terminal
sh
# Remove a quest with its sessions and workspace
pandra quest remove 7f3a9c2e1b04

# Remove a running quest, or one whose worktree holds work
pandra quest remove --force 7f3a9c2e1b04
ArgumentDescription
QUESTEach a quest ID, or a unique prefix of at least four characters.
OptionDescription
-f, --forceStop a running quest and the runs that work on its sessions, remove a worktree that may hold work, and remove quests whose records are of an older form, each named by its full ID.

pandra quest logs ​

Show what a quest printed.

Prints what the quest printed without a terminal, without the lines its commands wrote, then its output; with --json, the events of its output.

text
pandra quest logs [OPTIONS] <QUEST>

Examples:

terminal
sh
# Follow what a quest prints until it ends
pandra quest logs -f 7f3a9c2e1b04

# Print every line its commands wrote too
pandra quest logs --full 7f3a9c2e1b04

# Print the events of its output
pandra quest logs --json 7f3a9c2e1b04
ArgumentDescription
QUESTA quest ID, or a unique prefix of at least four characters.
OptionDescription
-f, --followPrint each line as the quest prints it, until the quest ends.
--fullPrint every line the quest's commands wrote, instead of a failed check's last lines.

pandra config ​

Show and change the configuration file.

text
pandra config [OPTIONS] <COMMAND>

pandra config show ​

Show the configuration.

Shows every value the file writes, with its line, and the defaults it leaves out; with --agent, whether that agent's configuration is complete.

text
pandra config show [OPTIONS]

Examples:

terminal
sh
# Show the configuration file
pandra config show

# Show whether an agent's configuration is complete
pandra config show --agent github.com/acme/reviewer
OptionDescription
--agent AGENTShow what the agent needs next to what is set and allowed. The agent is a local name such as reviewer, a project directory such as ., or a remote identity such as ghcr.io/acme/reviewer.

pandra config setup ​

Configure what an agent needs.

Asks on a terminal, or prints a template to fill in and applies it.

text
pandra config setup [OPTIONS] <AGENT>

Examples:

terminal
sh
# Configure what an agent needs, on the terminal
pandra config setup github.com/acme/notifier@v1.0.0

# Print a template to fill in
pandra config setup github.com/acme/notifier@v1.0.0 --template

# Apply a filled template
pandra config setup github.com/acme/notifier@v1.0.0 --file notifier.toml
ArgumentDescription
AGENTThe agent: a local name such as reviewer, a project directory such as ., or a pulled remote reference such as ghcr.io/acme/reviewer:1.2.0.
OptionDescription
--templatePrint a template to fill in.
--file FILEApply a filled-in template.

pandra config set ​

Set a key.

Reads the value by the key's kind; a list key takes the whole list, written as a TOML list.

text
pandra config set [OPTIONS] <KEY> [VALUE]

Examples:

terminal
sh
# Run without permission prompts by default
pandra config set defaults.permission-mode bypass

# Set a target's model
pandra config set targets.work.model claude-opus-5-5

# Give an agent a variable from a secret
pandra config set --agent github.com/acme/reviewer env.GITHUB_TOKEN --secret github-token

# Set a harness setting to a TOML list
pandra config set harnesses.claude-code.settings.permissions.allow '["Bash(npm test)", "Read"]'

# Give agents the instructions their harness reads without Pandra
pandra config set defaults.instruction-sources '["home", "repo"]'
ArgumentDescription
KEYThe dotted key, from the root of the file or of the scope.
VALUEThe value.
OptionDescription
--agent AGENTThe key is in the table of this agent: a local name such as reviewer, a project directory such as ., or a remote identity such as ghcr.io/acme/reviewer.
--target NAMEThe key is in the table of target NAME.
--secret NAMEWrite { secret = NAME }, for env.* keys of a target or an agent.

pandra config add ​

Add values to a list key.

Adds each value the list does not hold yet, checked by the key's rule; a target's args keeps every value given. A value that starts with - follows --.

text
pandra config add [OPTIONS] <KEY> <VALUES>...

Examples:

terminal
sh
# Let every VM run reach two more hosts
pandra config add policy.allow-hosts registry.npmjs.org internal.example.com:8443

# Add an argument that starts with a dash to a target
pandra config add --target work args -- --add-dir /srv/shared
ArgumentDescription
KEYThe dotted key, from the root of the file or of the scope.
VALUESThe values, in order.
OptionDescription
--agent AGENTThe key is in the table of this agent: a local name such as reviewer, a project directory such as ., or a remote identity such as ghcr.io/acme/reviewer.
--target NAMEThe key is in the table of target NAME.

pandra config remove ​

Remove values from a list key.

Removes every entry equal to one of the values. A list left empty is removed with its key, except an agent's instruction-sources, skill-sources, and preload-skills, kept as [].

text
pandra config remove [OPTIONS] <KEY> <VALUES>...

Examples:

terminal
sh
# Stop publishing an agent's port
pandra config remove --agent github.com/acme/reviewer vm.ports 3000
ArgumentDescription
KEYThe dotted key, from the root of the file or of the scope.
VALUESThe values to remove.
OptionDescription
--agent AGENTThe key is in the table of this agent: a local name such as reviewer, a project directory such as ., or a remote identity such as ghcr.io/acme/reviewer.
--target NAMEThe key is in the table of target NAME.

pandra config unset ​

Remove a key.

Also removes the tables it leaves empty.

text
pandra config unset [OPTIONS] <KEY>

Examples:

terminal
sh
# Remove a target's effort
pandra config unset targets.work.effort

# Remove an agent's variable
pandra config unset --agent github.com/acme/notifier env.SLACK_CHANNEL
ArgumentDescription
KEYThe dotted key, from the root of the file or of the scope.
OptionDescription
--agent AGENTThe key is in the table of this agent: a local name such as reviewer, a project directory such as ., or a remote identity such as ghcr.io/acme/reviewer.
--target NAMEThe key is in the table of target NAME.

pandra config edit ​

Edit the configuration file.

Opens a copy in $VISUAL or $EDITOR, and checks it before it is saved.

text
pandra config edit [OPTIONS]

Examples:

terminal
sh
# Edit the configuration file in your editor
pandra config edit

pandra config path ​

Print the path of the configuration file.

The file that commands read and write, for editing with another tool; it may not exist yet.

text
pandra config path [OPTIONS]

Examples:

terminal
sh
# Print the file to edit with another tool
pandra config path

pandra config validate ​

Check the configuration file.

Reports each problem with its line, without printing the file's values.

text
pandra config validate [OPTIONS]

Examples:

terminal
sh
# Check the file after editing it
pandra config validate

# Check another file
pandra --config-file ./team.toml config validate

pandra config target ​

Manage targets.

text
pandra config target [OPTIONS] <COMMAND>

pandra config target set ​

Create or change a target.

text
pandra config target set [OPTIONS] <NAME>

Examples:

terminal
sh
# Create a target for Claude Code
pandra config target set claude --harness claude-code

# Create a target that logs in with an API key
pandra config target set work --harness claude-code --login api-key --secret anthropic

# Create a Pi target with a provider and a model
pandra config target set pi-work --harness pi --provider openai --model gpt-6.1-sol
ArgumentDescription
NAMEThe target.
OptionDescription
--harness HARNESSThe harness; required to create a target, and asked for on a terminal.
--provider PROVIDERThe model provider.
--model MODELThe model.
--effort EFFORTThe reasoning effort.
--arg ARGAn argument for the harness, repeated in order; the list replaces the target's.
--harness-feature FEATUREA harness feature, repeated; the list replaces the target's.
--login METHODHow the credential logs in: api-key, subscription, or gateway.
--base-url URLThe gateway's base URL, written beside its credential.
--secret SECRETThe credential's secret, with --login or the method a terminal asks for; with --login alone, a terminal asks for it.

pandra config target use ​

Choose the target runs use.

Sets the default target, or with --agent the target of one agent.

text
pandra config target use [OPTIONS] <NAME>

Examples:

terminal
sh
# Use a target by default
pandra config target use claude

# Use a target for one agent
pandra config target use codex --agent ghcr.io/acme/reviewer
ArgumentDescription
NAMEThe target.
OptionDescription
--agent AGENTThe agent whose runs use it: a local name such as reviewer, a project directory such as ., or a remote identity such as ghcr.io/acme/reviewer.

pandra config target list ​

List the targets.

A * after a name marks the default target, and (harness) marks a provider, model, or effort the target leaves to the harness to choose.

text
pandra config target list [OPTIONS]

Examples:

terminal
sh
# List the targets
pandra config target list

# List them as JSON
pandra config target list --json

pandra config target remove ​

Remove a target.

text
pandra config target remove [OPTIONS] <NAME>

Examples:

terminal
sh
# Remove a target
pandra config target remove claude
ArgumentDescription
NAMEThe target.

pandra config secret ​

Manage logical secrets.

text
pandra config secret [OPTIONS] <COMMAND>

pandra config secret set ​

Register a logical secret.

Also writes its value when the store is the keychain.

text
pandra config secret set [OPTIONS] <--keychain|--aws-secrets-manager <REF>|--1password <REF>|--bitwarden <ITEM>|--env <VAR>|--file <PATH>|--command <CMD>> <NAME>

Examples:

terminal
sh
# Register a logical secret kept in 1Password
pandra config secret set slack-token --1password op://Work/Slack/token

# Register a logical secret read from a variable
pandra config secret set gh --env GITHUB_TOKEN

# Register a logical secret printed by a command
pandra config secret set github-token --command "gh auth token"

# Store a secret in the keychain
pandra config secret set claude-work-token --keychain
ArgumentDescription
NAMEThe logical secret.
OptionDescription
--keychainThe OS keychain; the value comes from standard input or a hidden prompt.
--aws-secrets-manager REFAn AWS Secrets Manager secret: its ARN, or a name with --region.
--json-key KEYThe key of the AWS secret's JSON object.
--region REGIONThe region of an AWS secret given by name.
--profile PROFILEThe AWS profile.
--1password REFA 1Password op:// reference.
--account ACCOUNTThe 1Password account.
--bitwarden ITEMA Bitwarden item, or ITEM/FIELD.
--env VARAn environment variable.
--file PATHA file, read whole.
--command CMDA shell command whose standard output is the value.
--replaceWrite the keychain even when it holds a value.

pandra config secret list ​

List the logical secrets.

text
pandra config secret list [OPTIONS]

Examples:

terminal
sh
# List the secrets
pandra config secret list

# List them as JSON
pandra config secret list --json

pandra config secret remove ​

Remove a logical secret.

Removes it from the file; its stored value is kept.

text
pandra config secret remove [OPTIONS] <NAME>

Examples:

terminal
sh
# Remove a secret
pandra config secret remove slack-token
ArgumentDescription
NAMEThe logical secret.

pandra config mcp ​

Manage MCP configurations.

An MCP configuration holds input values, a method switch, or a replacement for an agent's server.

text
pandra config mcp [OPTIONS] <COMMAND>

pandra config mcp set ​

Create or update an MCP configuration for an agent's server.

Assigns it to the server, and allows the server to receive it.

text
pandra config mcp set [OPTIONS] --agent <AGENT> --server <SERVER> <NAME> [-- <ARGS>...]

Examples:

terminal
sh
# Give an agent's server a token from a secret
pandra config mcp set slack-work --agent ghcr.io/acme/notifier --server slack --secret token=slack-token

# Send a secret in a header, formatted
pandra config mcp set github --agent ghcr.io/acme/reviewer:1.2.0 --server github --secret Authorization=github-token --format Authorization='Bearer {}'

# Run an agent's server from its npm package
pandra config mcp set search-local --agent github.com/acme/researcher --server search --method npm --secret token=search-token
ArgumentDescription
NAMEThe MCP configuration.
ARGSThe arguments of the replacement package or command.
OptionDescription
--agent AGENTThe agent: a local name such as reviewer, a project directory such as ., or a remote identity such as ghcr.io/acme/reviewer.
--server SERVERThe agent's server.
--secret INPUT=SECRETAn input's value from a logical secret, repeated.
--format INPUT=TEMPLATEThe whole-header template a --secret input is sent with, such as Bearer {}.
--value INPUT=TEXTAn input's literal value, repeated.
--method IDAnother of the server's methods: a full id or a short form such as npm.
--package PACKAGEReplace the server with a package: npm:NAME[@VERSION], pypi:..., or oci:IMAGE:TAG.
--url URLReplace the server with a remote endpoint.
--header NAME=VALUEA header of the replacement's URL, repeated.
--transport TRANSPORTThe replacement URL's transport. One of sse, streamable-http.
--command PROGRAMReplace the server with a program, started directly.
--server-env NAME=VALUEAn environment variable of the replacement package or command, repeated.

pandra config mcp use ​

Use an MCP configuration for an agent's server.

Assigns it to the server, and allows the server to receive it.

text
pandra config mcp use [OPTIONS] --agent <AGENT> --server <SERVER> <NAME>

Examples:

terminal
sh
# Reuse a configuration for another agent's server
pandra config mcp use slack-work --agent ghcr.io/acme/reporter --server slack
ArgumentDescription
NAMEThe MCP configuration.
OptionDescription
--agent AGENTThe agent: a local name such as reviewer, a project directory such as ., or a remote identity such as ghcr.io/acme/reviewer.
--server SERVERThe agent's server.

pandra config mcp list ​

List the MCP configurations.

text
pandra config mcp list [OPTIONS]

Examples:

terminal
sh
# List the MCP configurations
pandra config mcp list

# List them as JSON
pandra config mcp list --json

pandra config mcp remove ​

Remove an MCP configuration.

Only one that no agent uses can be removed.

text
pandra config mcp remove [OPTIONS] <NAME>

Examples:

terminal
sh
# Remove an MCP configuration
pandra config mcp remove slack-work
ArgumentDescription
NAMEThe MCP configuration.

pandra harness ​

Manage harness installations.

text
pandra harness [OPTIONS] <COMMAND>

pandra harness install ​

Install harnesses.

Installs exact versions, the newest stable release, or the versions the configuration pins.

text
pandra harness install [OPTIONS] [NAME[@VERSION]]...

Examples:

terminal
sh
# Install the newest stable Claude Code
pandra harness install claude-code

# Install an exact version
pandra harness install claude-code@2.1.317

# Install the versions the configuration pins
pandra harness install
ArgumentDescription
NAME[@VERSION]claude-code, codex, or pi, each with an optional @VERSION.
OptionDescription
--platform PLATFORMInstall the build for the VM backend's guest instead of this machine's: linux-arm64.

pandra harness use ​

Use a harness version or program in every run.

Writes the version, or with --path the program, that runs use; installs nothing.

text
pandra harness use [OPTIONS] <NAME[@VERSION]>

Examples:

terminal
sh
# Use a version in every run
pandra harness use claude-code@2.1.317

# Use a program you installed yourself
pandra harness use pi --path /usr/local/bin/pi
ArgumentDescription
NAME[@VERSION]claude-code, codex, or pi, with @VERSION to use that version.
OptionDescription
--path PATHUse this program instead of a managed version.

pandra harness unuse ​

Stop pinning a harness.

Removes the version or program that harness use wrote, so runs use the harness on PATH or the newest managed version.

text
pandra harness unuse [OPTIONS] <NAME>

Examples:

terminal
sh
# Stop pinning the harness
pandra harness unuse claude-code
ArgumentDescription
NAMEclaude-code, codex, or pi.

pandra harness list ​

List harness installations.

Lists the managed harnesses and the harnesses on PATH.

text
pandra harness list [OPTIONS]

Examples:

terminal
sh
# List the installed harnesses
pandra harness list

# List them as JSON
pandra harness list --json

pandra harness remove ​

Remove a managed harness version.

text
pandra harness remove [OPTIONS] <NAME@VERSION>

Examples:

terminal
sh
# Remove a managed harness
pandra harness remove claude-code@2.1.285
ArgumentDescription
NAME@VERSIONclaude-code, codex, or pi, with the @VERSION to remove.
OptionDescription
--platform PLATFORMRemove the build for the VM backend's guest: linux-arm64.

pandra policy ​

Show and allow what a session's VM may reach.

text
pandra policy [OPTIONS] <COMMAND>

pandra policy list ​

Show what a session's VM may reach.

Shows the network rules in effect and what the session's run refused; for a session that is not running, what a resume would start with.

text
pandra policy list [OPTIONS] <SESSION>

Examples:

terminal
sh
# Show what a session's VM may reach and what it refused
pandra policy list 4b1d

# Show it as JSON
pandra policy list 4b1d --json
ArgumentDescription
SESSIONThe session: its ID, an ID prefix, or its name.

pandra policy allow ​

Allow destinations for a session's VM.

text
pandra policy allow [OPTIONS] <COMMAND>

pandra policy allow host ​

Allow hosts for a session's VM.

Allows each destination at once in the run that uses the session's VM disk, and for every later run on the disk.

text
pandra policy allow host [OPTIONS] <SESSION> <HOST[:PORT]>...

Examples:

terminal
sh
# Let a session's VM reach a host on port 443
pandra policy allow host 4b1d registry.npmjs.org

# Allow a host's subdomains on another port
pandra policy allow host 4b1d '*.example.com:8443'

# Allow it and keep it in the agent's configuration
pandra policy allow host 4b1d registry.npmjs.org --save
ArgumentDescription
SESSIONThe session: its ID, an ID prefix, or its name.
HOST[:PORT]A host name, a wildcard such as *.example.com, or an IPv4 address, each with an optional port (443 without one)
OptionDescription
--saveAlso add them to allow-hosts of the agent's policy table in the configuration file.

pandra policy remove ​

Take back destinations approved for a session's VM.

text
pandra policy remove [OPTIONS] <COMMAND>

pandra policy remove host ​

Take back hosts approved for a session's VM.

Takes each destination back from what policy allow host or a client approved for the session's VM disk: at once for new lookups and connections of the run that uses the disk, and for every later run on it. Connections already open stay open.

text
pandra policy remove host [OPTIONS] <SESSION> <HOST[:PORT]>...

Examples:

terminal
sh
# Take back a host approved for a session's VM
pandra policy remove host 4b1d registry.npmjs.org
ArgumentDescription
SESSIONThe session: its ID, an ID prefix, or its name.
HOST[:PORT]A destination as policy allow host took it.

pandra policy network-preset ​

Set the network preset of a session's VM.

Sets it for every later run on the session's VM disk; a running session can only widen it, at once.

text
pandra policy network-preset [OPTIONS] <SESSION> <PRESET>

Examples:

terminal
sh
# Let a running session's VM reach every public destination
pandra policy network-preset 4b1d open

# Start a session's later runs from the balanced preset
pandra policy network-preset 4b1d balanced
ArgumentDescription
SESSIONThe session: its ID, an ID prefix, or its name.
PRESETstrict, minimal, balanced, or open.

pandra pull ​

Fetch a remote agent into the store (short for agent pull)

text
pandra pull [OPTIONS] <AGENT>

Examples:

terminal
sh
# Fetch a published agent
pandra pull ghcr.io/acme/reviewer:1.2.0

# Fetch an agent from a Git tag
pandra pull github.com/acme/reviewer@v1.2.0

# Fetch an agent from a directory of a repository
pandra pull github.com/acme/agents/reviewer@v1.2.0
ArgumentDescription
AGENTA remote agent: an OCI reference with a tag or digest, such as ghcr.io/acme/reviewer:1.2.0, or a Git reference, such as github.com/acme/reviewer@v1.2.0.

pandra push ​

Publish an agent to an OCI registry (short for agent push).

Publishes the project in the current directory, or with --from a package in the store.

text
pandra push [OPTIONS] <DESTINATION>

Examples:

terminal
sh
# Publish the current project under a version
pandra push ghcr.io/acme/reviewer:1.2.0

# Publish a stored agent by its local name
pandra push ghcr.io/acme/reviewer:1.2.0 --from reviewer

# Copy a published agent to another registry
pandra push registry.example.com/team/reviewer:1.2.0 --from ghcr.io/acme/reviewer:1.2.0
ArgumentDescription
DESTINATIONThe OCI registry and repository, with an optional tag.
OptionDescription
--from AGENTPush a package in the store instead of the current project: a local name such as reviewer, a digest, or a reference such as ghcr.io/acme/reviewer:1.2.0.
--lock-updateBring the project's lockfile up to date first.

pandra auth ​

Manage registry logins.

text
pandra auth [OPTIONS] <COMMAND>

pandra auth login ​

Log in to a registry.

Checks the login and stores it in Pandra's own login file.

text
pandra auth login [OPTIONS] <HOST>

Examples:

terminal
sh
# Log in to a registry
pandra auth login ghcr.io

# Log in with a password from standard input
pandra auth login registry.example.com -u ci --password-stdin
ArgumentDescription
HOSTThe registry host, such as ghcr.io, localhost:5000, or oci://codeberg.org.
OptionDescription
-u, --username USERNAMEThe user name; asked for on a terminal without it.
--password-stdinRead the password from standard input, which must not be a terminal.

pandra auth logout ​

Log out from a registry.

Removes Pandra's own login for it.

text
pandra auth logout [OPTIONS] <HOST>

Examples:

terminal
sh
# Remove the login for a registry
pandra auth logout ghcr.io
ArgumentDescription
HOSTThe registry host.

pandra auth status ​

Show registry logins.

Lists the registries with a login and where each comes from.

text
pandra auth status [OPTIONS]

Examples:

terminal
sh
# List the registries with a login
pandra auth status

# List them as JSON
pandra auth status --json

pandra system ​

Manage Pandra's own data and caches.

text
pandra system [OPTIONS] <COMMAND>

pandra system prune ​

Remove unused data.

Removes what nothing uses and Pandra can recreate: agent environments, packages, sources, cached downloads, and leftovers of interrupted writes. --sessions also removes sessions.

text
pandra system prune [OPTIONS]

Examples:

terminal
sh
# Remove what nothing uses
pandra system prune

# Remove idle sessions too
pandra system prune --sessions
OptionDescription
--sessionsAlso remove the sessions pandra session prune removes.

pandra schema ​

Print Pandra's JSON Schemas.

Prints the schema NAME, lists the names without it, or writes every schema into a directory with --dir.

text
pandra schema [OPTIONS] [NAME]

Examples:

terminal
sh
# List the schemas
pandra schema

# Print the schema of the configuration file
pandra schema config

# Write every schema into a directory
pandra schema --dir ./schemas
ArgumentDescription
NAMEThe schema to print, such as config; without it, the names are listed.
OptionDescription
--dir DIRWrite every schema into DIR as <name>.schema.json, creating DIR.

pandra skill ​

Print Pandra's own skill, or install it for a harness.

Prints its SKILL.md; with --dir, writes the skill's files into a harness's skill directory.

text
pandra skill [OPTIONS]

Examples:

terminal
sh
# Print Pandra's SKILL.md
pandra skill

# Install the skill for Claude Code
pandra skill --dir ~/.claude/skills
OptionDescription
--dir DIRWrite the skill's files to DIR/pandra/, such as ~/.claude/skills or ~/.agents/skills.

pandra version ​

Print the version, commit, and target triple.

text
pandra version [OPTIONS]

Examples:

terminal
sh
# Print the version
pandra version

# Print it as JSON
pandra version --json

pandra completion ​

Print a shell completion script.

text
pandra completion [OPTIONS] <SHELL>

Examples:

terminal
sh
# Print the bash script
pandra completion bash

# Print the zsh script
pandra completion zsh
ArgumentDescription
SHELLThe shell: bash, zsh, fish, or powershell. One of bash, zsh, fish, powershell.

Released under the Apache License 2.0