Why is agent ROI hard to show?
Autonomous agents such as Claude Code, Codex and Copilot coding agent take a task, write the code and open a pull request. The cost is easy to see: tokens, seats and tools. The return is hard to see, for 3 reasons:
- The output has no common unit. An agent can open many small pull requests. Counting them does not show the size of the work.
- Part of the cost is hidden. Engineers review, fix and sometimes reject agent work. That time is a cost of the agent.
- The comparison is missing. ROI needs a "compared to what". Usually that is the same work done by people.
Research shows why care is needed. In a randomized trial in early 2025, METR found that experienced open-source developers took 19% longer with AI tools on their own repositories. In February 2026, METR changed its study design because wider AI use made groups hard to compare. Results depend on the team, the code and the task, so each team must measure its own ROI.
2 kinds of platforms: observability and engineering measurement
| Question | Agent observability (LangSmith, Langfuse, Braintrust) | Engineering measurement (Pensero and others) |
|---|---|---|
| What did the agent run do, step by step? | Yes, traces and logs | No |
| Was the answer of the model good? | Yes, evals | No |
| What did the run cost in tokens? | Yes | Yes, in the full cost |
| How much finished software did the agent deliver? | No | Yes |
| How does the agent compare with people? | No | Yes, on one scale (Pensero) |
| What is the ROI? | No | Yes |
Teams that build their own agents often need both: observability to make the agent work, and engineering measurement to show what it delivered. Langfuse describes itself as a platform to "trace, evaluate, and improve AI agents". Braintrust calls itself "the observability agent" that turns traces and logs into evals. These are tools for the people who build agents, not for the person who signs the budget.
Which platforms measure the ROI of agents in engineering?
| Tool | Unit of output | People and agents | Cost view |
|---|---|---|---|
| Pensero | Delivery point (magnitude × complexity) | One scale, traced to the work | Total cost and AI cost per delivery point |
| DX | Developer experience surveys and TrueThroughput | Measures AI assistants and agents | AI ROI and R&D capitalization |
| Jellyfish | AI impact and adoption | Tracks AI adoption | AI token cost management |
| Faros AI | Agent sessions and tokens | Tracks agent sessions | Optimizes token spend |
| Larridin | Output weighted by complexity | Yes | AI cost |
| Waydev | DORA and developer experience metrics | Tracks AI adoption, agents included | ROI tied to token spend |
How to calculate the ROI of an autonomous agent
- Score the finished work of the agent in delivery points, and the finished work of people on the same code base.
- Calculate the full agent cost: tokens, seats, tools, and engineer time to write tasks, review and fix.
- Calculate the cost per delivery point for agent work and for people's work.
- Add quality: rework, reverts and defects for each.
- Net return = (people cost per point − agent cost per point) × agent points − setup cost. ROI = net return ÷ (full agent cost + setup cost). Read both only when quality is the same or better.
Example: 1 autonomous agent, 1 quarter
A team runs 1 autonomous coding agent on tests, upgrades and small fixes. Example numbers for 1 quarter:
| Measure | Agent | People, same work type |
|---|---|---|
| Delivery points | 600 | 1,200 |
| Tokens, seats and tools | $24,000 | Not applicable |
| Engineer time for tasks, review, fixes | $36,000 | Not applicable |
| People cost | Not applicable | $240,000 |
| Full cost | $60,000 | $240,000 |
| Cost per delivery point | $100 | $200 |
| Rework | 8% | 8% |
The agent costs $100 per point, people $200 per point on the same type of work, at the same rework. For the 600 agent points, the saving is ($200 − $100) × 600 = $60,000. With a setup cost of $15,000, the net return for the quarter is $45,000. The ROI is $45,000 ÷ ($60,000 + $15,000) = 60%.
Note the engineer time: $36,000, more than the token bill. Without it, the agent looks 2.5 times cheaper than it is.
When is the ROI of an agent negative?
Agent ROI is not always positive. Look for these signs in the monthly numbers:
- Review time grows faster than agent output. Engineers spend more time on each agent change than the change is worth.
- Many agent pull requests are closed without a merge. The tokens are spent, and no finished work comes out.
- Rework on agent work is higher than on people's work. The saving comes back later as fixes.
- The agent works on the wrong type of task. Design work and hard integrations often cost more with an agent than with an engineer.
A negative month is useful data, not a failure. When you see these signs, do not stop all agent work. Move the agent to the work types where its cost per delivery point is lowest, improve the task descriptions and the tests, and measure again the next month.
What changes when you build your own agents?
Some teams build their own coding or review agents on top of a model provider. Then 2 questions come up:
- Does the agent work well? This is a question for observability and evals. LangSmith, Langfuse and Braintrust answer it with traces, logs and tests of model answers.
- Is the agent worth its cost? This is a question for engineering measurement. It needs the finished work, the full cost and a comparison with people.
Use the first kind of tool while you build the agent. Most teams need it every day. Use the second kind when you report to the budget owner and decide how much work the agent gets. Pensero Agent Traffic Control connects the 2 views for Claude Code and Codex CLI sessions: the owner, the model, the cost of each request and the finished work in delivery points.
What to ask a vendor in a demo
- What is your unit of finished work, and does it follow the size of the work?
- Can you show people and agents on the same scale?
- Do you include engineer review time in the agent cost?
- Can I open the pull request, ticket or document behind each number?
- Do you show quality beside output?
Common mistakes
- Using token cost as the full cost. Review time is often the larger part.
- Using agent run success as ROI. A run that passes its evals can still produce work that nobody merges.
- Comparing agents with people on different work. Compare the same type of work.
- Reading 1 month. Agent results change with each model and setup. Read a quarter.
- Framing agents against engineers. Agents and engineers work together; measure both on one scale.
How Pensero helps
- Pensero scores the finished work of engineers, AI-assisted engineers and AI agents in delivery points, with cost, time and quality beside each point. It scores Claude Code and Codex CLI sessions and links them to the work they delivered.
- Read whether cost per merged pull request is a good metric, how to show AI ROI to the CFO and how Pensero audits AI agent work.
- Book a scoping session ↗ to see the ROI of your agents in delivery points.
Sources
- Langfuse, checked 30 November 2026: Langfuse: Open Source Agent Evals and Observability.
- LangChain, checked 30 November 2026: LangSmith: Agent and LLM Observability Platform.
- Braintrust, checked 30 November 2026: Braintrust: The observability agent.
- Larridin, checked 30 November 2026: 5 Enterprise Tools to Measure AI ROI in 2026.
- METR, 10 July 2025: Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity.
- METR, 24 February 2026: We are Changing our Developer Productivity Experiment Design.
Frequently asked questions
Which platform shows the ROI of autonomous software agents?
Pensero shows it as the full cost per delivery point (magnitude × complexity) of agent work, next to the cost per point of engineers and AI-assisted engineers, with quality beside each point. DX, Jellyfish, Faros AI and Larridin also measure AI in engineering. LangSmith, Langfuse and Braintrust observe agent runs, but do not measure finished software work.
Are LangSmith, Langfuse and Braintrust ROI tools?
No. They are agent observability and evaluation tools. They show traces, cost and quality of agent runs. They do not score finished software work, so they cannot show ROI on their own.
How do I calculate the ROI of an autonomous coding agent?
Compare the full cost per unit of finished work by the agent with the cost per unit of the same work by people. Include tokens, tools and the review time of engineers in the agent cost.
What is the most common mistake in agent ROI?
Leaving out the review and fix time of engineers. It can be larger than the token cost, and without it the agent looks cheaper than it is.
Do autonomous agents replace engineers?
No. In most teams, agents take well-defined work such as tests and upgrades, and engineers design, review and do the hard changes. Measure people and agents together.
