Skip to main content
A business objective states what an AI system has to achieve, for example “refund requests end in the correct resolution”. Each objective has immutable, versioned success contracts and is bound to the things that can change its outcome: an AI system, an evaluation, or an artifact a release ships, such as a prompt or a model binding. The AI release gate uses those bindings. When a release changes an artifact, the gate looks up the objectives bound to it:
  • A changed artifact that no objective is bound to blocks the release with UNKNOWN_DEPENDENCIES.
  • A changed artifact that is bound adds its objective to the release plan. The release must declare the objective in its manifest (IMPACTED_OBJECTIVE_NOT_DECLARED_* otherwise) and have measured outcomes for it (OBJECTIVE_NO_EVIDENCE_* otherwise).
EvalGate works out which artifacts a release changes by comparing its manifest with the release that is serving. A release cannot mark an artifact “unchanged” to skip its objectives.
This is available through the REST API, the generated clients and the evalgate objectives command. There is no web page for objectives yet.

Permissions

Reading needs objectives:read. Creating objectives, versions, bindings and outcome records needs objectives:write, which members, admins and owners hold. Removing a binding, starting an instance and recording an outcome also need objectives:read, because their answers carry the binding’s subject, the stored instance on a replay, and the instance’s decision. Creating and removing bindings is recorded in the audit log. Another organization’s objective, binding, release or artifact answers 404, exactly like one that does not exist.

Bind a prompt to an objective

The example uses the CLI. The same steps are available as createBusinessObjective, createBusinessObjectiveVersion and createBusinessObjectiveBinding in the TypeScript and Python clients, or as POST /api/business-objectives, .../versions and .../bindings.
1

Define the objective

2

Add and activate a success contract

Write the contract to a file, then add it as the active version.
contract.json
A version cannot be changed. Each list in a contract holds at most 100 entries.
3

Bind the artifact

The subject type is the artifact kind (prompt, model_binding, tool_contract, retrieval_index and the other kinds a release manifest accepts) and the subject id is the artifact’s own id. The artifact must already be known to your organization: a release manifest of yours ships it, or your deployable-asset registry holds it. Entities are bound by numeric id with the subject types ai_system, evaluation, workflow, monitor, agent_fleet, runtime_version and repository.evalgate objectives unbind <objective-id> <binding-id> --yes removes a binding. It stays in the history and the subject can be bound again.

Record the outcomes that measure a release

A release that changes a bound artifact needs measured outcomes for the objective. Start an instance for each unit of work (a case, a ticket, a transaction) with the release’s id, then record its outcome events:
event.json
Each event is decided against the instance’s pinned objective version and the decision is returned. Decisions are append-only revisions. After the outcomes are recorded, plan the release again and ask for its decision.
  • The payload is scrubbed of credentials and personal data under your organization’s data policy before it is stored and evaluated. The response returns its hash, never the payload.
  • source.authoritative is what the reporter says about the event. EvalGate records it as reported and does not verify it.
  • Recording is idempotent by idempotencyKey. A request holds at most 64 KiB, and an instance at most 1,000 events.
  • The same instance key with a different release or cohort is refused with 409.

API reference