Skip to content

config.toml ​

Last updated Nov 30, 2026 View as Markdown

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 ​

KeyTypeDescription
agentstable of tableSettings of each agent, by its identity.
allowed-serverstable of table of table of anyWritten by Pandra: what each agent's servers were allowed to receive, and where it goes.
defaultstableValues for every run that nothing narrower sets.
fnoxtableThe fnox program Pandra runs for 1Password, Bitwarden, and AWS Secrets Manager.
harnessestableSettings of each harness, and whether missing versions are downloaded.
mcptable of tableMCP configurations, by name.
nestedtableLimits of runs started by agents.
policytableThe network rules of every agent's runs on the VM backend.
runnerstable of stringThe program that starts MCP servers of each kind, by its name.
secretstable of tableLogical secrets, by name: where each value comes from.
targetstable of tableNamed choices of a harness with its provider, model, effort, arguments, and credential.
vmtableThe VM of every run on the VM backend.

[agents.<name>] ​

Settings of each agent, by its identity.

KeyTypeDescription
backend"host" or "vm"Where the agent's runs run, instead of the backend in [defaults].
envtable of tableVariables for the agent's runs.
instruction-sourcesarray 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.
mcptable of stringThe 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.
policytableThe agent's network rules: network-preset over the one in [policy], allow-hosts after.
preload-skillsarray of stringThe skills whose whole SKILL.md goes into the agent's instructions, instead of those in [defaults].
skill-sourcesarray of "pandra" or "home"The sources of skills added to the agent's runs, instead of those in [defaults].
targetstringThe target the agent runs with.
vmtableThe 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.

KeyTypeDescription
secretstringThe 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.

KeyTypeDescription
allow-hostsarray of stringDestinations 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].

KeyTypeDescription
cpusintegerThe VM's CPUs.
imagestringThe OCI reference of the image the VM's disk is made from, with a tag or a digest.
memorystringThe VM's memory, in MiB or GiB, such as "8GiB".
portsarray of stringGuest ports published on the host's 127.0.0.1, after those of [vm].
tokenstable of tableTokens 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.

KeyTypeDescription
envstringA variable of the guest that holds the placeholder.
hostsarray of stringThe host names it goes to, on port 443, each without a port. Required.
secretstringThe logical secret that holds the token. Required.

[defaults] ​

Values for every run that nothing narrower sets.

KeyTypeDescription
backend"host" or "vm"Where runs run: on the host as the user by default, or in a microVM.
envtable of stringVariables for every run on every harness, literal values only.
instruction-sourcesarray 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-skillsarray of stringThe skills whose whole SKILL.md goes into every agent's instructions, each a skill's name or namespace:name; none by default.
skill-sourcesarray of "pandra" or "home"The sources of skills added to every agent's runs; none by default.
targetstringThe target of runs that name none.

[fnox] ​

The fnox program Pandra runs for 1Password, Bitwarden, and AWS Secrets Manager.

KeyTypeDescription
pathstringThe program to run instead of the pinned download.

[harnesses] ​

Settings of each harness, and whether missing versions are downloaded.

KeyTypeDescription
claude-codetableClaude Code.
codextableCodex.
downloads"automatic" or "manual"Whether a missing harness version is downloaded when a run needs it.
pitablePi.

[harnesses.claude-code] ​

Claude Code.

KeyTypeDescription
envtable of stringVariables for every run of the harness, literal values only.
pathstringThe 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-proxybooleanWhether credentials reach the harness as placeholders the secret proxy replaces.
settingstable of anySettings merged into the harness's own settings file.
versionstringThe pinned version Pandra installs and runs.

[harnesses.codex] ​

Codex.

KeyTypeDescription
envtable of stringVariables for every run of the harness, literal values only.
pathstringThe 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-proxybooleanWhether credentials reach the harness as placeholders the secret proxy replaces.
settingstable of anySettings merged into the harness's own settings file.
versionstringThe pinned version Pandra installs and runs.

[harnesses.pi] ​

Pi.

KeyTypeDescription
envtable of stringVariables for every run of the harness, literal values only.
pathstringThe 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-proxybooleanWhether credentials reach the harness as placeholders the secret proxy replaces.
settingstable of anySettings merged into the harness's own settings file.
versionstringThe pinned version Pandra installs and runs.

[mcp.<name>] ​

MCP configurations, by name.

KeyTypeDescription
argsarray of stringArguments of a package or command replacement, with {input} placeholders.
commandstringThe program of a command replacement: a name on PATH or a path.
envtable of stringVariables of a package or command replacement, with {input} placeholders.
headerstable of stringHeaders of a remote replacement, with {input} placeholders.
inputstable of tableThe value of each input: the text itself, or a logical secret.
methodstringAnother execution method of the server, by identifier or short form.
namestringThe 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.
urlstringThe URL of a remote replacement.
versionstringThe exact version of a package replacement.

[mcp.<name>.inputs.<name>] ​

The value of each input: the text itself, or a logical secret.

KeyTypeDescription
formatstringThe header value with {} where the secret goes, such as Bearer {}.
secretstringThe name of a secret under [secrets]. Required.

[nested] ​

Limits of runs started by agents.

KeyTypeDescription
max-depthintegerHow deep agents may start agents.

[policy] ​

The network rules of every agent's runs on the VM backend.

KeyTypeDescription
allow-hostsarray of stringDestinations 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.

KeyTypeDescription
1passwordtableAn op:// secret reference, or a table with it and the account.
aws-secrets-managertableThe secret's ARN, or a table with its name and region.
bitwardenstringITEM, or ITEM/FIELD.
commandstringThe command line /bin/sh -c runs.
envstringThe variable's name.
filestringThe path, relative to this file's directory or starting with ~/.
json-keystringThe key of the secret's JSON object whose value is the value.
keychaintableThe item's service and account.
profilestringThe 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.

KeyTypeDescription
accountstringThe 1Password account, when not the default.
referencestringThe op:// secret reference. Required.

[secrets.<name>.aws-secrets-manager] ​

The secret's ARN, or a table with its name and region.

KeyTypeDescription
namestringThe secret's name. Required.
regionstringThe region it is in. Required.

[secrets.<name>.keychain] ​

The item's service and account.

KeyTypeDescription
accountstringThe account. Required.
servicestringThe service. Required.

[targets.<name>] ​

Named choices of a harness with its provider, model, effort, arguments, and credential.

KeyTypeDescription
argsarray of stringArguments added to the harness's command line.
effort"low" or "medium" or "high" or "xhigh" or "max"The reasoning effort.
envtable of tableVariables 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-featuresarray of stringWhat the harness may reach outside the run, by Pandra's names.
modelstringThe model.
providerstringThe 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.

KeyTypeDescription
secretstringThe name of a secret under [secrets]. Required.

[vm] ​

The VM of every run on the VM backend.

KeyTypeDescription
cpusintegerThe VM's CPUs.
gueststringA local Linux build of Pandra to run in the guest instead of the pinned download.
imagestringThe OCI reference of the image the VM's disk is made from, with a tag or a digest.
kernelstringA local kernel image to boot instead of the pinned download.
memorystringThe VM's memory, in MiB or GiB, such as "8GiB".
portsarray of stringGuest ports published on the host's 127.0.0.1, each [HOST_PORT:]GUEST_PORT.
tokenstable of tableTokens 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.

KeyTypeDescription
envstringA variable of the guest that holds the placeholder.
hostsarray of stringThe host names it goes to, on port 443, each without a port. Required.
secretstringThe logical secret that holds the token. Required.

Released under the Apache License 2.0