Skip to content

Settings Reference ​

Every key in a poo settings file is optional except version. Unknown keys are rejected at load time. See Settings Discovery for file lookup order, supported formats, and relative path resolution rules.

Top-Level Metadata & Interface ​

version ​

KeyTypeDefault / BehaviorDescription
versionintRequired (1)Settings format version. Must be 1.

ui ​

KeyTypeDefault / BehaviorDescription
uistringBinary's default front door (repl)Interface launched by a bare poo invocation. Must be linked into the binary.

Profiles ​

See Profiles & Prompts for profile inheritance and layering details.

profile & repl_profile ​

KeyTypeDefault / BehaviorDescription
profilestringBinary's default profileProfile name used when building a session (run, serve, etc.).
repl_profilestringFalls back to profile / binary defaultProfile used by the interactive REPL for new conversations when no flag overrides it. Reopened sessions keep the profile recorded in their log.

profiles_files ​

KeyTypeDefault / BehaviorDescription
profiles_filesstring[]EmptyExternal YAML or JSON files defining reusable profiles under a top-level profiles key. Loaded as layers below inline profiles (inline wins, then earlier files). Relative paths resolve against the settings file's directory; prompt_file and prompt_append_file inside a profiles file resolve against that profiles file's directory.

profiles ​

Map of <name> to profile definition object. Each entry defines a named variant of a linked profile or another defined profile.

KeyTypeDefault / BehaviorDescription
profiles.<name>.basestringRequiredName of the linked or defined profile this profile inherits from.
profiles.<name>.mcp_defaultsboolInherits mcp.defaultsOverrides whether poo's default mcp directory loads for sessions under this profile.
profiles.<name>.mcp_serversstring[]Inherits baseMCP server names to start. Appends to the base profile's list (deduplicated, preserving first appearance). Missing servers warn and are skipped.
profiles.<name>.feedsstring[]Inherits baseFeed manifest names this profile requires. Appends to the base profile's list (deduplicated). Unloaded feeds warn and are skipped.
profiles.<name>.feeds_defaultsboolInherits feeds.defaultsOverrides whether poo's default feeds directory loads for sessions under this profile.
profiles.<name>.cli_registry_defaultsboolInherits cli_registry.defaultsOverrides whether poo's default cli-registry directory loads for sessions under this profile.
profiles.<name>.prompt_filestringEmptyFile whose text replaces the profile's prompt section. Relative paths resolve against the declaring file's directory.
profiles.<name>.prompt_append_filestringEmptyFile whose text appends to the profile's prompt section. Mutually exclusive with prompt_append. Relative paths resolve against the declaring file's directory.
profiles.<name>.prompt_appendstringEmptyInline text appended to the profile's prompt section. Mutually exclusive with prompt_append_file.
profiles.<name>.model_familyboolfalseWhen true, includes model-family guidance keyed by the active model's prompt_variant.
profiles.<name>.tools.disabledstring[]EmptyTool names disabled for sessions running under this profile.
yaml
profile: reviewer
repl_profile: code
profiles_files:
  - ./team-profiles.yaml

profiles:
  reviewer:
    base: code
    prompt_append: "Focus on correctness and edge cases. Do not modify files."
    model_family: true
    tools:
      disabled: [edit, write, bash]

Endpoints, Models, Roles & Auth ​

See Models & Catalog, Models File Reference, and Providers & Auth.

endpoints ​

Map of <name> to endpoint configuration object. Credentials resolve from api_key_env first, falling back to literal api_key.

KeyTypeDefault / BehaviorDescription
endpoints.<name>.endpointstringRequiredBase URL for the endpoint (legacy alias: base_url).
endpoints.<name>.api_key_envstringEmptyEnvironment variable name holding the API key. Automatically scrubbed from child tool environments.
endpoints.<name>.api_keystringEmptyLiteral API key stored in settings (fallback when api_key_env is unset or empty).
endpoints.<name>.session_headerstringEmptyHTTP header name that carries the session ID for gateway routing.
endpoints.<name>.skip_probeboolfalseSkip probing the endpoint for its served model list.
endpoints.<name>.instructions_per_questionboolfalseFold decision framing into each question instead of sending a request-level instructions field.

models ​

Map of <name> to model configuration object. Omitted fields inherit from the curated catalog, models_file, or endpoint discovery.

