Skip to main content
Model configuration in AgentCompass is run-local. A model spec tells the selected harness which model id to call, where the endpoint is, which protocol to use, and which generation parameters to pass. AgentCompass does not require a global model registry for normal runs.

Model Spec Fields

The CLI maps these fields from --model-base-url, --model-api-key, --model-api-protocol, and --model-params.

Basic Usage

Use shell variables for secrets. Shell variable names must use underscores, for example MODEL_BASE_URL, not model-base-url.

Protocol Selection

If api_protocol is empty, the harness may choose its own default. For public docs and reproducible commands, prefer passing the protocol explicitly.

Python Usage

Judge Models

Some benchmarks and analyzers need a second model for judging or qualitative analysis. They use the same conceptual fields: model id, base URL, API key, protocol, and params. Examples:
  • benchmark judge models under benchmark_params.judge_model;
  • qualitative analyzer models under analysis_params.QualitativeAnalyzer;
  • comparison analyzers under analysis_params.MultiQualitativeAnalyzer.

Common Failures