# We figured out how to measure agent effectiveness

> Source: <https://newsletter.getdx.com/p/we-figured-out-how-to-measure-agent>
> Published: 2026-12-02 11:09:02+00:00

**Recommendation:** Rate agent session transcripts 1-5 on clarity, actionability, fidelity and efficiency to catch context friction; in DX's test, flawed context raised token use 91% despite correct answers.
More in the playbook "Evals and testing for LLM apps": <https://wpnews.pro/playbooks/evals-testing>

**Welcome to the latest issue of Engineering Enablement,** a weekly newsletter sharing research and perspectives on developer productivity.

🗓 Join me for a [live discussion](https://getdx.com/webinar/whats-next-for-developer-productivity-2027-predictions?utm_source=newsletter) on December 15, as experts from DX and Atlassian share their biggest predictions for 2027 on AI, developer productivity, and the shifts engineering leaders should prepare for. [Register here.](https://getdx.com/webinar/whats-next-for-developer-productivity-2027-predictions?utm_source=newsletter)

**Scott:** Two months ago, [we released CAFE(S)](https://getdx.com/whitepaper/the-cafes-framework/), a new framework for assessing context quality. Now, we have a way to measure the impact of that context quality on engineering outcomes and token usage.

Drawing from more than a decade of experience measuring developer experience (DevEx), [Brian Houck](https://open.substack.com/users/262601195-brian-houck?utm_source=mentions) and [Grace Fu](https://open.substack.com/users/496785640-grace-fu?utm_source=mentions) designed a rubric-guided language model to rate a variety of dimensions of developer-agent session transcripts using a scale 1 to 5.

This gives us our first real window into how agents perform at regular tasks, what holds them back, and the steps you can take to improve agentic coding outcomes.

Over to Brian to dig into what we found.

**Brian:** AI coding agents are producing more code than ever. But are we giving them the information they need to work effectively?

We can measure how much code agents produce, how many tokens they consume, and whether they complete their tasks. What we often cannot see is how much effort they waste compensating for unclear requirements, missing constraints, or inaccurate information.

Our latest research introduces a way to measure that friction: [Agent Experience (AX)](https://getdx.com/whitepaper/devex-is-for-humans-ax-is-for-agents/?utm_source=newsletter)[.](https://getdx.com/whitepaper/devex-is-for-humans-ax-is-for-agents/?utm_source=newsletter)

## A correct answer can still be costly

In our research, we gave an AI coding agent the same data analysis task twelve times. One session received clear, complete context. In the other eleven, we deliberately introduced problems such as ambiguous instructions, missing objectives, inaccurate information, or unnecessary context.

Every session eventually produced the correct core numerical result the analysis task was expected to output. But there was a striking difference in how much effort the agents needed to get there.

Sessions with deliberately introduced context problems processed **91% more tokens**, on average, than the clean baseline.

This was one controlled experiment, not an estimate of how much poor context costs across every organization. But it illustrates a problem with measuring agents entirely through their outputs.

An agent can produce the right answer, while spending substantially more resources getting there. Looking only at the result misses the additional searching, clarification, and recovery effort.

It highlights the need to measure the conditions agents work in, not just what they produce.

## Introducing Agent Experience (AX)

For human developers, we’ve spent years measuring Developer Experience (DevEx) to understand whether people have the conditions to do their best work.

AX applies a similar philosophy to agents.

Building on the [CAFE(S) framework](https://queue.acm.org/doi/10.1145/3847288), AX examines four dimensions of context quality:

- **Clarity:** Could the agent understand what was being asked?
- **Actionability:** Did it have a clear objective, constraints, and definition of done?
- **Fidelity:** Could it trust the information it was given?
- **Efficiency:** Was the relevant information easy to find and use?

AX uses a rubric-guided language model to assess agent-session transcripts. It produces a score for each dimension, along with an explanation of the friction encountered and what a human could have provided to make the interaction more effective.

To validate AX, we tested it on 1,000 real-world session transcripts. We also tested whether AX could recognize deliberately introduced context problems across 12 test sessions. Testing using five different models, 70% of injected context failures were correctly flagged by AX.

Compare that to 27% of the dimensions that didn’t have a purposefully injected context failure that AX flagged. That doesn’t necessarily mean those are false positives. Human error in the test process and a natural tendency for some failures to travel together (e.g. clarity and actionability) may explain much of that 27%. The explanation accompanying each score helps teams review the finding and decide whether a context repair is warranted.

These are encouraging early results that suggest AX can identify context-related problems that traditional activity and outcome metrics may overlook.

For more on the research, including the experimental design and limitations, see our [AX research paper](https://arxiv.org/abs/2611.33480) and [AX whitepaper.](https://getdx.com/whitepaper/devex-is-for-humans-ax-is-for-agents/?utm_source=newsletter)

## From measuring context to improving it

The real opportunity with AX isn’t simply giving agents a score. It’s learning from their experiences.

Imagine several agents repeatedly struggling because a team’s internal terminology is ambiguous, or because a critical compatibility requirement never appears in the task description.

AX can help surface these recurring problems. Developers can then review the findings and improve shared documentation, agent instructions, or acceptance criteria.

The next agent gets better context because of what the previous sessions revealed.

That’s the context-health flywheel: using evidence from agent sessions to help teams continuously improve the information environment their agents depend on.

CAFE(S) gave us the language for context quality; this is how you put it to work.

**Want to learn more?** Read the [AX whitepaper](https://getdx.com/whitepaper/devex-is-for-humans-ax-is-for-agents/?utm_source=newsletter) for the practical implications, or dive into the [research paper](https://arxiv.org/abs/2611.33480) on ArXiv for the full evaluation.
