Skip to main content
This is a user-focused reference for settings you are likely to change. It is not an exhaustive internal schema.

Top-level settings

KeyDefaultPurpose
home_directory.pioneerRuntime home under the OS user home directory. The gateway stores state and editable prompt identity files here.
install_state_file_nameinstall-state.tomlInstall state file stored in runtime home
By default, runtime home is ~/.pioneer. On startup, the gateway creates missing SOUL.md and IDENTITY.md files at the root of runtime home. These files seed the Soul Core and Identity Core prompt sections and may be edited over time.

Install settings

KeyDefaultPurpose
install.command_namepioneerUser-facing CLI command
install.binary_namepioneerInstalled gateway/CLI binary name
install.managed_directory_namemanagedManaged install directory name
Most users should not change install settings.

Gateway settings

KeyDefaultPurpose
gateway.service_namecom.pioneer.gatewayOS service name
gateway.listen_addr0.0.0.0:17878Gateway bind address
gateway.outbound_queue_capacity128Outbound event queue capacity
gateway.preflight_modelthreadProvider/model used for the internal turn preflight planner. thread means the current thread model.
Local-only example:
[gateway]
listen_addr = "127.0.0.1:17878"
preflight_model = "thread"
The desktop app exposes this as Settings > General > Preflight model. Use gateway.preflight_model for new configuration. Legacy memory active-recall model settings are migrated to this general preflight model setting when no explicit preflight model is present.

Task review settings

KeyDefaultPurpose
gateway.tasks.review.enabledtrueEnable task result review runtime.
gateway.tasks.review.allow_task_create_review_policyfalseAllow callers to override review policy directly in task/create.
gateway.tasks.review.default_parent_review_for_immediate_attached_agent_taskstrueRequire parent-agent review for immediate attached agent tasks.
gateway.tasks.review.default_max_revision_rounds5Default number of revision turns a parent can request.
gateway.tasks.review.auto_accept_after_seconds300Auto-accept candidates that stay in review too long. Set to 0 to disable timeout auto-accept.
Example:
[gateway.tasks.review]
enabled = true
allow_task_create_review_policy = false
default_parent_review_for_immediate_attached_agent_tasks = true
default_max_revision_rounds = 5
auto_accept_after_seconds = 300
Immediate attached subagent tasks use parent-agent review by default. Scheduled or detached work should not depend on a live parent turn and may be finalized automatically according to task policy.

Agent memory settings

KeyDefaultPurpose
gateway.memory.enabledtrueEnable durable agent memory runtime.
gateway.memory.capsules_dirmemory/capsulesMemvid capsule directory under runtime home.
gateway.memory.allow_global_user_by_defaulttrueInclude global user memories in ordinary turn scopes.
gateway.memory.allow_global_agent_by_defaultfalseInclude global agent memories by default.
gateway.memory.deterministic_recall_enabledtrueEnable bounded deterministic pre-turn recall.
gateway.memory.active_recall_enabledtrueEnable extra read-only active recall planning for context-heavy turns.
gateway.memory.tools_enabledtrueRegister memory tools for capable agent-mode providers when policy allows; actual visibility is selected by preflight or request_tools.
gateway.memory.proactive_writes_enabledtrueAllow post-turn extraction to write high-confidence durable facts through the quality gate.
gateway.memory.background_extraction_enabledtrueRun post-turn extraction through background hook execution instead of blocking the user turn.
gateway.memory.debug_trace_enabledfalseEnable memory debug traces in local diagnostic surfaces.
gateway.memory.strict_diagnostics_enabledfalseEnable stricter developer diagnostics without bypassing memory policy or quality gates.
Example:
[gateway.memory]
enabled = true
capsules_dir = "memory/capsules"
allow_global_user_by_default = true
allow_global_agent_by_default = false
deterministic_recall_enabled = true
active_recall_enabled = true
tools_enabled = true
proactive_writes_enabled = true
background_extraction_enabled = true
debug_trace_enabled = false
strict_diagnostics_enabled = false
capsules_dir is resolved under runtime home. Pioneer rejects empty paths, absolute paths, .., and other unsafe runtime-home escapes. The desktop app also stores user-facing memory preferences in desktop-settings.toml under runtime home. Desktop settings map onto the same gateway.memory product switches when the desktop runtime loads config. They do not expose candidate review or transcript recall controls.

