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 pass goal= 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.)

Source definition · Runtime default

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 definition

agentfile

Type
string
Default

unset

Available in
Console, Agent job, Web startup
Alias for
agent

Legacy alias for agent

Source definition · Runtime default

chatbotmode

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Replace the agent workflow with a lightweight conversational assistant prompt

Source definition

chatyouare

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

Source definition · Runtime default

goal

Type
string
Default

Unset; see conditional behavior below.

Available in
Console, Agent job, Web startup

The objective the agent should achieve

Source definition

goalprefix

Type
string
Default

unset

Available in
Console, Agent job, Web startup

Optional prefix automatically added to every goal

Source definition

knowledge

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 default

noagentsmd

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.

Source definition · Runtime default

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 default

state

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 definition

youare

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)

Source definition · Runtime default

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 default

compressgoalchars

Type
number
Default

1000

Available in
Console, Agent job, Web startup

Character threshold above which goal compression is considered when compressgoal=true

Source definition · Runtime default

compressgoaltokens

Type
number
Default

250

Available in
Console, Agent job, Web startup

Estimated token threshold above which goal compression is considered when compressgoal=true

Source definition · Runtime default

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.

Source definition · Runtime default

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.

Source definition · Runtime default

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 default

contextvirtualizationshadow

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 default

historyvm

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Enable durable bounded virtual conversation history (requires conversation path)

Source definition · Runtime default

historyvmmode

Type
string
Default

safe

Available in
Console, Agent job, Web startup

Virtual history policy mode

Source definition · Runtime default

historyvmshadow

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Capture and measure virtual history without changing requests

Source definition · Runtime default

maxcontent

Type
number
Default

Alias for maxcontext; 0 when neither is supplied

Available in
Console, Agent job, Web startup
Alias for
maxcontext

Alias for maxcontext

Source definition

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 default

maxpromptchars

Type
number
Default

120000

Available in
Console, Agent job, Web startup

Maximum accepted web prompt size in characters.

Source definition

History 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 default

historykeep

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.

Source definition

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 definition

historykeepperiod

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 definition

historypath

Type
string
Default

unset

Available in
Console, Agent job, Web startup

Directory path used to store web conversation history.

Source definition

historyretention

Type
number
Default

600

Available in
Console, Agent job, Web startup

Web history retention window in seconds.

Source definition

historys3accesskey

Type
string
Default

unset

Available in
Console, Agent job, Web startup

S3 access key for history mirroring.

Source definition

historys3bucket

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 definition

historys3ignorecertcheck

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Disable TLS certificate checks for history S3 access.

Source definition

historys3prefix

Type
string
Default

unset

Available in
Console, Agent job, Web startup

S3 key prefix used for mirrored history files.

Source definition

historys3region

Type
string
Default

unset

Available in
Console, Agent job, Web startup

S3 region for history mirroring.

Source definition

historys3secret

Type
string
Default

unset

Available in
Console, Agent job, Web startup

S3 secret key for history mirroring.

Source definition

historys3url

Type
string
Default

unset

Available in
Console, Agent job, Web startup

S3 endpoint URL for history mirroring.

Source definition

historys3useversion1

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Use S3 signature v1 for history mirroring.

Source definition

resume

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.

Source definition

useattach

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Enable file attachments in the web UI.

Source definition

usehistory

Type
boolean
Default

false, mini-a-con

Available in
Console, Agent job, Web startup

Enable console history discovery from ~/.openaf-mini-a/history/.

Source definition

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 default

resumerun

Type
string
Default

unset

Available in
Console, Agent job, Web startup

Resume an interrupted durable run by ID

Source definition · Runtime default

runid

Type
string
Default

unset

Available in
Console, Agent job, Web startup

Stable identifier for a durable run

Source definition · Runtime default

runroot

Type
string
Default

unset

Available in
Console, Agent job, Web startup

Optional durable-run storage root

Source definition · Runtime default

runstatus

Type
string
Default

unset

Available in
Console, Agent job

Inspect persisted durable run status by run identifier

Source definition · Runtime default

Console and editor

editor

Type
string
Default

unset

Available in
Console

External editor command used when useeditor=true (overrides $EDITOR)

Source definition

homedir

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 definition

libs

Type
string
Default

Unset.

Available in
Console, Agent job, Web startup

Comma-separated list of additional OpenAF libraries to load

Source definition · Runtime default

mode

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

Source definition

modelman

Type
boolean
Default

false

Available in
Console

Start the model manager UI instead of the console.

Source definition

showseparator

Type
boolean
Default

true

Available in
Console, Agent job

Show a subtle separator line between interaction events (disable for a more compact view)

Source definition

useeditor

Type
boolean
Default

false

Available in
Console

Compose each console goal in an external editor ($EDITOR or vi)

Source definition

Configuration 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.md loading: on startup, Mini-A walks up from the current directory looking for the nearest project-level AGENTS.md file. If found, its content is automatically appended to rules as a “Follow AGENTS.md instructions from <path>” entry. This is the coding-agent convention (similar to CLAUDE.md) and is unrelated to the protected AGENTS.md page inside a Wiki Knowledge Base. Set noagentsmd=true to 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.