<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-improve-agent-experience-ax-with-ci-vksn8ghj6" -->

---
title: How to improve agent experience (AX) with CI | daily.dev
description: Agent experience (AX) can degrade silently as a product's APIs, CLIs, and MCP tools change, so CI should be used to catch regressions before they reach users....
canonical: https://daily.dev/posts/how-to-improve-agent-experience-ax-with-ci-vksn8ghj6
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to improve agent experience (AX) with CI | daily.dev
og:description: Agent experience (AX) can degrade silently as a product's APIs, CLIs, and MCP tools change, so CI should be used to catch regressions before they reach users....
og:url: https://daily.dev/posts/how-to-improve-agent-experience-ax-with-ci-vksn8ghj6
og:image: https://api.daily.dev/og/posts/vkSn8ghJ6.png
og:image:alt: How to improve agent experience (AX) with CI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to improve agent experience (AX) with CI

**[CircleCI](https://daily.dev/sources/circle)** · 9 min read · 0 upvotes · 0 comments

## Summary

Agent experience (AX) can degrade silently as a product's APIs, CLIs, and MCP tools change, so CI should be used to catch regressions before they reach users. The recommended approach layers deterministic contract tests (schemas, exit codes, error codes, idempotency) with probabilistic agent evals that run representative workflows and track completion, tool calls, retries, and token use against a baseline. Failed evals should be diagnosed back to a specific interface problem and preserved as regression tests, and fixes should target the interface rather than the prompt, since prompt fixes only help one consumer while interface fixes help every agent. CircleCI positions its pipeline features, including Smarter Testing and machine-readable failure reports, as suited to running both contract tests and agent evals alongside existing test suites.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://circleci.com/blog/improve-agent-experience-with-ci>

## Questions this post answers

### What is the difference between contract tests and agent evals for testing agent experience?

Contract tests are deterministic checks against agent-facing interfaces, such as API response schemas, CLI JSON output, MCP tool manifests, exit codes, and idempotent behavior, and they can use hard pass/fail gates in CI. Agent evals instead run representative workflows through a model and are probabilistic, so they need repeated runs, success-rate thresholds, and comparison against a baseline rather than exact-match assertions.

_daily.dev surfaces practical patterns like this for teams building CI pipelines around agent-facing products._

### What should I check before changing a prompt when an agent eval regresses?

Check whether something in the system around the model changed rather than immediately editing the prompt: whether context became harder to retrieve, a tool description became ambiguous against a neighboring tool, state became implicit, an error lost actionable detail, the workflow gained a round trip, or an action became unsafe to retry. Fixing the interface benefits every agent that uses it, while a prompt fix only helps the one interaction using that prompt.

_Developers debugging agent regressions can track interface-first fixes like these through daily.dev._

### What metrics should an agent eval capture besides task completion?

Task completion alone can hide poor agent experience, so evals should also capture which tool was selected, how many tool calls were needed, how often the agent retried, whether it could interpret and recover from an error, how long resolution took, how much inference budget it consumed, and whether a human had to intervene. Netlify's AXIS framework captures this same set of signals to detect agent-experience regressions as its product changes.

_daily.dev helps engineers comparing agent-evaluation approaches like AXIS stay current on the practice._

## Similar posts on daily.dev

- [Your CI/CD Pipeline Is Not Ready To Ship AI Agents](https://daily.dev/posts/your-ci-cd-pipeline-is-not-ready-to-ship-ai-agents-imnreunmi) · The New Stack · 0 upvotes · 0 comments
- [From AI agent prototype to product: Lessons from building AWS DevOps Agent](https://daily.dev/posts/from-ai-agent-prototype-to-product-lessons-from-building-aws-devops-agent-rkmnjbdtq) · AWS · 1 upvotes · 0 comments
- [Your best AX fixes are hiding in agent trajectories](https://daily.dev/posts/your-best-ax-fixes-are-hiding-in-agent-trajectories-oamx7isyr) · DevBlogs · 3 upvotes · 0 comments
- [Agents have made CI the bottleneck. Faster pipelines are the wrong fix.](https://daily.dev/posts/agents-have-made-ci-the-bottleneck-faster-pipelines-are-the-wrong-fix--fott4jdmy) · The New Stack · 2 upvotes · 0 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#cicd](https://daily.dev/tags/cicd), [#mcp](https://daily.dev/tags/mcp), [#circleci](https://daily.dev/tags/circleci)

[View this post on daily.dev](https://daily.dev/posts/how-to-improve-agent-experience-ax-with-ci-vksn8ghj6)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to improve agent experience (AX) with CI","url":"https://daily.dev/posts/how-to-improve-agent-experience-ax-with-ci-vksn8ghj6","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-improve-agent-experience-ax-with-ci-vksn8ghj6"},"datePublished":"2026-09-23T23:40:19.689Z","dateModified":"2026-09-23T23:40:45.642Z","description":"Agent experience (AX) can degrade silently as a product's APIs, CLIs, and MCP tools change, so CI should be used to catch regressions before they reach users....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e93cf9f36d68193186a191b41588dfaf?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e93cf9f36d68193186a191b41588dfaf?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"CircleCI","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"CircleCI","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/661fc536429943fdb5426b9f33fd8e3c","url":"https://daily.dev/sources/circle"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-to-improve-agent-experience-ax-with-ci-vksn8ghj6","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"testing,cicd,mcp,circleci","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"CircleCI","item":"https://daily.dev/sources/circle"},{"@type":"ListItem","position":3,"name":"How to improve agent experience (AX) with CI"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-to-improve-agent-experience-ax-with-ci-vksn8ghj6#faq","mainEntity":[{"@type":"Question","name":"What is the difference between contract tests and agent evals for testing agent experience?","acceptedAnswer":{"@type":"Answer","text":"Contract tests are deterministic checks against agent-facing interfaces, such as API response schemas, CLI JSON output, MCP tool manifests, exit codes, and idempotent behavior, and they can use hard pass/fail gates in CI. Agent evals instead run representative workflows through a model and are probabilistic, so they need repeated runs, success-rate thresholds, and comparison against a baseline rather than exact-match assertions. daily.dev surfaces practical patterns like this for teams building CI pipelines around agent-facing products."}},{"@type":"Question","name":"What should I check before changing a prompt when an agent eval regresses?","acceptedAnswer":{"@type":"Answer","text":"Check whether something in the system around the model changed rather than immediately editing the prompt: whether context became harder to retrieve, a tool description became ambiguous against a neighboring tool, state became implicit, an error lost actionable detail, the workflow gained a round trip, or an action became unsafe to retry. Fixing the interface benefits every agent that uses it, while a prompt fix only helps the one interaction using that prompt. Developers debugging agent regressions can track interface-first fixes like these through daily.dev."}},{"@type":"Question","name":"What metrics should an agent eval capture besides task completion?","acceptedAnswer":{"@type":"Answer","text":"Task completion alone can hide poor agent experience, so evals should also capture which tool was selected, how many tool calls were needed, how often the agent retried, whether it could interpret and recover from an error, how long resolution took, how much inference budget it consumed, and whether a human had to intervene. Netlify's AXIS framework captures this same set of signals to detect agent-experience regressions as its product changes. daily.dev helps engineers comparing agent-evaluation approaches like AXIS stay current on the practice."}}]}
```

