# CI/CD regression gates for AI agents

Model, prompt, RAG, and tool changes should not ship on vibes. AgentClash runs repeatable agent workloads in CI, compares candidates to baselines, and blocks merges when behavior regresses.

Source: https://www.agentclash.dev/ci-cd-agent-evaluation
Markdown export: https://www.agentclash.dev/md/ci-cd-agent-evaluation

## What CI/CD agent eval needs

Release engineering needs pinned datasets, stable scoring, and enough replay evidence to debug a failed gate without reproducing the issue manually.

- Pin a workload, candidate, baseline and policy in the gate configuration.
- Read gate output and review the run before deciding whether to refresh the baseline.

## How do I configure a gate and interpret failure?

Select a workload, candidate, baseline and policy in the manifest. If the gate fails, inspect its output and run replay before deciding what to change.

A stale or unsuitable baseline can make a gate failure misleading; thresholds and workload coverage also limit what the gate detects

## CI gate workflow

### 1. Configure a manifest

Pin a workload, candidate, baseline and policy in the gate configuration.

### 2. Investigate failure

Read gate output and review the run before deciding whether to refresh the baseline.

## Wire gates with docs

Start with dataset or challenge-pack gates, then promote real failures into cases your pipeline can rerun on every change.

- [CI/CD agent gates](https://www.agentclash.dev/docs/guides/ci-cd-agent-gates): Configure and interpret a CI gate.
- [Dataset CI gates](https://www.agentclash.dev/docs/guides/dataset-ci-gates): Set up gates for dataset workloads.
- [Agent regression testing](https://www.agentclash.dev/platform/agent-regression-testing): Product overview for trace and dataset-driven regression testing.
- [Datasets overview](https://www.agentclash.dev/docs/guides/datasets-overview): Import examples, record baselines, sync regression suites, and gate CI.
- [Agent evals](https://www.agentclash.dev/agent-evals): Real-task agent evals with replay evidence and CI gates.
- [LLM agent evaluation](https://www.agentclash.dev/llm-agent-evaluation): Evaluate LLM agents on full trajectories, not one-shot answers.
- [Compare tools](https://www.agentclash.dev/compare): See how AgentClash differs from prompt-eval platforms.

## CI/CD agent evaluation FAQ

### How do agent eval gates fit into CI/CD?

A dataset or challenge pack runs on every candidate change, AgentClash compares the scorecard to a baseline, and the pipeline fails when configured thresholds regress.

### What happens when a gate fails?

Reviewers open replay evidence, inspect tool calls and artifacts, and either fix the regression or update the baseline intentionally.

### Can gates cover cost and latency budgets?

Yes. Scorecards include correctness and evidence quality plus cost and latency signals you can enforce in release policy.