Skip to main content
AgentCompass does not maintain a fixed model-name registry. The model id comes from the endpoint you evaluate and is the third positional argument to agentcompass run:
The runtime stores that id together with its endpoint, credential, API protocol, and inference parameters in one ModelSpec. The selected harness decides how to consume the spec.

Model API Protocol List

Model ids vary by provider, but AgentCompass defines three protocol ids. They are also included in the output written by agentcompass list dump. Protocol support also depends on the selected harness. An endpoint implementing OpenAI Chat does not make it compatible with a harness that requires Responses or Anthropic Messages behavior.

Configure the Model Spec

The General Run Parameter Reference introduces the model positional argument and --model-* flags. Together they construct these ModelSpec fields: One agentcompass run command contains one ModelSpec. To compare multiple model ids, declare one named request per model with agentcompass launch; this makes endpoint and inference-setting differences explicit instead of copying one implicit comparison template. Export model connection values once and keep credentials out of command history:

Session-Aware Gateway Keys

--wrap-api-key is an opt-in compatibility mechanism for an internal gateway that understands the AgentCompass session envelope. At model-call time, AgentCompass combines the raw credential with the absolute run-directory id and encodes that envelope before sending it as the API key. This lets the gateway associate requests with one evaluation run. Do not enable the flag for a normal OpenAI-compatible or Anthropic-compatible endpoint: those endpoints expect the raw credential and cannot decode the envelope. The encoding is a transport format, not encryption, so continue to protect the original credential through environment variables and normal secret-management practices.

Select the API Protocol

Pass one explicit protocol for a reproducible run:
If the value is empty or auto, the harness chooses its default. You can also pass an ordered JSON list; the harness selects the first protocol it supports:
An ordered list expresses acceptable alternatives, not a fallback after a request fails. Unsupported harness/protocol combinations should fail during compatibility validation before task execution.

Configure Model Parameters

The --model-params <json> object does not have one AgentCompass-wide generation schema. Its accepted fields are the intersection of three contracts:

Model Parameter Families

These names are not portable by default. For example, OpenAI Chat commonly uses max_tokens, OpenAI Responses uses Responses-specific request fields such as max_output_tokens, and Anthropic Messages has its own required request shape. The protocol pages document how AgentCompass forwards each request. The selected harness page is also authoritative. A CLI-based harness may translate ModelSpec into its own config file instead of forwarding --model-params directly through AgentCompass’s native protocol clients. --model-params must be valid JSON. CLI values deep-merge over matching keys in model.params from configuration files. Pass only the fields that differ from the effective endpoint and harness defaults.

Configure Judge and Analysis Models

Some benchmarks and analyzers use an additional model spec for judging or qualitative analysis. These nested specs use the same concepts—model id, base URL, API key, protocol, and params—but belong to their owning component:
  • Benchmark judge models are normally under --benchmark-params, for example judge_model.
  • Analyzer models are under --analysis-params, such as QualitativeAnalyzer.
  • Tool-specific summarization models may belong to the selected harness.
Do not put judge credentials into the primary --model-params object unless the owning benchmark or harness explicitly documents that schema.

Diagnose Model Configuration

Reduce failures to one task and inspect the harness and endpoint error before changing multiple model parameters at once.