KeyTypeDefault / BehaviorDescription
models.<name>.endpointstringRequiredName of the endpoint serving this model.
models.<name>.model_idstringRequiredModel identifier sent to the endpoint.
models.<name>.apistringChat completionsWire API dialect used to talk to the model (e.g., responses). See Wire API Mapping.
models.<name>.tools_modestringModel defaultHow tool calls are requested: native, text, auto, or none.
models.<name>.opsstring[]Model defaultOperations the model serves (e.g., compact for native compaction).
models.<name>.inputsstring[]Model defaultInput modalities the model accepts (e.g., text, image).
models.<name>.context_limitintModel defaultTotal context window size in tokens (prompt plus output).
models.<name>.input_limitintModel defaultMaximum prompt tokens accepted when smaller than context_limit.
models.<name>.max_outputintModel defaultMaximum tokens the model writes in one response.
models.<name>.reasoningobjectModel defaultHow reasoning is controlled on the wire. Contains mode (none, toggle, effort, budget) and param (wire parameter path, e.g., reasoning_effort or chat_template_kwargs.enable_thinking).
models.<name>.reasoning_levelsstring[]Model defaultAccepted reasoning levels from lowest to highest (e.g., [off, minimal, low, medium, high, xhigh]). Sent verbatim as spelled.
models.<name>.quirksstring[]EmptyNamed transport adaptations applied in order (e.g., audio_url). Unknown names warn and are skipped.
models.<name>.prompt_variantstringEmptyVariant key used to select model-family prompt sections.

models_file ​

KeyTypeDefault / BehaviorDescription
models_filestringAuto-discovers sibling models.yaml or models.jsonPath to a models file loaded as a catalog layer below inline endpoints and models (legacy alias: pi_models_file). Relative paths resolve against the settings file's directory.

roles ​

Map of role name to model name (either a key in models or <endpoint>/<id> from models_file / built-in providers).

KeyTypeDefault / BehaviorDescription
roles.chatstringNonePrimary chat model for the session.
roles.deciderstringNoneDecision model used by the decide permission asker and CLI registry filtering. See Decision Model.
roles.compactionstringFalls back to roles.chatModel used for compaction requests (summary, mine, pointer, handoff).

auth_file, pi_auth_file & auth_readonly ​

KeyTypeDefault / BehaviorDescription
auth_filestringSibling auth.yaml/auth.json beside models_file, else platform config dirPath to poo's credential file (or a shared read-only file such as ~/.codex/auth.json). Mutually exclusive with pi_auth_file. Relative paths resolve against the settings file's directory.
pi_auth_filestringNonePath to pi's auth.json, read and written in pi's format. Must exist. Mutually exclusive with auth_file. Relative paths resolve against the settings file's directory.
auth_readonlyboolfalseWhen true, poo never refreshes, signs in, imports, or writes the credential file. Use when another tool owns token refresh.
yaml
version: 1
models_file: ./models.yaml
auth_file: ~/.codex/auth.json
auth_readonly: true

endpoints:
  local:
    endpoint: http://localhost:4000/v1
    api_key_env: LOCAL_API_KEY

models:
  qwen3:
    endpoint: local
    model_id: qwen3-coder
    context_limit: 131072
    max_output: 8192
    tools_mode: auto

roles:
  chat: qwen3
  decider: local/gemma-decider

Reasoning & Sampling ​

See Reasoning & Sampling.

reasoning ​

KeyTypeDefault / BehaviorDescription
reasoning.chatstringdefaultReasoning level for the chat model: default, off, minimal, low, medium, high, xhigh, or a positive integer token budget (e.g., "8192"). default omits the reasoning field; off asks the model not to think.

sampling ​

Map of <model> name to per-model sampling overrides. Omitted fields are not sent so the endpoint's default applies.

KeyTypeDefault / BehaviorDescription
sampling.<model>.temperaturefloatUnsetSampling temperature.
sampling.<model>.top_pfloatUnsetNucleus sampling threshold.
sampling.<model>.top_kfloatUnsetNumber of candidate tokens considered by the sampler.
sampling.<model>.min_pfloatUnsetMinimum token probability threshold.
yaml
reasoning:
  chat: medium

sampling:
  qwen3:
    temperature: 0.6
    top_p: 0.95

Decider ​

See Decision Model.

decider ​

KeyTypeDefault / BehaviorDescription
decider.timeout_msintDecider defaultPer-call latency budget for the decider model, in milliseconds. Minimum 1.

