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.
Tools and utilities
capabilitylimit
- Type
- number
- Default
8- Available in
- Console, Agent job, Web startup
Maximum capabilities exposed when capabilityselection=true
Source definitioncapabilityselection
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Select a bounded relevant subset of normalized capabilities before registering MCP tools
Source definitionfileallow
- Type
- array
- Default
Unset; no additional fileallow restriction. Other tool and server restrictions still apply.
- Available in
- Console, Agent job, Web startup
Shared built-in file access allowlist. See configuration and scope.
Source definitionpolicy
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
SLON/JSON policy definition for shell, tools, delegation, Wiki and network
Source definitionpolicyfile
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
JSON file containing centralized policy definition
Source definitionreadresultmaxmatches
- Type
- number
- Default
20whencontextguard=true- Available in
- Console, Agent job, Web startup
Maximum distinct matching lines returned by proxy-dispatch readresult with op='grep' when contextguard is active.
toolargcheck
- Type
- boolean
- Default
true
- Available in
- Console, Agent job, Web startup
Rejects a tool call before dispatch when schema-declared required keys are missing, or when unknown keys are present and the schema explicitly sets additionalProperties: false. Loose schemas and type mismatches remain pass-through.
toolargrepair
- Type
- boolean
- Default
true
- Available in
- Console, Agent job, Web startup
Before checking, repairs an unambiguous near-typo, unwraps a sole arguments/params/input object, and parses JSON strings for object/array parameters. Repairs are traced so they remain visible to diagnostics.
toolcachettl
- Type
- number
- Default
cache duration (milliseconds
- Available in
- Console, Agent job, Web startup
Override the default cache duration (milliseconds) for deterministic tool results when no per-tool metadata is provided
Source definition · Runtime defaulttoolfallback
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Retry in action mode when tool-calling output is malformed.
Source definition · Runtime defaulttoolresultmaxinline
- Type
- number
- Default
4096whencontextguard=true- Available in
- Console, Agent job, Web startup
Maximum inline bytes kept from large tool or readresult outputs before Mini-A spills or truncates the content under contextguard.
usejsonschema
- Type
- string
- Default
auto- Available in
- Console, Agent job, Web startup
Schema responses: auto or off.
Source definition · Runtime defaultusejsontool
- Type
- boolean
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Uses Mini-A’s JSON action loop and disables native tool registration on both model tiers, including when mcpproxynative=true. Automatically enabled for GPT-OSS models unless explicitly overridden. An explicit run value takes precedence over the resolved session value; usejsontool=false retains native behavior. JSON-encoded action arrays are accepted as batches; malformed batches return corrective errors.
usestdutils
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
When useutils=true, expose standard Mini Utils aliases (read, glob, grep, webfetch, question, skill, todowrite, and bash for shell) instead of legacy Mini Utils names
usetools
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Register MCP tools directly on the model instead of expanding the system prompt with tool schemas
Source definitionusetoolslc
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Register MCP tools directly only on the low-cost model (OAF_LC_MODEL / modellc). Useful when you want native tool calling on the cheaper tier without enabling it on the main model.
useutils
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Auto-register the Mini File Tool utilities as a dummy MCP server for quick file operations
Source definitionutilsallow
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Comma-separated allowlist of Mini Utils Tool names to expose when useutils=true
utilsdeny
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Comma-separated denylist of Mini Utils Tool names to hide when useutils=true; applied after utilsallow
utilsroot
- Type
- string
- Default
.- Available in
- Console, Agent job, Web startup
Root directory for Mini Utils Tool file operations (only when useutils=true)
Shell and sandbox
checkall
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Ask for confirmation before executing any shell command
Source definitionreadwrite
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Allow read/write operations on filesystem
Source definitionsandboxnonetwork
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Disable network inside the built-in sandbox when supported. Linux/macOS enforce it through the sandbox backend; Windows applies best-effort proxy/network clamps only.
Source definition · Runtime defaultsandboxprofile
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Optional macOS profile path for sandbox-exec; if omitted, Mini-A auto-generates a restrictive temporary .sb profile
shell
- Type
- string
- Default
””
- Available in
- Console, Agent job, Web startup
Prefix applied to every shell command (use with useshell=true)
shellallow
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Comma-separated list of banned commands that should be explicitly allowed
Source definition · Runtime defaultshellallowpipes
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Allow pipes, redirection, and shell control operators in commands when readwrite=false; readwrite=true already skips this deterministic check.
shellbanextra
- Type
- string
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Additional comma-separated commands to ban
Source definition · Runtime defaultshellbatch
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
If true, runs in batch mode without prompting for command execution approval; commands requiring approval are blocked.
Source definitionshellguard
- Type
- `auto|off|decide`
- Default
auto- Available in
- Console, Agent job, Web startup
Add decision-based shell risk assessment. Auto activates with modeldec or OAF_DECIDE_MODEL unless usedecide=false. Explicit decide requires an enabled configured model. Use off to opt out locally; inherited guard requirements still apply.
shellguardask
- Type
- `low|medium|high|critical`
- Default
medium- Available in
- Console, Agent job, Web startup
Minimum assessed risk requiring one-command approval.
Source definition · Runtime defaultshellguarddeny
- Type
- same levels
- Default
critical- Available in
- Console, Agent job, Web startup
Minimum risk blocked outright. Denial takes precedence over approval.
Source definition · Runtime defaultshellguardtimeout
- Type
- milliseconds
- Default
5000- Available in
- Console, Agent job, Web startup
Maximum decision transport timeout.
Source definition · Runtime defaultshellmaxbytes
- Type
- number
- Default
8000when unset- Available in
- Console, Agent job, Web startup
Cap shell output size in characters. When exceeded, Mini-A keeps a head/tail excerpt and inserts a truncation banner. Defaults to 8000 when unset.
shellprefix
- Type
- string
- Default
Empty string
- Available in
- Console, Agent job, Web startup
Override the shell prefix embedded inside stored plans or MCP executions so converted tasks run against the right environment
Source definitionshelltimeout
- Type
- number
- Default
Unset.
- Available in
- Console, Agent job, Web startup
Maximum shell command runtime in milliseconds before timeout
Source definition · Runtime defaultusesandbox
- Type
- string
- Default
off- Available in
- Console, Agent job, Web startup
Apply built-in OS sandbox presets for shell commands (off,auto,linux,macos,windows). Mini-A warns when the requested backend is unavailable or only best-effort.
useshell
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Allow shell command execution
Source definitionSkills and extensions
extracommands
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Comma-separated extra directories for custom slash commands
Source definitionextrahooks
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Comma-separated extra directories for custom hooks
Source definitionextraskills
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Comma-separated extra directories for custom skills
Source definitionmini-a-docs
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
When true (and utilsroot is not provided), automatically sets utilsroot to getOPackPath("mini-a") so the LLM can inspect Mini-A documentation files; the markdownFiles tool description will include the resolved documentation root path so the LLM can navigate docs directly
miniadocs
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
- Alias for
mini-a-docs
Alias for mini-a-docs
plugins
- Type
- string
- Default
unset
- Available in
- Console, Agent job
Comma-separated Agent Plugins (agent-plugins.org) directories, each containing a plugin.json
Source definitionpluginsroot
- Type
- string
- Default
unset
- Available in
- Console, Agent job
Directory containing multiple Agent Plugins subfolders (default: .openaf-mini-a/plugins)
Source definitionpluginsroots
- Type
- string
- Default
unset
- Available in
- Console, Agent job
Comma-separated directories, each containing multiple Agent Plugins subfolders
Source definitionskillcontextchars
- Type
- number
- Default
8000- Available in
- Console, Agent job, Web startup
Maximum characters read from each auto-loaded SKILL.md.
Source definition · Runtime defaultskillmanifestchars
- Type
- number
- Default
1536- Available in
- Console, Agent job, Web startup
Approximate character budget for skill descriptions in the system prompt manifest.
Source definition · Runtime defaultskillmaxautoload
- Type
- number
- Default
1- Available in
- Console, Agent job, Web startup
Maximum number of matching skills to auto-load into runtime context.
Source definition · Runtime defaultskillsautolimit
- Type
- number
- Default
5- Available in
- Console, Agent job, Web startup
Maximum results per automatic skill search.
Source definitionskillsautosearch
- Type
- boolean
- Default
unset
- Available in
- Console, Agent job, Web startup
Automatically select skills via decide, low-cost, then main. Defaults off unless usedecide=true and a decision model (modeldec or OAF_DECIDE_MODEL) is set; false keeps model-led or explicit loading.
Source definitionskillsmaxchars
- Type
- number
- Default
12000- Available in
- Console, Agent job, Web startup
Shared local/wiki skill guidance character budget per agent run.
Source definitionskillsmaxloaded
- Type
- number
- Default
3- Available in
- Console, Agent job, Web startup
Maximum distinct local/wiki skills consulted per agent run.
Source definitionskillwikibackend
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Skill library backend: fs, s3, s3fs, es, or http. Defaults to fs. Only needed for a dedicated skill wiki separate from usewiki.
Source definitionskillwikimounts
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
SLON/JSON array of read-only skill-library mounts, same shape as wikimounts. Only used with a dedicated skill wiki.
Source definitionskillwikiroot
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Root directory for a dedicated skill library (fs backend). Only needed when not reusing usewiki’s wiki.
Source definitionuseskills
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Expose the skills utility tool and auto-load high-confidence matching skills.
Source definition · Runtime defaultuseskillswiki
- Type
- boolean
- Default
false- Available in
- Console, Agent job, Web startup
Enable the virtual skill library (docs/VIRTUAL-SKILLS.md). Reuses usewiki’s wiki when no skillwiki* config is given.
Source definitionMCP connections
mcp
- Type
- string
- Default
Unset; see conditional behavior below.
- Available in
- Console, Agent job, Web startup
MCP configuration in JSON format (single object or array for multiple connections)
Source definitionmcpdynamic
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
When usetools=true, analyze the goal and only register the MCP tools that appear relevant, consulting the available LLMs to pick a promising connection when heuristics fail and only falling back to all tools if no confident choice is produced
mcplazy
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Compatibility setting for MCP preparation. Direct connections still initialize and list tools before the first model request; this is not a guarantee of deferred networking.
Source definition · Runtime defaultmcptest
- Type
- boolean
- Default
false- Available in
- Console
Start the MCP test mode instead of the console.
Source definitionmcptestreport
- Type
- boolean
- Default
false- Available in
- Console
With mcptest=true mcp=..., print a non-interactive MCP feature report and exit non-zero on failure.
nosetmcpwd
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
By default, Mini-A sets __flags.JSONRPC.cmd.defaultDir to the mini-a oPack installation location, providing a consistent working directory for MCP commands. Set nosetmcpwd=true to prevent this automatic configuration and use the system’s default working directory instead.
sessionprewarm
- Type
- boolean
- Default
true
- Available in
- Console, Agent job, Web startup
Prepare read-only wiki resources and configured external MCP transports while composing a console or web prompt. Use false to keep setup at submission.
MCP proxy and programmatic calls
mcpprogcall
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Start a per-session localhost HTTP bridge that lets generated scripts (bash/Python/JS) list/search/call MCP tools programmatically. The bridge prompt snippet is injected automatically. Requires useshell=true if you expect scripts to run.
mcpprogcallbatchmax
- Type
- number
- Default
10- Available in
- Console, Agent job, Web startup
Maximum calls accepted in one /call-tools-batch request.
mcpprogcallmaxbytes
- Type
- number
- Default
4096- Available in
- Console, Agent job, Web startup
Max inline JSON response size. Larger results are stored and returned via resultId.
mcpprogcallport
- Type
- number
- Default
0- Available in
- Console, Agent job, Web startup
Port for the bridge server (0 auto-selects a free local port).
mcpprogcallresultttl
- Type
- number
- Default
600- Available in
- Console, Agent job, Web startup
TTL in seconds for stored oversized results retrievable through /result/{id}.
mcpprogcalltools
- Type
- string
- Default
empty
- Available in
- Console, Agent job, Web startup
Optional comma-separated allowlist of tool names exposed by the bridge.
Source definition · Runtime defaultmcpproxy
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
Aggregate all MCP connections (including mcp="..." and useutils=true) through a single proxy interface that exposes a proxy-dispatch tool. This reduces context usage by presenting only one tool to the LLM instead of exposing all tools from all connections individually. The LLM can use proxy-dispatch to list, search, and call tools across all downstream MCP connections. For large payloads, proxy-dispatch also supports argumentsFile (load arguments from JSON file) and resultToFile=true (store result in temporary JSON resultFile). Prefer this for large input/output when useutils=true (recommended) or useshell=true readwrite=true. See docs/MCPPROXY-FEATURE.md for flow diagrams and advanced usage notes.
mcpproxyallow
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Comma-separated allowlist of downstream tool names exposed through proxy-dispatch
Source definition · Runtime defaultmcpproxydeny
- Type
- string
- Default
unset
- Available in
- Console, Agent job, Web startup
Comma-separated denylist of downstream tool names hidden from proxy-dispatch
Source definition · Runtime defaultmcpproxynative
- Type
- boolean
- Default
true- Available in
- Console, Agent job, Web startup
Enable native function calling for proxy-dispatch (defaults to true; set to false for action-based JSON)
Source definition · Runtime defaultmcpproxythreshold
- Type
- number
- Default
0- Available in
- Console, Agent job, Web startup
Global byte threshold for proxy auto-spill to temporary files (0 disables)
Source definition · Runtime defaultmcpproxytoon
- Type
- boolean
- Default
false
- Available in
- Console, Agent job, Web startup
When mcpproxythreshold>0, serialize proxy-spilled object/array results using af.toTOON(...) before size checks and previews. This makes readresult slices/grep easier to scan and can reduce token usage for partial reads.
Configuration recipes
3. MCP Configuration
Option definitions: mcp, mcpproxy, mcpproxythreshold, mcpproxytoon, mcpproxyallow, mcpproxydeny, mcpprogcall, mcpprogcallport, mcpprogcallmaxbytes, mcpprogcallresultttl, mcpprogcalltools, mcpprogcallbatchmax, mcpproxynative, mcpdynamic, mcplazy, nosetmcpwd, noagentsmd.
4. Tool Configuration
Option definitions: useutils, usestdutils, useskills, skillmaxautoload, skillcontextchars, skillmanifestchars, utilsroot, fileallow, mini-a-docs, miniadocs, usetools, usetoolslc, usejsontool, libs, toolcachettl, toolfallback, utilsallow, utilsdeny.
8. Shell Access
Option definitions: useshell, shell, readwrite, shelltimeout, shellmaxbytes, shellallow, shellallowpipes, shellbanextra, checkall, shellbatch, shellprefix, shellguard, shellguardask, shellguarddeny, shellguardtimeout.
With readwrite=true, token and pipe checks are skipped, but the shell guard still applies. See Advanced → Decision-based shell guard.
Shell Sandbox
Option definitions: usesandbox, sandboxprofile, sandboxnonetwork.
10c-2. Virtual Skill Library
A wiki whose pages carry type: skill front matter can serve as a searchable skill library that never loads its catalog into context. See Virtual Skills for authoring, tools, and the MCP servers.
Option definitions: useskillswiki, skillwikibackend, skillwikiroot, skillwikimounts, skillsautosearch, skillsautolimit, skillsmaxloaded, skillsmaxchars.
10d. Adaptive Routing
A rule-based routing layer that selects how each tool action is dispatched. When disabled, mini-a uses legacy behavior.
Option definitions: adaptiverouting, routerorder, routerallow, routerdeny, routerproxythreshold.
Route types: direct_local_tool, mcp_direct_call, mcp_proxy_path, shell_execution, utility_wrapper, delegated_subtask.
Route selection is based on intent hints (read/write, payload size, latency sensitivity, risk level, structured output preference) and historical route success. Fallback chains are attempted in order; each failed attempt is appended to an errorTrail. Route decisions are visible in debug/audit output as [ROUTE ...] records when debug=true.