agentcompass config shows values merged from configuration files or lists the fields accepted by components in the
current installation.
config show
config show merges built-in defaults with loaded configuration files and prints the result as YAML or JSON:
runtime and execution. Use --benchmark, --harness, or
--env to include selected component configurations. Each selector accepts multiple space-separated IDs and can also
be repeated.
These selectors only decide which component configurations are printed; they do not change the components used by an
evaluation. Other component sections in the configuration file are not shown automatically.
config show redacts fields that look like common keys, tokens, or passwords. Private endpoints and other sensitive
values may not be detected, so inspect the output before sharing or committing it.
config docs
config docs shows the declared fields, types, built-in defaults, and descriptions for one registered component:
This command displays the schema declared in component code and does not load configuration files. Long default values are
abbreviated in the terminal table. Use
config show to inspect the merged file result; sensitive fields remain
redacted. Parameters for the model under test are outside the scope of config docs; see
Configure a Model.
Configuration File Structure
Configuration files store defaults that can be reused across runs. The following top-level sections are supported:
Write component fields directly below their ID; do not add a nested
params mapping. Run configuration loaded with
--config does not support a top-level models section. Provide the model under test through agentcompass run
arguments, agentcompass launch orchestration requests, or the Python SDK.
The repository’s examples/configs/swebench_verified.yaml shows how these sections fit together. It selects one SWE-bench Verified sample
for checking configuration and the execution environment. Remove benchmarks.swebench_verified.sample_ids to select
the complete dataset.
After setting MODEL_NAME, MODEL_BASE_URL, and MODEL_API_KEY, run the following command from the repository root:
Override Order
config show merges values in the following order, from lowest to highest priority:
- Built-in
runtime,execution, and component defaults. $XDG_CONFIG_HOME/agentcompass/config.yaml, or~/.config/agentcompass/config.yamlwhenXDG_CONFIG_HOMEis not set.- The nearest
config.yamlfound by searching upward from the current working directory. - Explicit
--configfiles. The option is repeatable, and later files override earlier files.
config show stops at these configuration-file layers. During an evaluation, explicit run/launch CLI options,
orchestration-file fields, and Python SDK arguments take precedence over configuration files. For a single evaluation request,
dependency auto-installation can also be
overridden by AGENTCOMPASS_AUTO_INSTALL_DEPENDENCIES; launch does not read that variable. A
Recipe then adapts each concrete task’s execution plan. It usually preserves
compatible explicit image and resource settings, but it can still adjust workspace, network, or execution settings required
by the Benchmark or Harness. The config show output is therefore not a complete execution plan for a particular evaluation.
Environment Variables and Secrets
Configuration files support whole-field${VAR} environment references. For example:
https://${HOST}/api, is not supported.
Do not commit keys, tokens, or private endpoints. If a private configuration file must contain sensitive values,
exclude it from version control.