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

Terminal
a13n-harness-ui config path
a13n-harness-ui config validate

Default 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.

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

a13n-harness-ui.yaml
schema_version: "1"
defaults:
  agent: agent-coder
  environment_profile: environment-native

Built-in tools and subagents

a13n-harness-ui.yaml — tools, input, 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: true
  • tools.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. Choose sync for 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; queued delivers at the next safe boundary.
  • agent_creation: Governs allowed/default Agents and Models for agent-initiated creation; legacy subagents.dynamic.{allowed_models, default_model} keys continue to lift into agent_creation at 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:

a13n-harness-ui.yaml — security.shell_review
security:
  shell_review:
    enable: true
    model: model-reviewer
    risk_threshold: extra_high
    on_flagged: approval_required
    on_error: allow

See 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/:

a13n-harness-ui.yaml — memory
memory:
  enabled: true
  auto_organize:
    enabled: true
    model: model-primary

View 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:

a13n-harness-ui.yaml — webui.allowed_origins
webui:
  allowed_origins:
    - https://workbench.example.com

Default [] 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 to auto, legacy, or 2026-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.

On this page