Skip to content

Project flags (flags:)

Top-level flags: in abt.yaml holds project-wide invocation defaults that mirror most registry-backed CLI options. Structured run config (guardrails, nested blocks) stays under config:.

For guidance on when to reach for flags: vs config: vs vars:, see the Project flags guide. This page is the flag-by-flag reference table.

Precedence

For each registered flag on a given command:

  1. CLI (explicit flag passed)
  2. Environment (ABT_*)
  3. flags: in abt.yaml
  4. Code default

Example

flags:
  stateless: true
  artifact_dir: /var/out/abt
  lazy_context: true
  live_compile: false
  partial_parse: true
  strict_tools: false
  sanitize_mcp_schemas: true
  offload_binary_content: false
  fail_fast: false
  debug: false

config:
  recursion_limit: 600
  middleware:
    - run_timeout:
        graceful_timeout_seconds: 120
    - model_call_limit:
        max_model_calls: 80
    - collapse:
        min_group_size: 2

Registered flags (summary)

"Compile-capable" below means: run, dispatch, compile, test, doctor, discover, docs.

Flag CLI Env Commands
stateless --stateless ABT_STATELESS run, dispatch (CLI only); compile, docs (CLI, env, yaml)
artifact_dir --artifact-dir ABT_ARTIFACT_DIR run, dispatch
lazy_context --lazy / --no-lazy ABT_LAZY_CONTEXT compile-capable
live_compile --live / --no-live ABT_LIVE_COMPILE compile-capable
partial_parse --no-partial-parse ABT_PARTIAL_PARSE compile-capable
fail_fast --fail-fast — test
strict_tools — — compile-capable (yaml only)
sanitize_mcp_schemas — — compile-capable (yaml only)
offload_binary_content — — compile-capable (yaml only)
debug --debug / --no-debug ABT_DEBUG compile-capable, list

A key under flags: that is not in this table is ignored with a one-line Warning: on stderr that suggests the closest flag (Did you mean 'stateless'?) or lists the valid ones. Run guardrails such as recursion_limit or middleware belong under config:, not here.

Not in flags:

These are per-invocation controls that are not stored in abt.yaml flags::

  • Guardrails — timeouts, token budgets, model-call caps, loop detection: config-only via middleware: (agent frontmatter → abt.yaml agents.<agent>.config → abt.yaml config:). Use abt config show --agent NAME. See Declarative Middleware and Config precedence.
  • Dispatch-only — --skip-sources, --skip-retrievers, --skip-transformers, --skip-exposures, --expose (on abt dispatch only).
  • Mock sources — --mock-sources and --mock-source (on abt run, abt chat and abt dispatch).
  • Presentation — --quiet, --dry-run, --final-response, …
  • Paths / selection — --workspace, --target, -s, --manifest, --vars, checkpoint threading, …