Context & Compaction ​

See Context Compaction.

context ​

KeyTypeDefault / BehaviorDescription
context.strategystringmineCompaction strategy: summary, mine, pointer, handoff, native, or none. native requires a model declaring the compact op and a native-compacting transport.
context.notice_ratiofloatRemoved (ignored)Removed setting. Accepted for backward compatibility and emits a warning.
context.hard_ratiofloatRemoved (ignored)Removed setting. Accepted for backward compatibility and emits a warning.
context.handoff.ratiofloatStrategy defaultFraction of the prompt limit (0–1) that triggers handoff compaction.
context.handoff.max_tokensintStrategy defaultToken limit for the handoff request (≥ 0).
context.summary.ratiofloatStrategy defaultFraction of the prompt limit (0–1) that triggers summary compaction.
context.summary.keep_recent_tokensintStrategy defaultRecent history tokens kept verbatim (≥ 0).
context.summary.max_tokensintStrategy defaultToken limit for the summary request (≥ 0).
context.mine.ratiofloatStrategy defaultFraction of the prompt limit (0–1) that triggers mine compaction.
context.mine.keep_recent_tokensintStrategy defaultRecent history tokens kept verbatim (≥ 0).
context.mine.max_tokensintStrategy defaultToken limit for the mining request (≥ 0).
context.mine.pointer_max_tokensintStrategy defaultToken limit for the pointer pass (≥ 0).
context.pointer.ratiofloatStrategy defaultFraction of the prompt limit (0–1) that triggers pointer compaction.
context.pointer.keep_recent_tokensintStrategy defaultRecent history tokens kept verbatim (≥ 0).
context.pointer.max_tokensintStrategy defaultToken limit for the compose request (≥ 0).
context.pointer.pointer_max_tokensintStrategy defaultToken limit for the pointer pass (≥ 0).
context.pointer.snippet_budgetintStrategy defaultMaximum bytes of snippet text collected by queries (≥ 0).
context.pointer.escalate_afterintStrategy defaultNumber of pointer compactions before escalating to full-span fallback (≥ 0).
yaml
context:
  strategy: mine
  mine:
    ratio: 0.75
    keep_recent_tokens: 8192

Tools & Sandboxing ​

See Built-in Tools & Jobs, Codemode, and Sandboxing (bwrap).

tools ​

KeyTypeDefault / BehaviorDescription
tools.read.restrict_to_working_dirboolfalseConfine read to the session's working directory.
tools.read.ask_outside_working_dirboolfalseRoute read targets outside the working directory through the permission asker.
tools.grep.restrict_to_working_dirboolfalseConfine grep to the session's working directory.
tools.grep.ask_outside_working_dirboolfalseRoute grep targets outside the working directory through the permission asker.
tools.edit.restrict_to_working_dirboolfalseConfine edit to the session's working directory.
tools.edit.ask_outside_working_dirboolfalseRoute edit targets outside the working directory through the permission asker.
tools.write.restrict_to_working_dirboolfalseConfine write to the session's working directory.
tools.write.ask_outside_working_dirboolfalseRoute write targets outside the working directory through the permission asker.
tools.bash.timeout_sint120Per-command wall-clock timeout, in seconds.
tools.bash.executorstringlocalCommand executor linked into the binary (e.g., local, bwrap).
tools.codemode.enginestringquickjsScript runtime for codemode: quickjs or starlark.
tools.codemode.timeout_sintEngine defaultWall-clock timeout for one script run, in seconds.
tools.codemode.script_max_bytesintEngine defaultMaximum accepted script size, in bytes.
tools.codemode.output_cap_charsintEngine defaultMaximum printed output characters retained per run.
tools.codemode.exec_stepsintEngine defaultStarlark execution step budget. Rejected if non-zero when engine is quickjs.
tools.fetch.timeout_sint30Timeout per HTTP fetch, in seconds.
tools.fetch.max_bytesintTool defaultMaximum response body size read, in bytes.
tools.fetch.user_agentstringTool defaultCustom User-Agent header sent by fetch.
tools.fetch.allow_private_hostsboolfalseAllow loopback and private IP ranges in fetch (link-local and reserved ranges remain blocked).
tools.bwrap.networkbooltrueShare host network inside the bwrap sandbox. Set false to isolate network access.
tools.bwrap.ro_bindsstring[]/usr, /bin, /lib, /lib64, /etcHost paths mounted read-only inside the bwrap sandbox.
tools.bwrap.rw_bindsstring[]Working dir onlyAdditional host paths mounted read-write inside the bwrap sandbox.
tools.env.scrubstring[]Endpoint credential env varsEnvironment variable names removed from child processes and session environment.
tools.env.passthroughstring[]Unset (all non-scrubbed vars)Allowlist of environment variable names kept for child processes; all others are dropped.
tools.protected_pathsstring[]EmptyGlob patterns of paths tools must not read or modify (masked inside bwrap).
tools.disabledstring[]EmptyTool names disabled regardless of profile. Naming an unlinked or core-required tool is an error.
yaml
tools:
  edit:
    restrict_to_working_dir: true
  write:
    restrict_to_working_dir: true
  bash:
    executor: bwrap
    timeout_s: 60
  bwrap:
    network: false
  protected_paths:
    - "**/.env"
    - "~/.ssh/**"
  disabled: [fetch]