Thread defaults

KeyDefaultPurpose
gateway.thread.default_modelgoogle/gemini-3-flash-previewDefault model ID
gateway.thread.default_model_provideropenrouterDefault provider name
gateway.thread.max_context_tokens128000Context budget
gateway.thread.response_reserve_tokens16000Reserved response budget
You can override these if you want new threads to start with a different default model.

Web tool settings

KeyDefaultPurpose
gateway.tools.web.default_timeout_ms20000Default web operation timeout
gateway.tools.web.default_fetch_max_bytes2097152Default fetched content limit
gateway.tools.web.default_download_max_bytes134217728Default download size limit
gateway.tools.web.default_max_results8Default web search result count

Tool loop limits

KeyDefaultPurpose
gateway.tools.budget.max_agent_rounds_per_turn512Maximum model/tool rounds per turn
gateway.tools.budget.max_tool_calls_per_turn2048Maximum tool calls per turn
gateway.tools.retry.max_same_tool_error_retries_per_episode3Retry limit for repeated tool errors
These limits help stop runaway loops, but they are not a security sandbox.

Computer-use settings

KeyDefaultPurpose
gateway.tools.computer_use.artifacts_subdirtools/computer_useWhere computer-use artifacts are stored under runtime home
gateway.tools.computer_use.retention_hours24Artifact retention
gateway.tools.computer_use.run_max_steps_default300Default maximum steps per computer-use run

Skills settings

KeyDefaultPurpose
gateway.skills.enabledtrueEnable skills
gateway.skills.allow_implicit_invocationfalseAllow implicit skill invocation
gateway.skills.validation.strict_agentskillstrueEnforce AgentSkills validation
gateway.skills.dependencies.preflight_on_resolvetrueCheck dependencies before resolving skills
gateway.skills.runtime.enable_dynamic_toolstrueLet skills register dynamic tools

Provider attachment settings

KeyDefaultPurpose
gateway.provider.attachments.max_bytes_per_attachment104857600Max single attachment size
gateway.provider.attachments.max_total_bytes_per_request209715200Max total attachment size per request
gateway.provider.attachments.max_attachments_per_request64Max attachments per request
gateway.provider.attachments.allow_url_sourcestrueAllow URL attachment sources
gateway.provider.attachments.allow_httpfalseAllow plain HTTP URL sources
gateway.provider.attachments.allow_private_networkfalseAllow private-network URL sources

Database settings

KeyDefaultPurpose
gateway.database.file_namegateway.dbDatabase filename under runtime home
gateway.database.max_connections1SQLite connection count
gateway.database.run_migrations_on_startuptrueApply migrations during gateway startup

Gateway runtime settings file

Runtime secret values are not configured as ordinary app config keys. The gateway creates gateway-settings.toml under runtime home with:
[secrets]
backend = "keystore"
Only keystore is supported. The old db-keystore backend name is not accepted. This setting selects the secret backend; the storage model itself is described in Secret Storage.

Auth settings

KeyDefaultPurpose
gateway.auth.jwt_issuerpioneerJWT issuer
gateway.auth.jwt_audiencepioneer-clientsJWT audience
gateway.auth.superuser_subjectsuperuserSubject for superuser tokens
gateway.auth.token_ttl_seconds31536000Token lifetime

Desktop gateway settings

KeyDefaultPurpose
desktop.gateway.connect_timeout_ms300Connection timeout
desktop.gateway.startup_timeout_ms10000Local gateway startup timeout
desktop.gateway.ws_ping_interval_ms10000WebSocket ping interval
desktop.gateway.registry_file_namegateway-registry.tomlDesktop gateway registry file