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.
Goals and prompts
agent
- Type
- string
- Default
goal=input unless you passgoal=explicitly- Available in
- Console, Agent job, Web startup
Path to a markdown agent profile (or inline markdown text) with YAML frontmatter metadata. Supported keys include model, capabilities (useshell, readwrite, useutils, usetools), tools (MCP entries such as type: ojob, type: stdio + cmd, type: remote, or type: sse), constraints (appended to rules), knowledge, youare, and mini-a (map of direct Mini-A arg overrides). When the profile uses Markdown front matter, any text after the closing --- is used as the default goal= input unless you pass goal= explicitly. (agentfile remains a backward-compatible alias.)
agentcomms
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup, Worker startup
Opt-in communication profiles, grants, delegation allowance and limits (JSON/SLON); see USAGE.md
Source definitionagentfile
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
- Alias for
agent
Legacy alias for agent
Source definition · Runtime defaultchatbotmode
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Replace the agent workflow with a lightweight conversational assistant prompt
Source definitionchatyouare
- Type
- string
- Default
””
- Available in
- Console, Agent job, Web startup
Override the opening chatbot persona sentence when chatbotmode=true (inline text or an @file path) without touching the rest of the conversational instructions
goal
- Type
- string
- Default
Unset; see conditional behavior below.
- Available in
- Console, Agent job, Web startup
The objective the agent should achieve
Source definitiongoalprefix
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Optional prefix automatically added to every goal
Source definitionknowledge
- Type
- string
- Default
””
- Available in
- Console, Agent job, Web startup
Additional context or knowledge for the agent (can be text or file path)
Source definition · Runtime defaultnoagentsmd
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
By default, Mini-A searches the current directory and its parents for the nearest AGENTS.md file and, if found, injects its contents as a rule. Set noagentsmd=true to disable this automatic discovery and injection.
rules
- Type
- string
- Default
””
- Available in
- Console, Agent job, Web startup
JSON/SLON array of additional numbered rules to append to the system prompt (can be text or file path)
Source definition · Runtime defaultstate
- Type
- object|string
- Default
Unset; see conditional behavior below.
- Available in
- Console, Agent job, Web startup
Initial structured state (JSON/SLON) injected before the first step and persisted across turns
Source definitionyouare
- Type
- string
- Default
“Work step-by-step
- Available in
- Console, Agent job, Web startup
Override the opening “You are …” sentence in the agent prompt (inline text or an @file path); Mini-A always appends the default “Work step-by-step…” directive, and adds the “No user interaction…” remark for non-interactive surfaces (including Simple web sessions without an Advanced input adapter, and mini-a-con unless the userInput utils tool is available)
Context management
compressgoal
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Compress oversized rendered goal text before execution; when disabled, Mini-A preserves the original goal verbatim
Source definition · Runtime defaultcompressgoalchars
- Type
- number
- Default
1000
- Available in
- Console, Agent job, Web startup
Character threshold above which goal compression is considered when compressgoal=true
compressgoaltokens
- Type
- number
- Default
250
- Available in
- Console, Agent job, Web startup
Estimated token threshold above which goal compression is considered when compressgoal=true
contextguard
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
When maxcontext=0, enable a conservative small-window safety policy that proactively compresses oversized tool output and bounds proxy readresult extraction to avoid overflowing smaller model context windows.
contextguardbudget
- Type
- number
- Default
0
- Available in
- Console, Agent job, Web startup
A positive value sets an explicit context ceiling when maxcontext=0. With 0, the guard uses 32,000 estimated tokens as a compaction target, not a dispatch ceiling. If protected input still exceeds that target, Mini-A lets the provider decide and automatically attempts recovery on recognized context-overflow errors (up to three times per run). Explicit positive maxcontext or contextguardbudget limits remain enforced. Automatic mode retains a bounded window of fresh tool observations even when protected input exceeds the compaction target.
contextvirtualization
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Enable experimental hierarchical context retrieval and active provider projection (requires historyvm)
Source definition · Runtime defaultcontextvirtualizationshadow
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Measure Phase 2 projection while sending Phase 1 context (requires historyvm and contextvirtualization)
Source definition · Runtime defaulthistoryvm
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Enable durable bounded virtual conversation history (requires conversation path)
Source definition · Runtime defaulthistoryvmmode
- Type
- string
- Default
safe- Available in
- Console, Agent job, Web startup
Virtual history policy mode
Source definition · Runtime defaulthistoryvmshadow
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Capture and measure virtual history without changing requests
Source definition · Runtime defaultmaxcontent
- Type
- number
- Default
Alias for maxcontext; 0 when neither is supplied
- Available in
- Console, Agent job, Web startup
- Alias for
maxcontext
Alias for maxcontext
maxcontext
- Type
- number
- Default
0
- Available in
- Console, Agent job, Web startup, Worker startup
Approximate context budget in tokens; Mini-A auto-summarizes older history when the limit is exceeded. Summarization uses isolated, tool-free requests between execution steps. Provider overflow recovery also replaces main and low-cost provider histories with the compact context while retaining system/developer instructions.
Source definition · Runtime defaultmaxpromptchars
- Type
- number
- Default
120000- Available in
- Console, Agent job, Web startup
Maximum accepted web prompt size in characters.
Source definitionHistory and attachments
conversation
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Path to file for loading/saving conversation history
Source definition · Runtime defaulthistorykeep
- Type
- boolean
- Default
false,
mini-a-con- Available in
- Console, Agent job, Web startup
Store console conversation files in ~/.openaf-mini-a/history/ using conversation-yyyyMMdd-HHmmss.json style names.
historykeepcount
- Type
- number
- Default
Unset; see conditional behavior below.
- Available in
- Console, Agent job, Web startup
Automatically delete kept conversation files beyond the newest N entries.
Source definitionhistorykeepperiod
- Type
- number
- Default
Unset; see conditional behavior below.
- Available in
- Console, Agent job, Web startup
Automatically delete kept conversation files older than the provided number of minutes.
Source definitionhistorypath
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Directory path used to store web conversation history.
Source definitionhistoryretention
- Type
- number
- Default
600- Available in
- Console, Agent job, Web startup
Web history retention window in seconds.
Source definitionhistorys3accesskey
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
S3 access key for history mirroring.
Source definitionhistorys3bucket
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
S3 bucket used by web history to mirror conversations and enabled History VM snapshots.
Source definitionhistorys3ignorecertcheck
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Disable TLS certificate checks for history S3 access.
Source definitionhistorys3prefix
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
S3 key prefix used for mirrored history files.
Source definitionhistorys3region
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
S3 region for history mirroring.
Source definitionhistorys3secret
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
S3 secret key for history mirroring.
Source definitionhistorys3url
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
S3 endpoint URL for history mirroring.
Source definitionhistorys3useversion1
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Use S3 signature v1 for history mirroring.
Source definitionresume
- Type
- boolean
- Default
false,
mini-a-con- Available in
- Console, Agent job
Resume a previous console conversation. When conversation is omitted and usehistory=true, the console lists ~/.openaf-mini-a/history/*.json and lets you choose which thread to continue.
useattach
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Enable file attachments in the web UI.
Source definitionusehistory
- Type
- boolean
- Default
false,
mini-a-con- Available in
- Console, Agent job, Web startup
Enable console history discovery from ~/.openaf-mini-a/history/.
Durable runs
durable
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Persist a resumable run state and redacted JSONL trace
Source definition · Runtime defaultresumerun
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Resume an interrupted durable run by ID
Source definition · Runtime defaultrunid
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Stable identifier for a durable run
Source definition · Runtime defaultrunroot
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Optional durable-run storage root
Source definition · Runtime defaultrunstatus
- Type
- string
- Default
unset
- Available in
- Console, Agent job
Inspect persisted durable run status by run identifier
Source definition · Runtime defaultConsole and editor
editor
- Type
- string
- Default
unset
- Available in
- Console
External editor command used when useeditor=true (overrides $EDITOR)
Source definitionhomedir
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Override the home directory used to locate the .openaf-mini-a folder (default: user home)
Source definitionlibs
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Comma-separated list of additional OpenAF libraries to load
Source definition · Runtime defaultmode
- Type
- string
- Default
Unset; see conditional behavior below.
- Available in
- Console, Agent job
Apply a preset or comma-separated list of presets from mini-a-modes.yaml, ~/.openaf-mini-a_modes.yaml, or ~/.openaf-mini-a/modes.yaml to prefill a bundle of related flags
modelman
- Type
- boolean
- Default
false- Available in
- Console
Start the model manager UI instead of the console.
Source definitionshowseparator
- Type
- boolean
- Default
true- Available in
- Console, Agent job
Show a subtle separator line between interaction events (disable for a more compact view)
Source definitionuseeditor
- Type
- boolean
- Default
false- Available in
- Console
Compose each console goal in an external editor ($EDITOR or vi)
Source definitionConfiguration recipes
2. Core Parameters
Option definitions: goal, verbose, useshell, chatbotmode, maxsteps, rtm, format, youare, chatyouare, rules, knowledge, conversation, state, raw, showthinking, debug, debugfile, debugch, debuglcch, debugdecch, debugvisualch, debugvalch, outfile, outfileall, outputfile, extracommands, extraskills, extrahooks, plugins, pluginsroot, pluginsroots, secpass, auditch, toollog, metricsch, goalprefix, homedir, compressgoal, compressgoaltokens, compressgoalchars, nologtrunc, promptprofile, systempromptbudget, sessionprewarm, exec, useeditor, editor.
[!NOTE] Automatic
AGENTS.mdloading: on startup, Mini-A walks up from the current directory looking for the nearest project-levelAGENTS.mdfile. If found, its content is automatically appended torulesas a “Follow AGENTS.md instructions from<path>” entry. This is the coding-agent convention (similar toCLAUDE.md) and is unrelated to the protectedAGENTS.mdpage inside a Wiki Knowledge Base. Setnoagentsmd=trueto disable this automatic discovery and injection.
5. Context Management
Option definitions: maxcontext, maxcontent, contextguard, contextguardbudget, toolresultmaxinline, readresultmaxmatches, historyvm, historyvmmode, historyvmshadow, contextvirtualization, contextvirtualizationshadow.
See Advanced → History VM and Context Virtualization for policies, retrieval tools, and S3 mirroring.
10a. Agent Files
Load a preconfigured mini-a profile from a markdown file with YAML frontmatter.
mini-a agent=examples/my-agent.agent.md goal="..."
mini-a agent="---\nname: quick\ncapabilities:\n - useutils\n---" goal="..."
mini-a --agent # Print a starter template
Option definitions: agent, agentfile.
See the Agent Files page for the complete reference: all frontmatter keys, tool entry types, mini-a: overrides, relative file resolution, precedence rules, and a full annotated example.
10b. Conversation History
Option definitions: historykeep, historykeepperiod, historykeepcount.
12. Knowledge & Persona
Option definitions: knowledge, youare, chatyouare, rules.