Permissions ​

See Permissions & Safety.

permission ​

KeyTypeDefault / BehaviorDescription
permission.unmatchedstringProfile defaultAction for a side-effecting call that matches no rule: allow, ask, or deny.
permission.fallbackstringdenyDecision when the asker chain is exhausted or times out: allow or deny.
permission.askersstring[]Binary's default chainOrdered list of askers (decide, wire). An explicit empty list [] skips all askers and goes straight to fallback. decide requires roles.decider.
permission.chain_timeout_sint120Overall timeout for the asker chain, in seconds. Minimum 1.
permission.doom_loop.thresholdintPolicy defaultExact repeat count that triggers the doom-loop action. Minimum 1.
permission.doom_loop.near_thresholdintPolicy defaultNear-repeat count that triggers the doom-loop action. Minimum 1.
permission.doom_loop.actionstringPolicy defaultAction taken on a doom loop: allow, ask, or deny.
permission.decide.allowfloat0.85Probability threshold (0–1) at which the decider allows a call. Requires roles.decider.
permission.decide.denyfloat0.99Probability threshold (0–1) at which the decider denies a call. Requires roles.decider.
permission.decide.timeout_msint1500Per-call timeout for the decide asker, in milliseconds. Minimum 1. Requires roles.decider.
permission.rulesobject[]EmptyOrdered permission rules; first match wins. See table below.

permission.rules[] ​

Each rule must specify either tool or class (never both). command_prefix and command_contains require tool and are mutually exclusive.

KeyTypeDefault / BehaviorDescription
toolstringEmptyTool name to match (must be linked into the binary).
classstringEmptyTool class to match: read_only or side_effecting.
command_prefixstringEmptyPrefix matched against the tool's primary argument (e.g., bash command or fetch URL). A schemeless URL prefix matches both http and https.
command_containsstring[]EmptyNon-empty substrings matched anywhere in the tool's primary argument (any single match triggers).
actionstringRequiredAction on match: allow, ask, or deny.
yaml
permission:
  unmatched: ask
  fallback: deny
  askers: [decide, wire]
  chain_timeout_s: 60
  rules:
    - class: read_only
      action: allow
    - tool: bash
      command_prefix: "git status"
      action: allow
    - tool: bash
      command_contains: ["rm -rf", "sudo "]
      action: deny

System Prompt ​

See Profiles & Prompts.

system_prompt ​

base_file and replace are mutually exclusive.

KeyTypeDefault / BehaviorDescription
system_prompt.base_filestringEmptyFile holding the prompt's base section. Relative paths resolve against the settings file's directory; ~/ resolves under $HOME.
system_prompt.replacestringEmptyInline text replacing the entire prompt (except the CLI catalog section when active).
system_prompt.appendstringEmptyText appended to the base prompt section.
system_prompt.sectionsmap[string]stringEmptyNamed prompt sections to set or override.
system_prompt.removestring[]EmptyNamed prompt sections to remove.

Limits & Background Jobs ​

See Limits & Exit Codes and Built-in Tools & Jobs.

limits ​

A value of 0 disables the limit (except truncation_retries, where 0 disables retries and omission uses the default of 1).

