Skip to main content
The harness scores each model decision against configurable KPI weights. This lets teams encode business priorities into agent behavior without changing agent code.

KPI Dimensions

Configuration

Weights

Weights are relative. They do not need to sum to 1.0 because they are normalized internally. They control the relative importance of each dimension in the composite score.

Targets

Targets are retained in the run context as policy metadata. Current built-in routing decisions use KPI weights, not KPI targets.

Scoring Formula

The composite score for a model is:
Where w_* are the normalized weights and utility values are computed from model priors.

Quality Priors

Built-in quality priors for common models (OpenAI):

Per-Agent KPI Weights

Different agents can have different priorities:
Agent policy metadata does not create a run automatically. Use run() around the agent execution when enforcement is required.