Options in this group use the same names as Mini-A help. Unset means the entry point leaves the value unspecified; the description explains conditional behavior. Explicit CLI arguments override agent-file settings and mode defaults.
Start with the related guide for a worked example.
All options are listed below. Filtering requires JavaScript.
Prompt and tool routing
adaptiverouting
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Enable the adaptive route layer (js/core/mini-a-router.js) that chooses execution pathways (direct MCP/proxy/shell/utility/delegation) from rule-based intent analysis and execution history while preserving existing policy controls.
promptprofile
- Type
- string
- Default
minimalin chatbot mode,verbosewithdebug=trueoutside chatbot mode, andbalancedotherwise- Available in
- Console, Agent job, Web startup
Control system prompt verbosity. balanced (the default) omits worked examples and the step-by-step “how to call MCP tools” walkthroughs, includes full plan-schema guidance only while a plan is first being generated, and trims MCP/utils tool-schema descriptions to their essential clause — this is a meaningfully leaner prompt than earlier releases while keeping all functional guidance. minimal goes further: no examples, no tool-schema descriptions for optional parameters, terse planning reminders only, and at most 8 skills listed. verbose restores the full worked examples, complete tool-schema descriptions, and detailed planning guidance at all times — use it if you hit unexpected tool-calling mistakes and want the richer guidance back. When unset, Mini-A defaults to minimal in chatbot mode, verbose with debug=true outside chatbot mode, and balanced otherwise.
routerallow
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Comma-separated allowlist of route types the adaptive router may use.
Source definition · Runtime defaultrouterdeny
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Comma-separated denylist of route types the adaptive router must not use.
Source definition · Runtime defaultrouterorder
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Comma-separated preferred route order (for example mcp_direct_call,mcp_proxy_path,shell_execution).
routerproxythreshold
- Type
- number
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Payload threshold in bytes where proxy-style handling is preferred (falls back to mcpproxythreshold when unset).
systempromptbudget
- Type
- number
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Maximum estimated system-prompt token budget. When the rendered prompt exceeds it, Mini-A automatically drops lower-priority sections in this order: examples, skill descriptions, detailed tool reference, extended planning guidance, then excess skill entries.
Source definition · Runtime defaultDecisions and advisors
advisorbudgetratio
- Type
- number
- Default
0.20- Available in
- Console, Agent job, Web startup
Fraction of session token budget that advisor calls can consume before low-value consults are declined.
Source definitionadvisorcooldownsteps
- Type
- number
- Default
2- Available in
- Console, Agent job, Web startup
Minimum step distance between advisor consultations when modelstrategy=advisor.
advisorenable
- Type
- boolean
- Default
true- Available in
- Console, Agent job, Web startup
Master toggle for advisor consultations inside modelstrategy=advisor runs.
advisormaxuses
- Type
- number
- Default
2- Available in
- Console, Agent job, Web startup
Maximum advisor consultations per run when modelstrategy=advisor.
advisoronambiguity
- Type
- boolean
- Default
true- Available in
- Console, Agent job, Web startup
Allow advisor consults on ambiguity signals.
Source definitionadvisoronharddecision
- Type
- boolean
- Default
true- Available in
- Console, Agent job, Web startup
Allow advisor consults for hard-decision checkpoints.
Source definitionadvisoronrisk
- Type
- boolean
- Default
true- Available in
- Console, Agent job, Web startup
Allow advisor consults on risk signals.
Source definitionemergencyreserve
- Type
- number
- Default
0.10- Available in
- Console, Agent job, Web startup
Portion of advisor budget reserved for higher-value/high-risk consults.
Source definitionevidencegate
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Enable lightweight evidence gating for non-trivial actions and final claims.
Source definitionevidencegatestrictness
- Type
- string
- Default
"medium"- Available in
- Console, Agent job, Web startup
Tuning level for evidence gate heuristics.
Source definitionharddecision
- Type
- string
- Default
"warn"- Available in
- Console, Agent job, Web startup
Controls hard-decision checkpoints for high-impact actions. require blocks hard actions unless advisor consultation succeeds.
lcbudget
- Type
- number
- Default
0= unlimited- Available in
- Console, Agent job, Web startup
Maximum total LC model token usage for the session. When the cumulative LC token count reaches this threshold, Mini-A permanently locks to the main model for the remainder of the session, logging a warning. Set to 0 to disable the budget cap.
lcescalatedefer
- Type
- boolean
- Default
true- Available in
- Console, Agent job, Web startup
When enabled, if an escalation trigger fires but the current LC model response has a confidence score ≥ 0.7 (based on JSON validity, completeness, and action specificity), Mini-A defers the escalation by one additional step. If the next step also triggers escalation, it escalates immediately. Set to false to disable deferral and escalate as soon as the trigger fires.
lcjsonretries
- Type
- number
- Default
1- Available in
- Console, Agent job, Web startup
Number of extra same-step attempts to give the low-cost model when its response fails to parse as valid JSON, before falling back to the main model. Each retry re-prompts the low-cost model with a concrete response example and formatting instructions and does not consume a step from maxsteps. It does consume tokens and counts toward lcbudget and call/token limits. Text, already-parsed objects, and arrays are accepted; retries preserve provider JSON-mode compatibility settings. Set to 0 to restore the previous behavior of falling back to the main model immediately on the first invalid-JSON response.
lcreplytool
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Replace corrective LC JSON retries with a capture-only submit_reply MCP tool call on OpenAI-compatible (type=openai) and Ollama adapters. Enable with lcreplytool=true lcjsonretries=1. OpenAI recovery requests force that tool; Ollama receives only that tool plus explicit instructions. One valid single-action payload returns to the normal dispatcher; missing, malformed, or multiple calls leave recovery unsuccessful. Unsupported adapters keep the text retry. This uses the existing lcjsonretries budget and LC token accounting; it requires neither usetools=true nor usejsontool=true. See reply recovery details.
llmcomplexity
- Type
- boolean
- Default
Unset; configured decision-model refinement remains available unless false
- Available in
- Console, Agent job, Web startup
Refine medium complexity with the configured decision model. Set false to disable this; true also enables the legacy low-cost-model fallback when decision refinement is unavailable.
Source definition · Runtime defaultusedecide
- Type
- boolean
- Default
unset
- Available in
- Console, Agent job, Web startup
Enable decision-assisted selection, complexity, and bounded wiki auto link repairs with modeldec or OAF_DECIDE_MODEL (false disables).
Source definition · Runtime defaultOuter loop
changetrackroot
- Type
- string
- Default
current working directory- Available in
- Console, Agent job
Filesystem root inspected by outer-loop change tracking (default current working directory).
Source definitionouterloop
- Type
- boolean
- Default
false
- Available in
- Console, Agent job
Enable autonomous multi-cycle coding loop with durable per-session state
Source definitionouterloopinstructions
- Type
- string
- Default
Unset; see conditional behavior below.
- Available in
- Console, Agent job
Path to persistent outer loop instructions markdown file
Source definitionouterloopmaxcycles
- Type
- number
- Default
5
- Available in
- Console, Agent job
Maximum autonomous outer loop cycles
Source definitionouterloopmaxnochange
- Type
- number
- Default
2
- Available in
- Console, Agent job
Stop after N cycles without meaningful change
Source definitionouterloopmaxtime
- Type
- number
- Default
0 (no elapsed-time cap)
- Available in
- Console, Agent job
Maximum outer loop runtime in seconds
Source definitionouterloopsessionid
- Type
- string
- Default
Unset; see conditional behavior below.
- Available in
- Console, Agent job
Existing durable outer loop session identifier to resume or continue
Source definitionouterloopstoponrepeat
- Type
- boolean
- Default
false
- Available in
- Console, Agent job
Stop when the same validation failure repeats
Source definitionspecfile
- Type
- string
- Default
unset
- Available in
- Console, Agent job
- Alias for
outerloopinstructions
Alias for outerloopinstructions
Source definitiontaskfile
- Type
- string
- Default
unset
- Available in
- Console, Agent job
- Alias for
outerloopinstructions
Alias for outerloopinstructions
Source definitiontrackchanges
- Type
- boolean
- Default
automatic with no-change stopping- Available in
- Console, Agent job
Track filesystem changes in the outer loop; enabled automatically when its no-change stopping condition is active.
Source definitionModel selection
contractargs
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Positional supervised contract inputs.
Source definitioncontractfile
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Explicit supervised CONTRACT.md.
Source definitionmodel
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup, Ingestion job, Absorption job
Override OAF_MODEL configuration
Source definition · Runtime defaultmodeldec
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Override OAF_DECIDE_MODEL with a SLON/JSON configuration for this run. Select interactively with /model dec; /models displays the decision slot. See Decisions.
modellc
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Override the low-cost model configuration at runtime (same format as OAF_LC_MODEL). Useful for quick per-run model selection without changing environment variables.
modellock
- Type
- string
- Default
adaptive behaviour
- Available in
- Console, Agent job, Web startup
Select a model tier for normal steps, bypassing score-based escalation and de-escalation. Recovery paths (including invalid-JSON fallback) can still call the main model, so this is not a strict spending or provider-isolation boundary. Use modellock=main to select the main model (OAF_MODEL), modellock=lc to select the low-cost model (OAF_LC_MODEL), or leave unset/auto for the default adaptive behaviour. A one-time info message is logged at startup when a lock is active.
modelstrategy
- Type
- string
- Default
"default"- Available in
- Console, Agent job, Web startup
Select the model orchestration profile. auto resolves once per run (in init(), before the system prompt is built) to a concrete strategy: resumed runs keep theirs, contract options pick supervised, no LC model or modellock=main|lc picks default, eligible complex batch execution goals with a deliverable and verification signal pick supervised, while interactive and other complex goals pick advisor, medium low-risk goals with lcbudget>0 pick delegate, otherwise default. Medium goals are refined by the decision model when configured. orchestration=auto uses the same resolver when modelstrategy is not set explicitly. Subtasks of an auto run resolve for their own goal. default keeps current LC-first behavior with escalation. advisor keeps LC as the executor and selectively calls the main model as an internal advisor for difficult steps.
modelval
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Override the validation model configuration at runtime (same format as OAF_VAL_MODEL). Useful when you want a dedicated validation model for one run without changing environment variables.
modelvisual
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup, Ingestion job
SLON/JSON vision-model configuration for all image analysis, including wiki ingestion. Precedence: modelvisual, OAF_VISUAL_MODEL, then the existing main model. Select with /model visual; /models shows the visual slot.
reusecontract
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Reuse applicable supervised contracts in the workspace.
Source definitionsavecontract
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Save accepted supervised contracts.
Source definitionsecpass
- Type
- string
- Default
Unset; see conditional behavior below.
- Available in
- Console, Agent job, Web startup
Password used to unlock OpenAF sBucket model secrets when loading saved model definitions (for example, encrypted entries managed through modelman=true).
Planning
convertplan
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Perform a one-off format conversion instead of running the agent. Requires planfile= (input) and outputfile= (target path) and preserves notes/execution history across Markdown/JSON/YAML.
earlystopthreshold
- Type
- number
- Default
3, auto-adjusts to 5 with low-cost models
- Available in
- Console, Agent job, Web startup
Number of identical consecutive errors before the early stop guard activates. The system automatically increases this threshold when using low-cost models before escalation to give them more recovery opportunities. Set explicitly to override automatic behavior.
Source definitionforceplanning
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Force planning to be enabled even if the complexity assessment suggests it’s not needed. Overrides the automatic planning strategy selection.
Source definition · Runtime defaultforceupdates
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
When true, Mini-A records plan updates even when actions fail so the plan reflects obstacles and retry instructions.
Source definition · Runtime defaultorchestration
- Type
- string
- Default
manual- Available in
- Console, Agent job, Web startup
Execution strategy mode: manual or deterministic auto.
Source definitionorchestrationcontext
- Type
- string
- Default
auto- Available in
- Console, Agent job, Web startup
Automatic strategy context: auto, interactive, or batch.
Source definitionplancontent
- Type
- string
- Default
Unset; see conditional behavior below.
- Available in
- Console, Agent job, Web startup
Provide plan content directly as a string instead of loading from a file. Useful for programmatic plan injection.
Source definitionplanfile
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
When planning, write the generated plan to this path. In execution mode, load an existing plan from this path (Markdown .md, JSON .json, or YAML .yaml/.yml) and keep it in sync as tasks complete.
planformat
- Type
- string
- Default
the detected extension of
planfile, or Markdown when unspecified- Available in
- Console, Agent job, Web startup
Override the plan output format during planmode (markdown, json, or yaml). Defaults to the detected extension of planfile, or Markdown when unspecified.
planlog
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Append every plan update to the specified log file for auditing and debugging.
Source definition · Runtime defaultplanmode
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Switch to planning-only mode. Mini-A studies the goal/knowledge, generates a structured Markdown/JSON/YAML plan, and exits without executing any tasks. Mutually exclusive with chatbotmode.
planstyle
- Type
- string
- Default
simple- Available in
- Console, Agent job, Web startup
Controls the plan structure style. Use simple for flat sequential task lists (recommended for better model compliance) or legacy for phase-based hierarchical plans with nested tasks. The simple style generates numbered steps that models can follow more reliably.
resumefailed
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Resume execution from the last failed task when re-running Mini-A against a partially completed plan file.
Source definitionsaveplannotes
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
When enabled, persist execution notes, critique results, and dynamic adjustments within the plan file structure. Useful for maintaining a complete audit trail of plan evolution.
Source definition · Runtime defaultupdatefreq
- Type
- string
- Default
auto- Available in
- Console, Agent job, Web startup
Controls how often Mini-A writes progress to planfile. Accepted values are auto (every updateinterval steps), always (after every qualifying action), checkpoints (25/50/75/100% of maxsteps), or never.
updateinterval
- Type
- number
- Default
3- Available in
- Console, Agent job, Web startup
Step interval used when updatefreq=auto. Mini-A updates the plan after this many steps without a recorded update.
useplanning
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Load (or maintain) a persistent task plan in agent mode. When no pre-generated plan is available Mini-A falls back to the adaptive in-session planner and disables the feature for trivial goals.
Source definitionvalidateplan
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Validate a plan using LLM-based critique and structure validation without executing it. Can be combined with planmode=true to generate and validate in one step, or used with planfile= to validate an existing plan. The validation checks for structural issues, missing work, quality risks, and provides an overall PASS/NEEDS_REVISION verdict.
Research and validation
deepresearch
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Enable deep research mode with iterative validation
Source definitionmaxcycles
- Type
- number
- Default
3
- Available in
- Console, Agent job, Web startup
Maximum research cycles in deep research mode
Source definitionpersistlearnings
- Type
- boolean
- Default
true
- Available in
- Console, Agent job, Web startup
Carry forward learnings between deep research cycles
Source definitionvalgoal
- Type
- string
- Default
Unset; see conditional behavior below.
- Available in
- Console, Agent job, Web startup
- Alias for
validationgoal
Alias for validationgoal (string or file path)
Source definitionvalidationgoal
- Type
- string
- Default
Unset; see conditional behavior below.
- Available in
- Console, Agent job, Web startup
Validation criteria for deep research outcomes (string or file path; implies deepresearch=true, maxcycles=3)
Source definitionvalidationthreshold
- Type
- string
- Default
“PASS”
- Available in
- Console, Agent job, Web startup
Required validation verdict (e.g., ‘PASS’ or ‘score>=0.7’)
Source definitionvaltools
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Give the validator read-only tool access (read_file, fetch_url) so it can inspect files/URLs referenced in the valgoal
Source definition · Runtime defaultBudgets and limits
lccontextlimit
- Type
- number
- Default
0 = disabled
- Available in
- Console, Agent job, Web startup
Maximum context token count before escalating to the main model. When the estimated context size reaches this threshold, Mini-A switches to the main model for that step. Useful when the low-cost model has a smaller context window than the main model. Set to 0 to disable context-based escalation.
maxsteps
- Type
- number
- Default
15 via
mini-a.sh/ojob, 50 when using theMiniAclass programmatically- Available in
- Console, Agent job, Web startup, Worker startup
Maximum consecutive steps without a successful action before the agent forces a final answer
Source definition · Runtime defaultmaxtotalsteps
- Type
- number
- Default
0/disabled
- Available in
- Console, Agent job, Web startup
Hard ceiling on total steps regardless of progress. When reached, forces a final answer the same way maxsteps does — use this to bound goals that keep making “successful” progress but never call final.
rpm
- Type
- number
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Rate limit in calls per minute
Source definition · Runtime defaultrtm
- Type
- number
- Default
Unset; deprecated alias for rpm
- Available in
- Console, Agent job, Web startup
- Alias for
rpm
Rate limit in calls per minute
Source definitionrunmaxtimems
- Type
- number
- Default
0
- Available in
- Console, Agent job, Web startup, Worker startup
Aggregate auto-mode elapsed-time admission cap in milliseconds (0=unlimited).
Source definition · Runtime defaultrunmaxtokens
- Type
- number
- Default
0
- Available in
- Console, Agent job, Web startup, Worker startup
Aggregate auto-mode model token admission cap across the agent tree (0=unlimited).
Source definition · Runtime defaulttpm
- Type
- number
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Maximum tokens per minute across prompt and completion
Source definition · Runtime defaultConfiguration recipes
1. Model Configuration
Option definitions: model, modellc, modelval, modeldec, modelvisual, usedecide, modellock, lccontextlimit, lcescalatedefer, lcbudget, lcjsonretries, lcreplytool, orchestration, orchestrationcontext, runmaxtokens, runmaxtimems, acceptancereview, acceptanceoptimization, proxyargrepair, llmcomplexity, modelstrategy, contractfile, contractargs, savecontract, reusecontract, advisorenable, advisormaxuses, advisoronrisk, advisoronambiguity, advisoronharddecision, advisorcooldownsteps, advisorbudgetratio, emergencyreserve, harddecision, evidencegate, evidencegatestrictness, rpm, tpm.
6. Deep Research
Option definitions: deepresearch, validationgoal, valgoal, modelval, maxcycles, validationthreshold, persistlearnings.
7. Planning
Option definitions: useplanning, forceplanning, planstyle, earlystopthreshold, planmode, validateplan, convertplan, resumefailed, planfile, planformat, plancontent, updatefreq, updateinterval, forceupdates, planlog, saveplannotes, showthinking.
7a. Outer Loop Autonomous Coding
Option definitions: outerloop, outerloopinstructions, taskfile, specfile, outerloopsessionid, outerloopmaxcycles, outerloopmaxtime, outerloopstoponrepeat, outerloopmaxnochange.