Configuration reference
Reference for Harness UI's root a13n-harness-ui.yaml file, resource directories, precedence rules, built-in tools, memory, and WebUI server settings.
Harness UI reads one root file (a13n-harness-ui.yaml) and sibling resource directories (models/, agents/, projects/, devices/, mcp_servers/, subagents/, web_providers/).
Locate and validate your files
a13n-harness-ui config path
a13n-harness-ui config validateDefault root path: ~/.a13n-harness-ui/a13n-harness-ui.yaml. Pass --config /path/to/a13n-harness-ui.yaml before any subcommand to use an alternate tree.
| Resource directory / file | Owns |
|---|---|
models/*.yaml | Provider connections, credentials, and request settings |
agents/*.yaml | Instructions, Model selection, Capabilities, and children |
web_providers/*.yaml | Reusable Host search/scrape accounts |
subscription_groups/*.yaml | Ordered subscription account groups |
projects/*.yaml | Working roots, Device bindings, and defaults |
devices/*.yaml | Remote Envd Device connections |
mcp/*.yaml | MCP server definitions |
subagents/*.md | Lightweight Markdown subagents |
AGENTS.md | Global agent instructions |
What wins and when edits apply
New conversations resolve defaults in order: explicit CLI/UI choice → Project defaults → Agent defaults → root defaults. Active Runs keep their captured configuration; edits apply to subsequent Runs.
Minimal root file
schema_version: "1"
defaults:
agent: agent-coder
environment_profile: environment-nativeBuilt-in tools and subagents
tools:
enable_ask_user_question: true
ask_user_question_mode: async
enable_codeact: true
interaction_timeout_seconds: 120
input:
steering_mode: immediate # or queued
agent_creation:
allowed_agents: null # omit/null for all agents, [] to disable, or list IDs
default_agent: null
allowed_models: [model-primary]
default_model: model-primary
subagents:
include: [explorer, code-reviewer, executor]
max_concurrent: 8
dynamic:
enabled: truetools.enable_ask_user_question/enable_codeact: Global switches that gate both automatic and explicit Agent selections.tools.ask_user_question_mode:async(default) lets interactive Agents keep working while you answer in WebUI or the terminal. Choosesyncfor questions that pause the Run. In WebUI, change the mode in Settings → Chats.input.steering_mode:immediate(default) interrupts model generation or releases supported tool waits;queueddelivers at the next safe boundary.agent_creation: Governs allowed/default Agents and Models for agent-initiated creation; legacysubagents.dynamic.{allowed_models, default_model}keys continue to lift intoagent_creationat load time (with conflict checking) and migrate automatically when saved in WebUI.
Model, native Agent, and ACP Agent YAML each accept an optional description (up to 2048 characters). Describe the tasks the resource is suited for; keep execution instructions in the Agent’s instructions field.
Shell review shortcut
Enable automatic LLM review of environment.shell_exec calls across root and child Runs:
security:
shell_review:
enable: true
model: model-reviewer
risk_threshold: extra_high
on_flagged: approval_required
on_error: allowSee Configure shell review for approval thresholds and Codex Guardian linking.
Context recovery
Automatic context recovery is enabled by default to recover from provider context-window overflow independently of proactive compaction.
Display settings
Configure instance display preferences and notification sounds in a13n-harness-ui.yaml or Settings → General.
Set instance-wide Inbox options (inbox.enabled and inbox.auto_mark_read, both defaulting to true) in a13n-harness-ui.yaml or Settings → Chats → Inbox. See Read your Inbox for what each switch controls.
Chat titles
Open Settings → Chats → Chat titles to choose the title model or give it instructions such as “Use English and keep titles under five words.” The same instructions (chat_title_instructions in a13n-harness-ui.yaml) apply to new chats and Rename chat → Generate title. Turning off automatic titles leaves Generate title available.
Title requests send up to 4,000 characters of your global AGENTS.md to the title model for reference. Without custom instructions, the title follows the language of your messages and uses the global communication preference only when there is no clear language, such as for an image alone.
File memory
Enable persistent Global and Project Markdown memory under memory/:
memory:
enabled: true
auto_organize:
enabled: true
model: model-primaryView memory files and organization history in WebUI's Memory panel.
Media understanding and voice input
media_understanding(image,audio,video): Fallback saved Model IDs when the active Model cannot read that media natively. See Media understanding defaults.dictation: Configure Codex subscription or audio-input Model voice dictation in Settings → Chats → Dictation (see Voice input).
Local envd runtime
Configure the managed or custom a13n-envd executable, local Computer Use (computer_use: true), and resource monitoring interval (monitoring_interval_seconds: 60, range 10–60) under envd: in a13n-harness-ui.yaml. See Manage local envd.
Host browser
Override the Chromium executable path or sandbox flags under browser: in a13n-harness-ui.yaml. See Host browser.
WebUI allowed origins
Restrict accepted Host / Origin addresses when running WebUI behind a reverse proxy:
webui:
allowed_origins:
- https://workbench.example.comDefault [] allows only the listener address; ["*"] permits any origin. See Reverse proxies.
WebUI Bot
Configure the optional always-on Bot under webui.bot: in a13n-harness-ui.yaml. See Bot.
MCP host ownership
mcp.host_owned_servers: List of MCP server IDs whose clients stay alive across Runs.mcp.protocol_overrides: Map of server IDs toauto,legacy, or2026-07-28.
Object store
Harness UI automatically retains a local Thread-scoped Object Store (ObjectStoreSettings in HarnessUiSettings when embedding) so media and large outputs can be reused across tool calls via object_ref_tools without repeating base64 payloads in model history.