config.toml
Your configuration: targets, harness settings, secrets, MCP configurations, and per-agent settings. Configuration shows where it lives and how to change it.
The user's configuration file.
Top-level keys
| Key | Type | Description |
|---|---|---|
agents | table of table | Settings of each agent, by its identity. |
allowed-servers | table of table of table of any | Written by Pandra: what each agent's servers were allowed to receive, and where it goes. |
defaults | table | Values for every run that nothing narrower sets. |
fnox | table | The fnox program Pandra runs for 1Password, Bitwarden, and AWS Secrets Manager. |
harnesses | table | Settings of each harness, and whether missing versions are downloaded. |
mcp | table of table | MCP configurations, by name. |
nested | table | Limits of runs started by agents. |
policy | table | The network rules of every agent's runs on the VM backend. |
runners | table of string | The program that starts MCP servers of each kind, by its name. |
secrets | table of table | Logical secrets, by name: where each value comes from. |
targets | table of table | Named choices of a harness with its provider, model, effort, arguments, and credential. |
vm | table | The VM of every run on the VM backend. |
[agents.<name>]
Settings of each agent, by its identity.
| Key | Type | Description |
|---|---|---|
backend | "host" or "vm" | Where the agent's runs run, instead of the backend in [defaults]. |
env | table of table | Variables for the agent's runs. |
instruction-sources | array of "pandra" or "home" or "repo" or "skill-guide" | The sources of instructions added to the agent's runs, instead of those in [defaults]. |
instructions-mode | "append" or "replace" | Whether the agent's instructions replace the harness's built-in instructions. |
mcp | table of string | The MCP configuration each of the agent's servers uses. |
permission-mode | "auto" or "bypass" or "read-only" | How much the harness may do without asking. |
policy | table | The agent's network rules: network-preset over the one in [policy], allow-hosts after. |
preload-skills | array of string | The skills whose whole SKILL.md goes into the agent's instructions, instead of those in [defaults]. |
skill-sources | array of "pandra" or "home" | The sources of skills added to the agent's runs, instead of those in [defaults]. |
target | string | The target the agent runs with. |
vm | table | The VM of the agent's runs on the VM backend, each key over the one in [vm]. |
[agents.<name>.env.<name>]
Variables for the agent's runs.
| Key | Type | Description |
|---|---|---|
secret | string | The name of a secret under [secrets]. Required. |
[agents.<name>.policy]
The agent's network rules: network-preset over the one in [policy], allow-hosts after.
| Key | Type | Description |
|---|---|---|
allow-hosts | array of string | Destinations added to the preset, each HOST[:PORT], *.DOMAIN[:PORT], or localhost:PORT. |
network-preset | "strict" or "minimal" or "balanced" or "open" | The preset the rules start from. |
[agents.<name>.vm]
The VM of the agent's runs on the VM backend, each key over the one in [vm].
| Key | Type | Description |
|---|---|---|
cpus | integer | The VM's CPUs. |
image | string | The OCI reference of the image the VM's disk is made from, with a tag or a digest. |
memory | string | The VM's memory, in MiB or GiB, such as "8GiB". |
ports | array of string | Guest ports published on the host's 127.0.0.1, after those of [vm]. |
tokens | table of table | Tokens for named hosts, by name, beside those of [vm]; a name in both is this one. |
[agents.<name>.vm.tokens.<name>]
Tokens for named hosts, by name, beside those of [vm]; a name in both is this one.
| Key | Type | Description |
|---|---|---|
env | string | A variable of the guest that holds the placeholder. |
hosts | array of string | The host names it goes to, on port 443, each without a port. Required. |
secret | string | The logical secret that holds the token. Required. |
[defaults]
Values for every run that nothing narrower sets.
| Key | Type | Description |
|---|---|---|
backend | "host" or "vm" | Where runs run: on the host as the user by default, or in a microVM. |
env | table of string | Variables for every run on every harness, literal values only. |
instruction-sources | array of "pandra" or "home" or "repo" or "skill-guide" | The sources of instructions added to every agent's runs; none by default. |
permission-mode | "auto" or "bypass" or "read-only" | How much the harness may do without asking. |
preload-skills | array of string | The skills whose whole SKILL.md goes into every agent's instructions, each a skill's name or namespace:name; none by default. |
skill-sources | array of "pandra" or "home" | The sources of skills added to every agent's runs; none by default. |
target | string | The target of runs that name none. |
[fnox]
The fnox program Pandra runs for 1Password, Bitwarden, and AWS Secrets Manager.
| Key | Type | Description |
|---|---|---|
path | string | The program to run instead of the pinned download. |
[harnesses]
Settings of each harness, and whether missing versions are downloaded.
| Key | Type | Description |
|---|---|---|
claude-code | table | Claude Code. |
codex | table | Codex. |
downloads | "automatic" or "manual" | Whether a missing harness version is downloaded when a run needs it. |
pi | table | Pi. |
[harnesses.claude-code]
Claude Code.
| Key | Type | Description |
|---|---|---|
env | table of string | Variables for every run of the harness, literal values only. |
path | string | The program to run instead of an installed version. |
permission-mode | "auto" or "bypass" or "read-only" | The permission mode of the harness's runs, under an agent's and over the defaults'. |
secret-proxy | boolean | Whether credentials reach the harness as placeholders the secret proxy replaces. |
settings | table of any | Settings merged into the harness's own settings file. |
version | string | The pinned version Pandra installs and runs. |
[harnesses.codex]
Codex.
| Key | Type | Description |
|---|---|---|
env | table of string | Variables for every run of the harness, literal values only. |
path | string | The program to run instead of an installed version. |
permission-mode | "auto" or "bypass" or "read-only" | The permission mode of the harness's runs, under an agent's and over the defaults'. |
secret-proxy | boolean | Whether credentials reach the harness as placeholders the secret proxy replaces. |
settings | table of any | Settings merged into the harness's own settings file. |
version | string | The pinned version Pandra installs and runs. |
[harnesses.pi]
Pi.
| Key | Type | Description |
|---|---|---|
env | table of string | Variables for every run of the harness, literal values only. |
path | string | The program to run instead of an installed version. |
permission-mode | "auto" or "bypass" or "read-only" | The permission mode of the harness's runs, under an agent's and over the defaults'. |
secret-proxy | boolean | Whether credentials reach the harness as placeholders the secret proxy replaces. |
settings | table of any | Settings merged into the harness's own settings file. |
version | string | The pinned version Pandra installs and runs. |
[mcp.<name>]
MCP configurations, by name.
| Key | Type | Description |
|---|---|---|
args | array of string | Arguments of a package or command replacement, with {input} placeholders. |
command | string | The program of a command replacement: a name on PATH or a path. |
env | table of string | Variables of a package or command replacement, with {input} placeholders. |
headers | table of string | Headers of a remote replacement, with {input} placeholders. |
inputs | table of table | The value of each input: the text itself, or a logical secret. |
method | string | Another execution method of the server, by identifier or short form. |
name | string | The package name of a replacement. |
package | "npm" or "pypi" or "oci" | The package type of a replacement. |
transport | "streamable-http" or "sse" | The transport of a remote replacement. |
url | string | The URL of a remote replacement. |
version | string | The exact version of a package replacement. |
[mcp.<name>.inputs.<name>]
The value of each input: the text itself, or a logical secret.
| Key | Type | Description |
|---|---|---|
format | string | The header value with {} where the secret goes, such as Bearer {}. |
secret | string | The name of a secret under [secrets]. Required. |
[nested]
Limits of runs started by agents.
| Key | Type | Description |
|---|---|---|
max-depth | integer | How deep agents may start agents. |
[policy]
The network rules of every agent's runs on the VM backend.
| Key | Type | Description |
|---|---|---|
allow-hosts | array of string | Destinations added to the preset, each HOST[:PORT], *.DOMAIN[:PORT], or localhost:PORT. |
network-preset | "strict" or "minimal" or "balanced" or "open" | The preset the rules start from. |
[secrets.<name>]
Logical secrets, by name: where each value comes from.
| Key | Type | Description |
|---|---|---|
1password | table | An op:// secret reference, or a table with it and the account. |
aws-secrets-manager | table | The secret's ARN, or a table with its name and region. |
bitwarden | string | ITEM, or ITEM/FIELD. |
command | string | The command line /bin/sh -c runs. |
env | string | The variable's name. |
file | string | The path, relative to this file's directory or starting with ~/. |
json-key | string | The key of the secret's JSON object whose value is the value. |
keychain | table | The item's service and account. |
profile | string | The AWS profile, when not the default. |
One of 1password, aws-secrets-manager, bitwarden, command, env, file, or keychain is required.
[secrets.<name>.1password]
An op:// secret reference, or a table with it and the account.
| Key | Type | Description |
|---|---|---|
account | string | The 1Password account, when not the default. |
reference | string | The op:// secret reference. Required. |
[secrets.<name>.aws-secrets-manager]
The secret's ARN, or a table with its name and region.
| Key | Type | Description |
|---|---|---|
name | string | The secret's name. Required. |
region | string | The region it is in. Required. |
[secrets.<name>.keychain]
The item's service and account.
| Key | Type | Description |
|---|---|---|
account | string | The account. Required. |
service | string | The service. Required. |
[targets.<name>]
Named choices of a harness with its provider, model, effort, arguments, and credential.
| Key | Type | Description |
|---|---|---|
args | array of string | Arguments added to the harness's command line. |
effort | "low" or "medium" or "high" or "xhigh" or "max" | The reasoning effort. |
env | table of table | Variables for runs with this target; a secret in one of the harness's credential variables is the target's credential. |
harness | "claude-code" or "codex" or "pi" | The harness the target runs. Required. |
harness-features | array of string | What the harness may reach outside the run, by Pandra's names. |
model | string | The model. |
provider | string | The model provider, one the harness offers. |
[targets.<name>.env.<name>]
Variables for runs with this target; a secret in one of the harness's credential variables is the target's credential.
| Key | Type | Description |
|---|---|---|
secret | string | The name of a secret under [secrets]. Required. |
[vm]
The VM of every run on the VM backend.
| Key | Type | Description |
|---|---|---|
cpus | integer | The VM's CPUs. |
guest | string | A local Linux build of Pandra to run in the guest instead of the pinned download. |
image | string | The OCI reference of the image the VM's disk is made from, with a tag or a digest. |
kernel | string | A local kernel image to boot instead of the pinned download. |
memory | string | The VM's memory, in MiB or GiB, such as "8GiB". |
ports | array of string | Guest ports published on the host's 127.0.0.1, each [HOST_PORT:]GUEST_PORT. |
tokens | table of table | Tokens for named hosts, by name, which the run's proxy injects on the host. |
[vm.tokens.<name>]
Tokens for named hosts, by name, which the run's proxy injects on the host.
| Key | Type | Description |
|---|---|---|
env | string | A variable of the guest that holds the placeholder. |
hosts | array of string | The host names it goes to, on port 443, each without a port. Required. |
secret | string | The logical secret that holds the token. Required. |