KeyTypeDefault / BehaviorDescription
limits.max_tokens_per_runint0 (off)Maximum tokens consumed in a single run (≥ 0).
limits.max_duration_sint0 (off)Wall-clock time limit for a single run, in seconds (≥ 0).
limits.max_turnsint0 (off)Maximum model turns in a single run (≥ 0).
limits.max_continuationsint0 (off)Maximum continuations allowed in a run (≥ 0).
limits.truncation_retriesint1Consecutive truncated turns retried before settling output_truncated. Set 0 to disable (≥ 0).

jobs ​

KeyTypeDefault / BehaviorDescription
jobs.max_runningintRuntime defaultMaximum concurrent background jobs (≥ 0).
jobs.timeout_sintRuntime defaultPer-job wall-clock timeout, in seconds (≥ 0).
jobs.on_idlestringRuntime defaultHandling for a job result arriving while the session is idle: wake or hold.
jobs.max_unattended_wakesint0 (no limit)Maximum consecutive woken runs without client input (≥ 0).

Structured Output ​

finish ​

KeyTypeDefault / BehaviorDescription
finish.schema_filestringEmptyPath to a valid JSON Schema file used to validate typed final results. Relative paths resolve against the settings file's directory; ~/ resolves under $HOME.

Manifests & Skills ​

See CLI Registry & Script Tools, Feeds & Daemon, MCP Servers, Skills, and Manifests Reference.

cli_registry ​

Legacy alias: cliregistry.

KeyTypeDefault / BehaviorDescription
cli_registry.pathsstring[]EmptyRegistry directories. Relative paths resolve against the working directory; ~/ resolves under $HOME.
cli_registry.defaultsbooltrueLoad manifests from poo's default cli-registry directory under the user config directory. Set false to isolate.

feeds ​

KeyTypeDefault / BehaviorDescription
feeds.pathsstring[]EmptyFeed manifest directories. Relative paths resolve against the working directory; ~/ resolves under $HOME.
feeds.defaultsbooltrueLoad manifests from poo's default feeds directory under the user config directory. Set false to isolate.

mcp ​

KeyTypeDefault / BehaviorDescription
mcp.pathsstring[]Emptymcp.json manifest files or directories. Relative paths resolve against the working directory; ~/ resolves under $HOME.
mcp.defaultsbooltrueLoad manifests from poo's default mcp directory under the user config directory. Set false to isolate.

skills ​

default and user_path are mutually exclusive. Missing skill directories are dropped with a warning (silently for default).

KeyTypeDefault / BehaviorDescription
skills.defaultboolfalseWhen true, offer skills from ~/.agents/skills. Mutually exclusive with user_path.
skills.user_pathstringEmptyCustom user skills directory (~/ expanded). Mutually exclusive with default.
skills.pathsstring[]EmptyAdditional skill directories. Relative paths resolve against the working directory; ~/ resolves under $HOME.

Session Persistence & Prompts ​

See Sessions & Durability.

session ​

KeyTypeDefault / BehaviorDescription
session.modestringloggedSession persistence mode: logged, ephemeral, or durable.
session.dirstring~/.local/state/poo/sessionsDirectory where session logs and state live (~/ expanded).
session.project_promptboolfalseInclude the working directory's AGENTS.md (or CLAUDE.md if absent) in the prompt. Reads only the working directory; never walks up.
session.user_promptboolfalseLoad user instructions from the binary's default config path.
session.user_prompt_filestringEmptyPath to a custom user instructions file (~/ expanded). Setting this enables user instructions without setting user_prompt: true.
session.retention.max_age_daysintUnset (opt-in)Delete sessions whose last activity is older than this many days on prune (≥ 0).
session.retention.max_sessionsintUnset (opt-in)Keep at most this many sessions on prune (≥ 0).
session.durable.max_resumptionsint3Maximum crash resumptions before the durable planner gives up. Minimum 1.
session.durable.lease_ttl_sint30Session lease duration before expiry, in seconds. Minimum 1.
session.durable.auto_resumeboolfalseAutomatically resume an unsettled run when a durable session loads.
session.durable.storestringfileDurable storage backend: file or sqlite.
yaml
session:
  mode: durable
  dir: ~/.local/state/poo/sessions
  project_prompt: true
  retention:
    max_age_days: 30
    max_sessions: 200
  durable:
    store: sqlite
    max_resumptions: 3
    lease_ttl_s: 30
    auto_resume: false

Released under the Apache-2.0 License. Machine-readable index: llms.txt · llms-full.txt