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 definition

capabilityselection

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Select a bounded relevant subset of normalized capabilities before registering MCP tools

Source definition

fileallow

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 definition

policy

Type
string
Default

unset

Available in
Console, Agent job, Web startup

SLON/JSON policy definition for shell, tools, delegation, Wiki and network

Source definition

policyfile

Type
string
Default

unset

Available in
Console, Agent job, Web startup

JSON file containing centralized policy definition

Source definition

readresultmaxmatches

Type
number
Default

20 when contextguard=true

Available in
Console, Agent job, Web startup

Maximum distinct matching lines returned by proxy-dispatch readresult with op='grep' when contextguard is active.

Source definition · Runtime default

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.

Source definition · Runtime default

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.

Source definition · Runtime default

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 default

toolfallback

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Retry in action mode when tool-calling output is malformed.

Source definition · Runtime default

toolresultmaxinline

Type
number
Default

4096 when contextguard=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.

Source definition · Runtime default

usejsonschema

Type
string
Default

auto

Available in
Console, Agent job, Web startup

Schema responses: auto or off.

Source definition · Runtime default

usejsontool

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.

Source definition · Runtime default

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

Source definition · Runtime default

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 definition

usetoolslc

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.

Source definition · Runtime default

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 definition

utilsallow

Type
string
Default

Unset.

Available in
Console, Agent job, Web startup

Comma-separated allowlist of Mini Utils Tool names to expose when useutils=true

Source definition · Runtime default

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

Source definition · Runtime default

utilsroot

Type
string
Default

.

Available in
Console, Agent job, Web startup

Root directory for Mini Utils Tool file operations (only when useutils=true)

Source definition · Runtime default

Shell and sandbox

checkall

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Ask for confirmation before executing any shell command

Source definition

readwrite

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Allow read/write operations on filesystem

Source definition

sandboxnonetwork

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 default

sandboxprofile

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

Source definition · Runtime default

shell

Type
string
Default

””

Available in
Console, Agent job, Web startup

Prefix applied to every shell command (use with useshell=true)

Source definition · Runtime default

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 default

shellallowpipes

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.

Source definition

shellbanextra

Type
string
Default

Unset.

Available in
Console, Agent job, Web startup

Additional comma-separated commands to ban

Source definition · Runtime default

shellbatch

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 definition

shellguard

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.

Source definition · Runtime default

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 default

shellguarddeny

Type
same levels
Default

critical

Available in
Console, Agent job, Web startup

Minimum risk blocked outright. Denial takes precedence over approval.

Source definition · Runtime default

shellguardtimeout

Type
milliseconds
Default

5000

Available in
Console, Agent job, Web startup

Maximum decision transport timeout.

Source definition · Runtime default

shellmaxbytes

Type
number
Default

8000 when 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.

Source definition · Runtime default

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 definition

shelltimeout

Type
number
Default

Unset.

Available in
Console, Agent job, Web startup

Maximum shell command runtime in milliseconds before timeout

Source definition · Runtime default

usesandbox

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.

Source definition · Runtime default

useshell

Type
boolean
Default

false

Available in
Console, Agent job, Web startup

Allow shell command execution

Source definition

Skills and extensions

extracommands

Type
string
Default

unset

Available in
Console, Agent job, Web startup

Comma-separated extra directories for custom slash commands

Source definition

extrahooks

Type
string
Default

unset

Available in
Console, Agent job, Web startup

Comma-separated extra directories for custom hooks

Source definition

extraskills

Type
string
Default

unset

Available in
Console, Agent job, Web startup

Comma-separated extra directories for custom skills

Source definition

mini-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

Source definition · Runtime default

miniadocs

Type
boolean
Default

false

Available in
Console, Agent job, Web startup
Alias for
mini-a-docs

Alias for mini-a-docs

Source definition

plugins

Type
string
Default

unset

Available in
Console, Agent job

Comma-separated Agent Plugins (agent-plugins.org) directories, each containing a plugin.json

Source definition

pluginsroot

Type
string
Default

unset

Available in
Console, Agent job

Directory containing multiple Agent Plugins subfolders (default: .openaf-mini-a/plugins)

Source definition

pluginsroots

Type
string
Default

unset

Available in
Console, Agent job

Comma-separated directories, each containing multiple Agent Plugins subfolders

Source definition

skillcontextchars

Type
number
Default

8000

Available in
Console, Agent job, Web startup

Maximum characters read from each auto-loaded SKILL.md.

Source definition · Runtime default

skillmanifestchars

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 default

skillmaxautoload

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 default

skillsautolimit

Type
number
Default

5

Available in
Console, Agent job, Web startup

Maximum results per automatic skill search.

Source definition

skillsautosearch

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 definition

skillsmaxchars

Type
number
Default

12000

Available in
Console, Agent job, Web startup

Shared local/wiki skill guidance character budget per agent run.

Source definition

skillsmaxloaded

Type
number
Default

3

Available in
Console, Agent job, Web startup

Maximum distinct local/wiki skills consulted per agent run.

Source definition

skillwikibackend

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 definition

skillwikimounts

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 definition

skillwikiroot

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 definition

useskills

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 default

useskillswiki

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 definition

MCP 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 definition

mcpdynamic

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

Source definition

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 default

mcptest

Type
boolean
Default

false

Available in
Console

Start the MCP test mode instead of the console.

Source definition

mcptestreport

Type
boolean
Default

false

Available in
Console

With mcptest=true mcp=..., print a non-interactive MCP feature report and exit non-zero on failure.

Source definition

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.

Source definition · Runtime default

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.

Source definition

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.

Source definition · Runtime default

mcpprogcallbatchmax

Type
number
Default

10

Available in
Console, Agent job, Web startup

Maximum calls accepted in one /call-tools-batch request.

Source definition · Runtime default

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.

Source definition · Runtime default

mcpprogcallport

Type
number
Default

0

Available in
Console, Agent job, Web startup

Port for the bridge server (0 auto-selects a free local port).

Source definition · Runtime default

mcpprogcallresultttl

Type
number
Default

600

Available in
Console, Agent job, Web startup

TTL in seconds for stored oversized results retrievable through /result/{id}.

Source definition · Runtime default

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 default

mcpproxy

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.

Source definition · Runtime default

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 default

mcpproxydeny

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 default

mcpproxynative

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 default

mcpproxythreshold

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 default

mcpproxytoon

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.

Source definition · Runtime default

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.