Is cost per merged PR a good metric for coding agents?

Answered by Falk Gottlob · Reviewed · 1 min read

THE SHORT ANSWER

Good attribution, poor headline. LangSmith for Coding Agents (Jacob Lee, LangChain, November 18, 2026) ties agent spend to pull requests and reports cost per merged PR. The count stops at merge: review time is outside it, a merged change can be reverted or used by nothing, and work with no PR lands in a row called unattributed. I shipped 39 agents and 13 were referenced by nothing. Report cost per change still standing at day 30, with review minutes in the cost.

SOURCES

THE LONG VERSION

RELATED ANSWERS