Set options in the console, as PARRIER_* environment variables, or in a config file.
Environment variables win over the file.
The default file is ~/.parrier/config.json. It holds the same variables under env:
"PARRIER_MODEL": "deepseek/deepseek-chat",
"PARRIER_API_KEY": "<your key>",
"PARRIER_MAX_BUDGET": "5",
"PARRIER_PRIVACY": "mask"
Point PARRIER_CONFIG at another file. A malformed file is always an error, so a typo
never silently runs a scan with defaults.
| Variable |
Meaning |
PARRIER_MODEL |
Model id, for example deepseek/deepseek-chat |
PARRIER_API_KEY |
Provider key. LLM_API_KEY and OPENAI_API_KEY also work. |
PARRIER_API_BASE |
Base URL of an OpenAI-compatible endpoint |
PARRIER_PROTOCOL |
Wire protocol, when the base URL does not imply it |
PARRIER_WORKER_MODEL |
A separate model for workers |
PARRIER_ROLE_MODELS |
Per-role models |
PARRIER_REASONING_EFFORT |
auto, none, low, medium, high or max |
PARRIER_LLM_TIMEOUT |
Timeout for one model call |
PARRIER_LLM_EXTRA_HEADERS |
Extra headers sent to the provider |
| Variable |
Meaning |
PARRIER_MAX_BUDGET |
Spend cap in USD. Needs model prices to be enforced. |
PARRIER_PRICE_INPUT_PER_MTOK |
Input price per million tokens, for models Parrier has no price for |
PARRIER_PRICE_CACHED_INPUT_PER_MTOK |
Cached input price per million tokens |
PARRIER_PRICE_OUTPUT_PER_MTOK |
Output price per million tokens |
PARRIER_MAX_TURNS |
Lead turn limit |
PARRIER_MAX_TOTAL_AGENTS |
Workers per run |
PARRIER_MAX_CONCURRENT_AGENTS |
Workers running at once |
PARRIER_MAX_CHILD_TURNS |
Turn limit for one worker |
| Variable |
Meaning |
PARRIER_OPSEC_POSTURE |
quiet, balanced or loud |
PARRIER_COVERAGE_PROFILE |
light, web-default, api-default or android |
PARRIER_OBJECTIVE |
A finding must match this regex before the run may finish |
PARRIER_STOP_WHEN_DONE |
End the run once the task is accomplished |
PARRIER_PRIVACY |
mask hides hosts, emails, IPs and keys from the provider |
PARRIER_APPROVAL_POLICY is JSON. mode sets the posture, and tools can raise or
lower one tool’s risk class, from L0 (read-only) to L3:
export PARRIER_APPROVAL_POLICY='{"mode":"supervised","tools":{"http_request":"L1"}}'
| Mode |
Behaviour |
supervised |
Risky calls wait for approval. Console default. |
auto |
Everything not forbidden runs. Headless default. |
manual |
Everything above L0 waits for approval. |
A malformed policy falls back to the defaults and says so in the run log.
| Variable |
Meaning |
PARRIER_TARGET_BANS |
Comma-separated hosts never to touch |
PARRIER_TARGET_ALLOW |
Exceptions to the ban list |
PARRIER_TARGET_BANS_FILE, PARRIER_TARGET_ALLOW_FILE |
The same, from files |
See Scope and safety.
| Variable |
Meaning |
PARRIER_HTTP_PROXY |
One upstream proxy for agent traffic |
PARRIER_PROXY_POOL |
Path of the proxy pool file |
PARRIER_CAIDO_URL, PARRIER_CAIDO_TOKEN |
Use your own Caido instance |
PARRIER_SEARCH_PROVIDER, PARRIER_SEARCH_API_KEY |
Web search for the agents |
PARRIER_CVE_LOOKUP |
Look up CVEs for detected versions |
| Variable |
Meaning |
PARRIER_SANDBOX_IMAGE |
Image the agents run commands in |
PARRIER_SANDBOX_CPUS, PARRIER_SANDBOX_MEMORY, PARRIER_SANDBOX_PIDS |
Resource limits for one sandbox |
PARRIER_SANDBOX_TIMEOUT |
Time limit for one command |
PARRIER_SANDBOX_NETWORK |
Docker network the sandboxes join |
PARRIER_HOST_RUNS_DIR, PARRIER_HOST_TARGETS_DIR |
Host folders for run output and targets |
| Variable |
Meaning |
PARRIER_ANDROID_DEVICE |
Device serial, when several are attached |
PARRIER_ADB_SERVER_SOCKET |
Host adb server. Default tcp:host.docker.internal:5037. |
PARRIER_DEVICE_ADDR |
Devices in adb tcpip mode, comma-separated |
PARRIER_CAIDO_SIDECAR_PORT |
Pin the per-run Caido sidecar’s port |