# Your agent could be perfect and still miss the client's target

> A metric tree drawn before the first prompt shows which fix pays off most, and when the scope is too narrow to reach the goal.

Original: https://fdetimes.net/en/guides/metric-tree-agent-evals-client-goals/

Amazon once measured the breadth of its selection by the number of new product pages, and teams rushed to add pages. According to the book "Working Backwards", as cited by Commoncog, the metric was later adjusted to account for page views and then stock availability, and became "Fast Track In Stock".

Those adjustments show what had gone wrong. A page nobody views, or one that people view when the item is out of stock, does nothing for the shopper, even as the number climbs.

FDEs meet the same problem in their first week at a client. The operations director says "reduce the load on the support team", while what you have in hand is an agent's eval score. The two numbers sit several layers apart, and the agent can improve steadily without the director noticing any difference.

A metric tree connects the two ends. Once you can draw it, you know what to fix first and which targets to turn down, and you can answer the question "If the agent gets ten points better, what do I get?"

## Stop at a number one team can move

In Count's introduction to the idea, each node of the tree is a metric and each edge is a driver or influence. Its example: lead acceptance rate is influenced by lead score.

Mixpanel's guide says when to stop: when the metric is specific enough for one team to change it through its daily work.

Why go that deep? A Holistics article on Amazon argues that CEOs, and companies in general, find it very hard to control output metrics directly, so attention has to go to input metrics.

With an agent, test each leaf with three questions. Who is responsible for improving it? Can that person change it within a week? Can it be read from the client's systems? If any answer falls short, keep breaking it down.

It also helps to draw two kinds of line. Use a solid line for relationships you can calculate, such as tickets multiplied by minutes per ticket. Use a dashed line for hypotheses, such as "faster replies keep customers longer".

Dashed lines need testing. Mixpanel shows the Pearson correlation coefficient on the edge itself, yet still warns that correlation does not prove one metric causes another.

## A returns agent, measured in hours

Take a hypothetical online store and follow the calculation through. It receives 1,000 returns tickets a week, and staff spend 12 minutes on each, or 200 hours in total. The operations director wants to cut 100 hours.

The agent is given only 300 simple tickets. It gets 180 right, hands 90 to a person, and leaves 30 that look finished but are wrong. Handed-off cases come with a summary, so they take only 8 minutes; wrong cases take 20, because someone has to untangle the error and redo the work.

The root of the tree is staff hours. The middle layer holds the three groups of work still left to people, and the leaves are the agent's rates. The guardrail metric stands beside the root, outside the hours calculation.

```text
ROOT: 162 hours/week (target 100)
│    [GUARDRAIL: repeat contact
│     within 7 days]
│
├── Out of scope: 140 hours
│   │   700 tickets × 12 minutes
│   └╌╌ Take 100 more tickets?
│
├── Handed off: 12 hours
│   │   90 tickets × 8 minutes
│   └── Leaf: 30% of 300
│
└── Wrong: 10 hours
    │   30 tickets × 20 minutes
    └── Leaf: 10% of 300

── calculated   ╌╌ hypothesis
```

The remaining 60%, the 180 cases the agent gets right, cost staff no time at all. Every leaf connects to the root by solid lines, so the formula fits in a few lines:

```python
def human_hours(total=1000, in_scope=300, correct=180, handoff=90, wrong=30):
    assert correct + handoff + wrong == in_scope
    minutes = (total - in_scope) * 12 + handoff * 8 + wrong * 20
    return minutes / 60

print(human_hours())                                   # 162.0
print(human_hours(correct=300, handoff=0, wrong=0))    # 140.0
```

The support team now spends 162 hours, a saving of 38. The second printed line is the one to take into the meeting: even if the agent were perfect on all 300 tickets, the client would save only 60 hours. The 100-hour target is out of reach for this scope, and no prompt can rescue it.

## Which branch should you fix first?

Suppose the client's dashboard counts a case as "self-resolved" when the agent has replied and the customer goes quiet. That lumps the 180 correct cases with the 30 wrong ones, giving 210 out of 300, or 70%. You have three possible improvements, all run through the same formula.

| Improvement | Additional hours saved | "Self-resolved" rate |
|---|---|---|
| Get right 30 cases that used to be handed off | 4 | 70% up to 80% |
| Correctly hand off 30 cases now done wrong | 6 | 70% down to 60% |
| Take 100 more tickets at the same quality | about 12.7 | still 70% |

The option that flatters the dashboard most saves the fewest hours. Teaching the agent to stop when it is unsure pays more, even though the self-resolved rate drops ten points. Widening the scope pays most, as long as quality on the new ticket types holds as assumed. That is a dashed line, so test it on a small sample first.

Even 400 tickets would not reach the target. Getting all 400 right would save only 80 hours. To save 100, the agent would have to get a full 500 cases right; at current quality, it would need to take about 790. Put those numbers on the table before anyone promises leadership 100 hours.

**Key point:** An improvement worth making can push the agent's self-resolved rate down.

Intercom shows how much the definition of a leaf matters. The company counts an "assumed resolution" when a customer asks nothing more after Fin's answer, separately from cases where the customer confirms they were helped. It later moved to counting "outcomes", which include deliberate handoffs, because full automation is not always appropriate.

