Command line
Pandra builds and runs AI agents.
Commands
Build an agent
| Command | Description |
|---|---|
pandra init | Create pandra.toml in the current directory. |
pandra add | Add a skill, an MCP server, or another component to pandra.toml. |
pandra remove | Remove a skill, an MCP server, or another component from pandra.toml. |
pandra search | List MCP Registry servers whose name contains TERM. |
pandra lock | Create or update pandra.lock. |
pandra build | Build the project in PATH or the current directory into the store or a package file. |
pandra push | Publish an agent to an OCI registry (short for agent push) |
Run agents
| Command | Description |
|---|---|
pandra run | Run an agent (short for session run) |
pandra resume | Continue a session (short for session resume) |
pandra ps | List sessions (short for session list) |
pandra logs | Show what a session's agent did (short for session logs) |
pandra pull | Fetch a remote agent into the store (short for agent pull) |
pandra sync | Prepare an agent to run, without running it. |
pandra guild | Manage and run the members of the repository's guild. |
pandra quest | Carry out the repository's quests and follow them. |
Manage
| Command | Description |
|---|---|
pandra session | Manage sessions. |
pandra policy | Show and allow what a session's VM may reach. |
pandra agent | Manage the agents in the store. |
pandra config | Show and change the configuration file. |
pandra harness | Manage harness installations. |
pandra auth | Manage registry logins. |
pandra system | Manage Pandra's own data and caches. |
Other
| Command | Description |
|---|---|
pandra schema | Print Pandra's JSON Schemas. |
pandra skill | Print Pandra's own skill, or install it for a harness. |
pandra version | Print the version, commit, and target triple. |
pandra completion | Print a shell completion script. |
Global options
These options work with every command.
| Option | Description |
|---|---|
--json | Print versioned JSON on stdout. |
--no-interactive | Never prompt, even on a terminal. Environment variable: PANDRA_NO_INTERACTIVE. |
--offline | Disable Pandra's own network access; anything missing fails early. Environment variable: PANDRA_OFFLINE. |
-y, --yes | Answer Pandra's own confirmations with yes. |
--color WHEN | Color in human output. Environment variables: NO_COLOR, FORCE_COLOR, CLICOLOR_FORCE. One of auto, always, never. |
--no-progress | No progress lines on stderr. Environment variable: PANDRA_NO_PROGRESS. |
-q, --quiet | Only essential output: the answer and errors. |
-v, --verbose | More diagnostic output on stderr; repeat for more. |
-V, --version | Print the version, commit, and target triple. |
--config-file FILE | Use this configuration file instead of discovery. Environment variable: PANDRA_CONFIG_FILE. |
--no-config | Use no configuration file. Environment variable: PANDRA_NO_CONFIG. |
pandra init
Create pandra.toml in the current directory.
pandra init [OPTIONS]Examples:
# Create pandra.toml, named after the current directory
pandra init
# Create pandra.toml for an agent named reviewer
pandra init --name reviewer| Option | Description |
|---|---|
--name NAME | The 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.
pandra build [OPTIONS] [PATH]Examples:
# 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| Argument | Description |
|---|---|
PATH | The project directory to build; the current directory when left out. |
| Option | Description |
|---|---|
--name NAME | Store the package under this local name, moving the name if it exists. |
-o, --output FILE | Write the package to FILE instead of the store, replacing an existing file atomically. |
--lock-update | Bring 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.
pandra add [OPTIONS] [SOURCE]Examples:
# 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| Argument | Description |
|---|---|
SOURCE | A local path, a browser URL, a Git reference or URL, or an HTTPS URL. |
| Option | Description |
|---|---|
--path PATH | The member of an archive, or the path in a repository. |
--skill NAME | The 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. |
--instructions | Add the source as instructions, at the end of the list. |
--prompt | Add the source as the prompt. |
--plugin | Add 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. |
--base | Build on this agent: a project by path or Git reference, or a package by OCI reference. |
--exclude-skill NAME | A skill of the plugin to leave out; repeatable, or several separated by commas. |
--mcp SERVER | Add an MCP server: an MCP Registry name or a word to search for, npm:, pypi:, or oci: and a package, or a URL. |
--method ID | The default execution method of an MCP Registry entry: a method id or its short form. |
--name NAME | The table name of the MCP server in pandra.toml. |
--git URL | A Git repository, written as the explicit form. |
--tag TAG | The tag of --git. |
--branch BRANCH | The branch of --git. |
--rev COMMIT | The full commit of --git. |
--url URL | An HTTPS file or archive, written as the explicit form. |
--sha256 HEX | The 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.
pandra remove [OPTIONS] [NAME|SOURCE]Examples:
# 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| Argument | Description |
|---|---|
| `NAME | SOURCE` |
| Option | Description |
|---|---|
--instructions SOURCE | Instructions, by their source or path. |
--prompt | The prompt. |
--mcp NAME | An MCP server, by its key in pandra.toml. |
--plugin NAME | A plugin, by its key in pandra.toml. |
--base | The base. |
pandra search
List MCP Registry servers whose name contains TERM.
pandra search [OPTIONS] --mcp <TERM>Examples:
# List MCP Registry servers whose name contains github
pandra search --mcp github
# List up to 50 of them
pandra search --mcp github --limit 50| Argument | Description |
|---|---|
TERM | Part of a server's name, at least 3 characters. |
| Option | Description |
|---|---|
--mcp | Search the MCP Registry; required. |
--limit N | How many servers to print, 1 to 100. Default: 10. |
pandra lock
Create or update pandra.lock.
pandra lock [OPTIONS]Examples:
# 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| Option | Description |
|---|---|
--upgrade NAME | Resolve every source again, or only the skill or plugin NAME or the component the options select. |
--check | Change nothing; exit 1 when pandra.lock is stale or missing although required. |
--instructions SOURCE | Instructions, by their source or path. |
--prompt | The prompt. |
--mcp NAME | An MCP server, by its key in pandra.toml. |
--plugin NAME | A plugin, by its key in pandra.toml. |
--base | The base. |
pandra sync
Prepare an agent to run, without running it.
Fetches its sources and installs the harness and its environment.
pandra sync [OPTIONS] [AGENT]Examples:
# 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| Argument | Description |
|---|---|
AGENT | The 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. |
| Option | Description |
|---|---|
--harness NAME | Prepare for this harness: claude-code, codex, or pi. |
--lock-update | Bring pandra.lock up to date first, for a local project. |
--no-install-project | Fetch the project's sources and install the harness and tools, without building it. |
--backend host|vm | Prepare for runs on the host, or in a microVM. |
pandra run
Run an agent (short for session run)
pandra run [OPTIONS] <AGENT> [-- <HARNESS_ARGS>...]Examples:
# 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| Argument | Description |
|---|---|
AGENT | The 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_ARGS | Pass these arguments to the harness after Pandra's arguments. |
| Option | Description |
|---|---|
--prompt TEXT | The message to send, instead of the package's prompt; "-" reads it from standard input, and "" sends only the --prompt-append parts. |
--prompt-append TEXT | Add TEXT after the prompt, separated by a blank line; repeatable, in order. |
--workspace DIR|new | Work in DIR instead of the current directory, or use "new" for a new, empty workspace. Write "./new" for an existing directory named "new". |
--worktree | Create a Git worktree at the current HEAD. |
--name NAME | Give the session a unique name. |
--model MODEL | Request this model for this invocation. |
--effort EFFORT | Request low, medium, high, xhigh, or max reasoning effort. |
--provider PROVIDER | Use this model provider. |
--target NAME | Run with this configured target instead of the one the configuration selects. |
--harness NAME | Run on this harness: claude-code, codex, or pi. |
--backend host|vm | Run on the host as you, or in a microVM of the run's own. |
--cpus N | Give the VM N CPUs. |
--memory SIZE | Give the VM SIZE of memory, such as 8GiB or 512MiB. |
--network-preset PRESET | Start 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_PORT | Publish 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. |
--detach | Run in the background: print the session's ID once the run has its session, and exit. |
--dry-run | Show how the run would start, and start nothing. |
--output-schema FILE | Require an answer matching this JSON Schema file. |
--harness-version VERSION | Run this managed version of the harness, an exact version such as 2.1.317. |
--instruction-sources SOURCE | The 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 SOURCE | The 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-update | Bring pandra.lock up to date first, for a local project. |
--rm | Remove the session when the run ends. |
--permission-mode MODE | Run in this permission mode: auto, bypass (skip the harness's permission checks), or read-only. |
--events EVENTS | Add activity events to the JSON stream; requires --json. One of activity. |
--headless | Send the message, print the answer, and exit, also on a terminal. |
--tui | Open the harness's own interface, also off a terminal. |
--acp | Serve the agent to an editor over ACP on standard input and output. |
pandra resume
Continue a session (short for session resume)
pandra resume [OPTIONS] [SESSION] [-- <HARNESS_ARGS>...]Examples:
# 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| Argument | Description |
|---|---|
SESSION | A session ID, unique prefix, or name. |
HARNESS_ARGS | Pass these arguments to the harness after Pandra's arguments. |
| Option | Description |
|---|---|
--last | Continue the most recently active session in scope. |
-a, --all | Include sessions outside the current directory. |
--prompt TEXT | The message to send; "-" reads standard input. A headless resume needs one. |
--model MODEL | Request this model for this invocation. |
--effort EFFORT | Request low, medium, high, xhigh, or max reasoning effort. |
--output-schema FILE | Require an answer matching this JSON Schema file. |
--harness-version VERSION | Run this managed version of the harness, an exact version such as 2.1.317. |
--instruction-sources SOURCE | The 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 SOURCE | The 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 MODE | Run in this permission mode: auto, bypass (skip the harness's permission checks), or read-only. |
--detach | Run in the background: print the session's ID once the run has its session, and exit. |
--dry-run | Show how the resume would start, and start nothing. |
--cpus N | Give the VM N CPUs. |
--memory SIZE | Give the VM SIZE of memory, such as 8GiB or 512MiB. |
--network-preset PRESET | Start 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_PORT | Publish 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 EVENTS | Add activity events to the JSON stream; requires --json. One of activity. |
--headless | Send the message, print the answer, and exit, also on a terminal. |
--tui | Open 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)
pandra ps [OPTIONS]Examples:
# List the active sessions
pandra ps
# List every session
pandra ps -a
# List every session as JSON
pandra ps -a --json| Option | Description |
|---|---|
-a, --all | List every session, not only those runs are working on. |
pandra logs
Show what a session's agent did (short for session logs)
pandra logs [OPTIONS] <SESSION>Examples:
# 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| Argument | Description |
|---|---|
SESSION | A session ID, a name, or a unique ID prefix. |
| Option | Description |
|---|---|
--item N[..M] | Show only the entries numbered N, or N to M, in full; can be given several times. |
--failed | Show only the failed tool calls, in full. |
--full | Show every entry in full. |
--tail N | Show only the last N entries. |
--since TIME | Show only the entries recorded at or after TIME: an RFC 3339 time, or a duration before now, such as 10m or 2h. |
-f, --follow | Go on showing the entries of the running run until it ends. |
pandra session
Manage sessions.
pandra session [OPTIONS] <COMMAND>pandra session run
Run an agent.
pandra session run [OPTIONS] <AGENT> [-- <HARNESS_ARGS>...]Examples:
# 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| Argument | Description |
|---|---|
AGENT | The 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_ARGS | Pass these arguments to the harness after Pandra's arguments. |
| Option | Description |
|---|---|
--prompt TEXT | The message to send, instead of the package's prompt; "-" reads it from standard input, and "" sends only the --prompt-append parts. |
--prompt-append TEXT | Add TEXT after the prompt, separated by a blank line; repeatable, in order. |
--workspace DIR|new | Work in DIR instead of the current directory, or use "new" for a new, empty workspace. Write "./new" for an existing directory named "new". |
--worktree | Create a Git worktree at the current HEAD. |
--name NAME | Give the session a unique name. |
--model MODEL | Request this model for this invocation. |
--effort EFFORT | Request low, medium, high, xhigh, or max reasoning effort. |
--provider PROVIDER | Use this model provider. |
--target NAME | Run with this configured target instead of the one the configuration selects. |
--harness NAME | Run on this harness: claude-code, codex, or pi. |
--backend host|vm | Run on the host as you, or in a microVM of the run's own. |
--cpus N | Give the VM N CPUs. |
--memory SIZE | Give the VM SIZE of memory, such as 8GiB or 512MiB. |
--network-preset PRESET | Start 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_PORT | Publish 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. |
--detach | Run in the background: print the session's ID once the run has its session, and exit. |
--dry-run | Show how the run would start, and start nothing. |
--output-schema FILE | Require an answer matching this JSON Schema file. |
--harness-version VERSION | Run this managed version of the harness, an exact version such as 2.1.317. |
--instruction-sources SOURCE | The 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 SOURCE | The 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-update | Bring pandra.lock up to date first, for a local project. |
--rm | Remove the session when the run ends. |
--permission-mode MODE | Run in this permission mode: auto, bypass (skip the harness's permission checks), or read-only. |
--events EVENTS | Add activity events to the JSON stream; requires --json. One of activity. |
--headless | Send the message, print the answer, and exit, also on a terminal. |
--tui | Open the harness's own interface, also off a terminal. |
--acp | Serve the agent to an editor over ACP on standard input and output. |
pandra session resume
Continue a session.
pandra session resume [OPTIONS] [SESSION] [-- <HARNESS_ARGS>...]Examples:
# 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| Argument | Description |
|---|---|
SESSION | A session ID, unique prefix, or name. |
HARNESS_ARGS | Pass these arguments to the harness after Pandra's arguments. |
| Option | Description |
|---|---|
--last | Continue the most recently active session in scope. |
-a, --all | Include sessions outside the current directory. |
--prompt TEXT | The message to send; "-" reads standard input. A headless resume needs one. |
--model MODEL | Request this model for this invocation. |
--effort EFFORT | Request low, medium, high, xhigh, or max reasoning effort. |
--output-schema FILE | Require an answer matching this JSON Schema file. |
--harness-version VERSION | Run this managed version of the harness, an exact version such as 2.1.317. |
--instruction-sources SOURCE | The 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 SOURCE | The 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 MODE | Run in this permission mode: auto, bypass (skip the harness's permission checks), or read-only. |
--detach | Run in the background: print the session's ID once the run has its session, and exit. |
--dry-run | Show how the resume would start, and start nothing. |
--cpus N | Give the VM N CPUs. |
--memory SIZE | Give the VM SIZE of memory, such as 8GiB or 512MiB. |
--network-preset PRESET | Start 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_PORT | Publish 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 EVENTS | Add activity events to the JSON stream; requires --json. One of activity. |
--headless | Send the message, print the answer, and exit, also on a terminal. |
--tui | Open 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.
pandra session list [OPTIONS]Examples:
# List the active sessions
pandra ps
# List every session
pandra ps -a
# List every session as JSON
pandra ps -a --json| Option | Description |
|---|---|
-a, --all | List 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.
pandra session inspect [OPTIONS] [SESSION]...Examples:
# 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| Argument | Description |
|---|---|
SESSION | Each 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. |
| Option | Description |
|---|---|
--run RUN_ID | Show 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.
pandra session logs [OPTIONS] <SESSION>Examples:
# 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| Argument | Description |
|---|---|
SESSION | A session ID, a name, or a unique ID prefix. |
| Option | Description |
|---|---|
--item N[..M] | Show only the entries numbered N, or N to M, in full; can be given several times. |
--failed | Show only the failed tool calls, in full. |
--full | Show every entry in full. |
--tail N | Show only the last N entries. |
--since TIME | Show only the entries recorded at or after TIME: an RFC 3339 time, or a duration before now, such as 10m or 2h. |
-f, --follow | Go on showing the entries of the running run until it ends. |
pandra session prune
Remove idle sessions.
Asks for confirmation first.
pandra session prune [OPTIONS]Examples:
# Remove idle sessions after a confirmation
pandra session prune
# Remove idle sessions without asking
pandra session prune --yespandra session remove
Remove sessions.
Removes each session with its workspace and harness home.
pandra session remove [OPTIONS] <SESSION>...Examples:
# Remove a session
pandra session remove 4b1d
# Stop the run working on a session and remove it
pandra session remove --force 4b1d| Argument | Description |
|---|---|
SESSION | Each a session ID, a name, or a unique ID prefix. |
| Option | Description |
|---|---|
-f, --force | Stop 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.
pandra session send [OPTIONS] --prompt <TEXT> <SESSION>Examples:
# 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 -| Argument | Description |
|---|---|
SESSION | A session ID, a name, or a unique ID prefix. |
| Option | Description |
|---|---|
--prompt TEXT | The 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.
pandra session stop [OPTIONS] <SESSION>...Examples:
# Stop the run working on a session
pandra session stop 4b1d| Argument | Description |
|---|---|
SESSION | Each 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.
pandra session wait [OPTIONS] <SESSION>Examples:
# 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| Argument | Description |
|---|---|
SESSION | A session ID, a name, or a unique ID prefix. |
| Option | Description |
|---|---|
--timeout DURATION | End 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.
pandra agent [OPTIONS] <COMMAND>pandra agent list
List the agents in the store.
pandra agent list [OPTIONS]Examples:
# List the agents in the store
pandra agent list
# List them as JSON
pandra agent list --jsonpandra agent inspect
Show details of an agent.
pandra agent inspect [OPTIONS] <AGENT>Examples:
# 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| Argument | Description |
|---|---|
AGENT | The 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.
pandra agent remove [OPTIONS] <AGENT>...Examples:
# Remove an agent from the store
pandra agent remove github.com/acme/reviewer@v1.2.0
# Remove a local name
pandra agent remove reviewer| Argument | Description |
|---|---|
AGENT | The agents to remove: local names such as reviewer, or references such as ghcr.io/acme/reviewer:1.2.0. |
| Option | Description |
|---|---|
-f, --force | Also 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.
pandra agent save [OPTIONS] --output <FILE> <AGENT>Examples:
# Write a stored agent to a package file
pandra agent save ghcr.io/acme/reviewer:1.2.0 -o reviewer.agent.tar| Argument | Description |
|---|---|
AGENT | A stored agent: a local name such as reviewer, a digest, or a reference such as ghcr.io/acme/reviewer:1.2.0. |
| Option | Description |
|---|---|
-o, --output FILE | The package file, replaced atomically if it exists. |
pandra agent pull
Fetch a remote agent into the store.
pandra agent pull [OPTIONS] <AGENT>Examples:
# 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| Argument | Description |
|---|---|
AGENT | A 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.
pandra agent push [OPTIONS] <DESTINATION>Examples:
# 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| Argument | Description |
|---|---|
DESTINATION | The OCI registry and repository, with an optional tag. |
| Option | Description |
|---|---|
--from AGENT | Push 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-update | Bring 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.
pandra agent trust [OPTIONS] <AGENT>Examples:
# 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| Argument | Description |
|---|---|
AGENT | The 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.
pandra agent untrust [OPTIONS] <AGENT>Examples:
# 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| Argument | Description |
|---|---|
AGENT | The 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.
pandra agent load [OPTIONS] <FILE>Examples:
# Read a package file into the store
pandra agent load ./reviewer.agent.tar --name reviewer| Argument | Description |
|---|---|
FILE | The package file. |
| Option | Description |
|---|---|
--name NAME | The local name; the manifest name by default. |
pandra guild
Manage and run the members of the repository's guild.
pandra guild [OPTIONS] <COMMAND>pandra guild list
List the members and quests.
Shows whether each member is ready to run.
pandra guild list [OPTIONS]Examples:
# 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| Option | Description |
|---|---|
--profile NAME | Apply 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.
pandra guild add [OPTIONS] <NAME> <SOURCE>Examples:
# 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| Argument | Description |
|---|---|
NAME | The member's name. |
SOURCE | What 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.
pandra guild remove [OPTIONS] <NAME>Examples:
# Remove a member
pandra guild remove reviewer| Argument | Description |
|---|---|
NAME | The member's name. |
pandra guild lock
Create or update pandra-guild.lock.
pandra guild lock [OPTIONS]Examples:
# Pin every remote member
pandra guild lock
# Move one member to its newest version
pandra guild lock --upgrade reviewer| Option | Description |
|---|---|
--upgrade NAME | Resolve every remote member's tag or branch again, or only NAME's. |
--check | Change 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.
pandra guild pull [OPTIONS] [NAME]...Examples:
# Fetch every pinned member
pandra guild pull
# Fetch one member
pandra guild pull reviewer| Argument | Description |
|---|---|
NAME | The 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.
pandra guild trust [OPTIONS] [NAME]...Examples:
# Show what the members contain and approve them
pandra guild trust
# Approve one member
pandra guild trust reviewer| Argument | Description |
|---|---|
NAME | The 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.
pandra guild sync [OPTIONS] [NAME]...Examples:
# 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| Argument | Description |
|---|---|
NAME | The members; every member when absent. |
| Option | Description |
|---|---|
--harness NAME | Prepare every member for this harness: claude-code, codex, or pi. |
--lock-update | Bring a path member's pandra.lock up to date first. |
--no-install-project | Fetch a path member's sources and install the harness and tools, without building it. |
--backend host|vm | Prepare every member for runs on the host, or in a microVM. |
--profile NAME | Apply this profile of the guild; PANDRA_GUILD_PROFILE names one otherwise. |
pandra guild run
Run a member.
Takes the options of pandra run.
pandra guild run [OPTIONS] <NAME> [-- <HARNESS_ARGS>...]Examples:
# 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."| Argument | Description |
|---|---|
NAME | The member to run. |
HARNESS_ARGS | Pass these arguments to the harness after Pandra's arguments. |
| Option | Description |
|---|---|
--prompt TEXT | The message to send, instead of the package's prompt; "-" reads it from standard input, and "" sends only the --prompt-append parts. |
--prompt-append TEXT | Add TEXT after the prompt, separated by a blank line; repeatable, in order. |
--workspace DIR|new | Work in DIR instead of the current directory, or use "new" for a new, empty workspace. Write "./new" for an existing directory named "new". |
--worktree | Create a Git worktree at the current HEAD. |
--name NAME | Give the session a unique name. |
--model MODEL | Request this model for this invocation. |
--effort EFFORT | Request low, medium, high, xhigh, or max reasoning effort. |
--provider PROVIDER | Use this model provider. |
--target NAME | Run with this configured target instead of the one the configuration selects. |
--harness NAME | Run on this harness: claude-code, codex, or pi. |
--backend host|vm | Run on the host as you, or in a microVM of the run's own. |
--cpus N | Give the VM N CPUs. |
--memory SIZE | Give the VM SIZE of memory, such as 8GiB or 512MiB. |
--network-preset PRESET | Start 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_PORT | Publish 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. |
--detach | Run in the background: print the session's ID once the run has its session, and exit. |
--dry-run | Show how the run would start, and start nothing. |
--output-schema FILE | Require an answer matching this JSON Schema file. |
--harness-version VERSION | Run this managed version of the harness, an exact version such as 2.1.317. |
--instruction-sources SOURCE | The 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 SOURCE | The 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-update | Bring pandra.lock up to date first, for a local project. |
--rm | Remove the session when the run ends. |
--permission-mode MODE | Run in this permission mode: auto, bypass (skip the harness's permission checks), or read-only. |
--events EVENTS | Add activity events to the JSON stream; requires --json. One of activity. |
--headless | Send the message, print the answer, and exit, also on a terminal. |
--tui | Open the harness's own interface, also off a terminal. |
--acp | Serve the agent to an editor over ACP on standard input and output. |
--profile NAME | Apply 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.
pandra guild ps [OPTIONS]Examples:
# List the guild's active sessions
pandra guild ps
# List every session of the guild
pandra guild ps -a| Option | Description |
|---|---|
-a, --all | List every session, not only those runs are working on. |
pandra quest
Carry out the repository's quests and follow them.
pandra quest [OPTIONS] <COMMAND>pandra quest run
Carry out a quest: its steps in order, each checked by its checks, in one workspace.
pandra quest run [OPTIONS] <NAME>Examples:
# 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 "..."| Argument | Description |
|---|---|
NAME | The quest to carry out. |
| Option | Description |
|---|---|
--prompt TEXT | The quest's request; "-" reads it from standard input. |
--workspace DIR|new | Work in DIR instead of the current directory, or use "new" for a new, empty workspace. Write "./new" for an existing directory named "new". |
--worktree | Create a Git worktree at the current HEAD. |
--rm | Remove the sessions the quest created, and a workspace it generated, when it ends. |
--events EVENTS | Add activity events to the JSON stream; requires --json. One of activity. |
--detach | Run the quest in the background: print its ID once it has one, and exit. |
--profile NAME | Apply 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.
pandra quest resume [OPTIONS] <QUEST>Examples:
# Resume an interrupted quest
pandra quest resume 7d3e01a2b3c4
# Resume it in the background
pandra quest resume --detach 7d3e01a2b3c4| Argument | Description |
|---|---|
QUEST | A quest ID, or a unique prefix of at least four characters. |
| Option | Description |
|---|---|
--prompt TEXT | The 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 EVENTS | Add activity events to the JSON stream; requires --json. One of activity. |
--detach | Carry 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.
pandra quest list [OPTIONS]Examples:
# 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| Option | Description |
|---|---|
-a, --all | Also list the quests that ended, whose record remains. |
--all-guilds | List 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.
pandra quest inspect [OPTIONS] <QUEST>Examples:
# 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| Argument | Description |
|---|---|
QUEST | A quest ID, or a unique prefix of at least four characters. |
| Option | Description |
|---|---|
--history | Add 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.
pandra quest wait [OPTIONS] <QUEST>Examples:
# Wait up to 100 minutes for a quest, then print its output
pandra quest wait --timeout 100m 7f3a9c2e1b04| Argument | Description |
|---|---|
QUEST | A quest ID, or a unique prefix of at least four characters. |
| Option | Description |
|---|---|
--timeout DURATION | End the wait after DURATION, such as 90s, 10m, or 2h, and exit 124; the quest goes on. |
--history | Add 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.
pandra quest stop [OPTIONS] <QUEST>...Examples:
# Stop a quest
pandra quest stop 7f3a9c2e1b04| Argument | Description |
|---|---|
QUEST | Each 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.
pandra quest remove [OPTIONS] <QUEST>...Examples:
# 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| Argument | Description |
|---|---|
QUEST | Each a quest ID, or a unique prefix of at least four characters. |
| Option | Description |
|---|---|
-f, --force | Stop 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.
pandra quest logs [OPTIONS] <QUEST>Examples:
# 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| Argument | Description |
|---|---|
QUEST | A quest ID, or a unique prefix of at least four characters. |
| Option | Description |
|---|---|
-f, --follow | Print each line as the quest prints it, until the quest ends. |
--full | Print every line the quest's commands wrote, instead of a failed check's last lines. |
pandra config
Show and change the configuration file.
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.
pandra config show [OPTIONS]Examples:
# Show the configuration file
pandra config show
# Show whether an agent's configuration is complete
pandra config show --agent github.com/acme/reviewer| Option | Description |
|---|---|
--agent AGENT | Show 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.
pandra config setup [OPTIONS] <AGENT>Examples:
# 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| Argument | Description |
|---|---|
AGENT | The 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. |
| Option | Description |
|---|---|
--template | Print a template to fill in. |
--file FILE | Apply 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.
pandra config set [OPTIONS] <KEY> [VALUE]Examples:
# 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"]'| Argument | Description |
|---|---|
KEY | The dotted key, from the root of the file or of the scope. |
VALUE | The value. |
| Option | Description |
|---|---|
--agent AGENT | The 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 NAME | The key is in the table of target NAME. |
--secret NAME | Write { 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 --.
pandra config add [OPTIONS] <KEY> <VALUES>...Examples:
# 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| Argument | Description |
|---|---|
KEY | The dotted key, from the root of the file or of the scope. |
VALUES | The values, in order. |
| Option | Description |
|---|---|
--agent AGENT | The 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 NAME | The 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 [].
pandra config remove [OPTIONS] <KEY> <VALUES>...Examples:
# Stop publishing an agent's port
pandra config remove --agent github.com/acme/reviewer vm.ports 3000| Argument | Description |
|---|---|
KEY | The dotted key, from the root of the file or of the scope. |
VALUES | The values to remove. |
| Option | Description |
|---|---|
--agent AGENT | The 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 NAME | The key is in the table of target NAME. |
pandra config unset
Remove a key.
Also removes the tables it leaves empty.
pandra config unset [OPTIONS] <KEY>Examples:
# 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| Argument | Description |
|---|---|
KEY | The dotted key, from the root of the file or of the scope. |
| Option | Description |
|---|---|
--agent AGENT | The 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 NAME | The 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.
pandra config edit [OPTIONS]Examples:
# Edit the configuration file in your editor
pandra config editpandra 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.
pandra config path [OPTIONS]Examples:
# Print the file to edit with another tool
pandra config pathpandra config validate
Check the configuration file.
Reports each problem with its line, without printing the file's values.
pandra config validate [OPTIONS]Examples:
# Check the file after editing it
pandra config validate
# Check another file
pandra --config-file ./team.toml config validatepandra config target
Manage targets.
pandra config target [OPTIONS] <COMMAND>pandra config target set
Create or change a target.
pandra config target set [OPTIONS] <NAME>Examples:
# 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| Argument | Description |
|---|---|
NAME | The target. |
| Option | Description |
|---|---|
--harness HARNESS | The harness; required to create a target, and asked for on a terminal. |
--provider PROVIDER | The model provider. |
--model MODEL | The model. |
--effort EFFORT | The reasoning effort. |
--arg ARG | An argument for the harness, repeated in order; the list replaces the target's. |
--harness-feature FEATURE | A harness feature, repeated; the list replaces the target's. |
--login METHOD | How the credential logs in: api-key, subscription, or gateway. |
--base-url URL | The gateway's base URL, written beside its credential. |
--secret SECRET | The 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.
pandra config target use [OPTIONS] <NAME>Examples:
# 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| Argument | Description |
|---|---|
NAME | The target. |
| Option | Description |
|---|---|
--agent AGENT | The 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.
pandra config target list [OPTIONS]Examples:
# List the targets
pandra config target list
# List them as JSON
pandra config target list --jsonpandra config target remove
Remove a target.
pandra config target remove [OPTIONS] <NAME>Examples:
# Remove a target
pandra config target remove claude| Argument | Description |
|---|---|
NAME | The target. |
pandra config secret
Manage logical secrets.
pandra config secret [OPTIONS] <COMMAND>pandra config secret set
Register a logical secret.
Also writes its value when the store is the keychain.
pandra config secret set [OPTIONS] <--keychain|--aws-secrets-manager <REF>|--1password <REF>|--bitwarden <ITEM>|--env <VAR>|--file <PATH>|--command <CMD>> <NAME>Examples:
# 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| Argument | Description |
|---|---|
NAME | The logical secret. |
| Option | Description |
|---|---|
--keychain | The OS keychain; the value comes from standard input or a hidden prompt. |
--aws-secrets-manager REF | An AWS Secrets Manager secret: its ARN, or a name with --region. |
--json-key KEY | The key of the AWS secret's JSON object. |
--region REGION | The region of an AWS secret given by name. |
--profile PROFILE | The AWS profile. |
--1password REF | A 1Password op:// reference. |
--account ACCOUNT | The 1Password account. |
--bitwarden ITEM | A Bitwarden item, or ITEM/FIELD. |
--env VAR | An environment variable. |
--file PATH | A file, read whole. |
--command CMD | A shell command whose standard output is the value. |
--replace | Write the keychain even when it holds a value. |
pandra config secret list
List the logical secrets.
pandra config secret list [OPTIONS]Examples:
# List the secrets
pandra config secret list
# List them as JSON
pandra config secret list --jsonpandra config secret remove
Remove a logical secret.
Removes it from the file; its stored value is kept.
pandra config secret remove [OPTIONS] <NAME>Examples:
# Remove a secret
pandra config secret remove slack-token| Argument | Description |
|---|---|
NAME | The 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.
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.
pandra config mcp set [OPTIONS] --agent <AGENT> --server <SERVER> <NAME> [-- <ARGS>...]Examples:
# 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| Argument | Description |
|---|---|
NAME | The MCP configuration. |
ARGS | The arguments of the replacement package or command. |
| Option | Description |
|---|---|
--agent AGENT | The agent: a local name such as reviewer, a project directory such as ., or a remote identity such as ghcr.io/acme/reviewer. |
--server SERVER | The agent's server. |
--secret INPUT=SECRET | An input's value from a logical secret, repeated. |
--format INPUT=TEMPLATE | The whole-header template a --secret input is sent with, such as Bearer {}. |
--value INPUT=TEXT | An input's literal value, repeated. |
--method ID | Another of the server's methods: a full id or a short form such as npm. |
--package PACKAGE | Replace the server with a package: npm:NAME[@VERSION], pypi:..., or oci:IMAGE:TAG. |
--url URL | Replace the server with a remote endpoint. |
--header NAME=VALUE | A header of the replacement's URL, repeated. |
--transport TRANSPORT | The replacement URL's transport. One of sse, streamable-http. |
--command PROGRAM | Replace the server with a program, started directly. |
--server-env NAME=VALUE | An 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.
pandra config mcp use [OPTIONS] --agent <AGENT> --server <SERVER> <NAME>Examples:
# Reuse a configuration for another agent's server
pandra config mcp use slack-work --agent ghcr.io/acme/reporter --server slack| Argument | Description |
|---|---|
NAME | The MCP configuration. |
| Option | Description |
|---|---|
--agent AGENT | The agent: a local name such as reviewer, a project directory such as ., or a remote identity such as ghcr.io/acme/reviewer. |
--server SERVER | The agent's server. |
pandra config mcp list
List the MCP configurations.
pandra config mcp list [OPTIONS]Examples:
# List the MCP configurations
pandra config mcp list
# List them as JSON
pandra config mcp list --jsonpandra config mcp remove
Remove an MCP configuration.
Only one that no agent uses can be removed.
pandra config mcp remove [OPTIONS] <NAME>Examples:
# Remove an MCP configuration
pandra config mcp remove slack-work| Argument | Description |
|---|---|
NAME | The MCP configuration. |
pandra harness
Manage harness installations.
pandra harness [OPTIONS] <COMMAND>pandra harness install
Install harnesses.
Installs exact versions, the newest stable release, or the versions the configuration pins.
pandra harness install [OPTIONS] [NAME[@VERSION]]...Examples:
# 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| Argument | Description |
|---|---|
NAME[@VERSION] | claude-code, codex, or pi, each with an optional @VERSION. |
| Option | Description |
|---|---|
--platform PLATFORM | Install 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.
pandra harness use [OPTIONS] <NAME[@VERSION]>Examples:
# 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| Argument | Description |
|---|---|
NAME[@VERSION] | claude-code, codex, or pi, with @VERSION to use that version. |
| Option | Description |
|---|---|
--path PATH | Use 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.
pandra harness unuse [OPTIONS] <NAME>Examples:
# Stop pinning the harness
pandra harness unuse claude-code| Argument | Description |
|---|---|
NAME | claude-code, codex, or pi. |
pandra harness list
List harness installations.
Lists the managed harnesses and the harnesses on PATH.
pandra harness list [OPTIONS]Examples:
# List the installed harnesses
pandra harness list
# List them as JSON
pandra harness list --jsonpandra harness remove
Remove a managed harness version.
pandra harness remove [OPTIONS] <NAME@VERSION>Examples:
# Remove a managed harness
pandra harness remove claude-code@2.1.285| Argument | Description |
|---|---|
NAME@VERSION | claude-code, codex, or pi, with the @VERSION to remove. |
| Option | Description |
|---|---|
--platform PLATFORM | Remove the build for the VM backend's guest: linux-arm64. |
pandra policy
Show and allow what a session's VM may reach.
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.
pandra policy list [OPTIONS] <SESSION>Examples:
# 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| Argument | Description |
|---|---|
SESSION | The session: its ID, an ID prefix, or its name. |
pandra policy allow
Allow destinations for a session's VM.
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.
pandra policy allow host [OPTIONS] <SESSION> <HOST[:PORT]>...Examples:
# 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| Argument | Description |
|---|---|
SESSION | The 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) |
| Option | Description |
|---|---|
--save | Also 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.
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.
pandra policy remove host [OPTIONS] <SESSION> <HOST[:PORT]>...Examples:
# Take back a host approved for a session's VM
pandra policy remove host 4b1d registry.npmjs.org| Argument | Description |
|---|---|
SESSION | The 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.
pandra policy network-preset [OPTIONS] <SESSION> <PRESET>Examples:
# 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| Argument | Description |
|---|---|
SESSION | The session: its ID, an ID prefix, or its name. |
PRESET | strict, minimal, balanced, or open. |
pandra pull
Fetch a remote agent into the store (short for agent pull)
pandra pull [OPTIONS] <AGENT>Examples:
# 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| Argument | Description |
|---|---|
AGENT | A 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.
pandra push [OPTIONS] <DESTINATION>Examples:
# 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| Argument | Description |
|---|---|
DESTINATION | The OCI registry and repository, with an optional tag. |
| Option | Description |
|---|---|
--from AGENT | Push 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-update | Bring the project's lockfile up to date first. |
pandra auth
Manage registry logins.
pandra auth [OPTIONS] <COMMAND>pandra auth login
Log in to a registry.
Checks the login and stores it in Pandra's own login file.
pandra auth login [OPTIONS] <HOST>Examples:
# 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| Argument | Description |
|---|---|
HOST | The registry host, such as ghcr.io, localhost:5000, or oci://codeberg.org. |
| Option | Description |
|---|---|
-u, --username USERNAME | The user name; asked for on a terminal without it. |
--password-stdin | Read 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.
pandra auth logout [OPTIONS] <HOST>Examples:
# Remove the login for a registry
pandra auth logout ghcr.io| Argument | Description |
|---|---|
HOST | The registry host. |
pandra auth status
Show registry logins.
Lists the registries with a login and where each comes from.
pandra auth status [OPTIONS]Examples:
# List the registries with a login
pandra auth status
# List them as JSON
pandra auth status --jsonpandra system
Manage Pandra's own data and caches.
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.
pandra system prune [OPTIONS]Examples:
# Remove what nothing uses
pandra system prune
# Remove idle sessions too
pandra system prune --sessions| Option | Description |
|---|---|
--sessions | Also 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.
pandra schema [OPTIONS] [NAME]Examples:
# 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| Argument | Description |
|---|---|
NAME | The schema to print, such as config; without it, the names are listed. |
| Option | Description |
|---|---|
--dir DIR | Write 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.
pandra skill [OPTIONS]Examples:
# Print Pandra's SKILL.md
pandra skill
# Install the skill for Claude Code
pandra skill --dir ~/.claude/skills| Option | Description |
|---|---|
--dir DIR | Write the skill's files to DIR/pandra/, such as ~/.claude/skills or ~/.agents/skills. |
pandra version
Print the version, commit, and target triple.
pandra version [OPTIONS]Examples:
# Print the version
pandra version
# Print it as JSON
pandra version --jsonpandra completion
Print a shell completion script.
pandra completion [OPTIONS] <SHELL>Examples:
# Print the bash script
pandra completion bash
# Print the zsh script
pandra completion zsh| Argument | Description |
|---|---|
SHELL | The shell: bash, zsh, fish, or powershell. One of bash, zsh, fish, powershell. |