A leaf, then, has to measure results. Anthropic's eval guide separates the transcript, meaning what the agent says and does, from the outcome, meaning the final state of the environment when the run ends. For a returns agent, check whether the refund exists in the system and matches the right order.

## Forty minutes with the person who owns the goal

To draw a first version, ask for a short meeting and put the questions in this order. "At the end of the quarter, which report will you open to see whether this worked?" The answer is the root of the tree, along with the name of its owner.

Next: "Which numbers is that figure calculated from?" Ask for the file or the query while you are there. Then: "If this number improves and you are still unhappy, what would be the reason?" That is where you find the guardrail metric, the thing that must not get worse.

After the meeting, sit with a support agent on the client's staff and time 20 tickets, so that measured minutes replace guessed ones. Fill in the formula, calculate the ceiling and send back one page: root, leaves, the person responsible for each leaf, current numbers and the guardrail metric.

If the ceiling is below the target, say so at once and offer two choices: widen the scope as far as the calculation requires, or lower the target.

Finally, attach evals to the leaves. Colin Jarvis, who leads OpenAI's FDE team, has described a voice project in which the model reached only about 60% on the key evals during scoping; OpenAI says the score later rose to 80% and then passed 90%. With gains like that, your job is to show the client what each step buys at the root.

## Trees that look right and still fail

A common mistake is to have only one branch. Klarna CEO Sebastian Siemiatkowski told Bloomberg, according to Fortune, that cost seemed to have been weighted too heavily in organizing customer service with AI, and that the result was lower quality.

In the returns example, the guardrail metric is the share of customers who have to make contact again within seven days. If hours fall while that rate rises, the saving may simply be work pushed into next week.

A subtler mistake is to choose the right leaf and then optimize it until it means nothing. A Spotify Confidence article warns that when teams design changes specifically to push a proxy metric, its link to the real goal breaks. Keep a random group of tickets away from the agent, so you can compare actual hours worked on each side.

The last mistake is to frame the tree and forget it. In Commoncog's account of Amazon's weekly business review, teams are expected to add input metrics, and to drop them when they stop working. Set aside ten minutes a week to ask: the leaf has moved, but has the root moved with it?

## Put the tree on your résumé

OpenAI's FDE posting in San Francisco measures success by real use in production, measurable impact on workflows, and eval feedback that changes the product and model roadmap.

Drawn as a tree, workflow impact would sit toward the root, with evals attached to the leaves. When you read other postings, check whether they name an impact on workflows or only list tools.

On your résumé, write up each project this way: "Moved [leaf metric] from A to B, which changed [root metric] from C to D, while [guardrail metric] held at E." If you lack C and D, state the formula you used to estimate them. Interviewers may press you on the edge that connects the two, so prepare that part most carefully.

At your next demo, put the eval score at the bottom of the page and the client's hours at the top. If you cannot write the lines in between, you know what to do tomorrow morning.

**Try this week:**

- Choose an agent you have built, write the goal of the person paying for it at the top of a page, and break it down three layers until you reach the eval score. Mark each edge as a calculation or a hypothesis.
- Calculate the ceiling: if the agent were 100% correct within its current scope, how far would the goal move? Put the result in one sentence and send it to the project lead.
- Take 20 cases the agent reported as done, open the system of record and count how many have a final state that is actually correct.

## Sources

- [Mixpanel Docs: Close the strategy-execution gap](https://docs.mixpanel.com/guides/guides-by-use-case/empower-your-team/close-strategy-execution-gap.md)

- [Intro to metric trees (Count, Oliver Hughes)](https://count.co/blog/intro-to-metric-trees)

- [Mixpanel Docs: Metric Tree](https://docs.mixpanel.com/docs/metric_tree)

- [The Amazon Weekly Business Review (Commoncog)](https://commoncog.com/the-amazon-weekly-business-review/)

- [How Amazon Uses Input Metrics (Holistics)](https://holistics.io/blog/how-amazon-uses-input-metrics/)

- [Commoncog case: Amazon incentives and category expansion](https://commoncog.com/c/cases/amazon-incentives-category-expansion/)

- [Demystifying evals for AI agents (Anthropic)](https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents)

- [Understanding Fin outcomes (Intercom Help)](https://www.intercom.com/help/en/articles/13513868-understanding-fin-outcomes)

- [From resolutions to outcomes: Evolving how Fin delivers value (Intercom, Darragh Curran)](https://www.intercom.com/blog/from-resolutions-to-outcomes-evolving-how-fin-delivers-value)

- [Fortune: Klarna AI, humans and return on investment](https://www.fortune.com/2025/05/09/klarna-ai-humans-return-on-investment)

- [When Proxy Metrics Break: How Optimizing for Proxies Can Backfire (Spotify Confidence)](https://confidence.spotify.com/blog/proxy-metrics)

- [OpenAI: Forward deployed engineering means (Colin Jarvis)](https://openai.com/index/forward-deployed-engineering-means/)

- [OpenAI Careers: Forward Deployed Engineer (FDE) - SF](https://openai.com/careers/forward-deployed-engineer-(fde)-sf-san-francisco/)
