New in LangSmith: Measure coding agent ROI
275K followers
26,254 views
9 Comments
Comments from the original post on X (Twitter)

@LangChain
4 ways teams can use LangSmith for Coding Agents: 1️⃣ Find PRs that cost the most 2️⃣ Agree on a unit of cost for engineering and finance 3️⃣ Measure a model change 4️⃣ Keep skills current
6 likes

@serxzsz
spend that never led to a pr is the number i'd check first. mine is probably embarrassing
3 likes

@JustinoMolinaro
PRs linked to traces. Finally a receipt for the agent's confidence.
2 likes

@brincoveanuvlad
Merged is the easy number. Does it also track PRs that got reverted or patched within a week?

@chevlume
How do you attribute cost when several threads feed one PR, say a failed Codex run followed by a Claude Code session that lands it? Does the abandoned run count against that PR or go into the never-led-to-a-PR bucket?

@aakashpawar1999
Spend that never led to a merged PR is the number I'd look at first. Does it count subagent tokens toward the PR too?

@ilmAI_
i'd also track how many of those merged prs got reverted.

@MusawirRaji
cost per merged PR is a useful unit. on the platform I'm building every model call's cost is recorded and a daily cap applied while testing. does the dashboard let you set a cap, or only report after?

@jackfireworks
Seeing cost per merged PR is a lot more useful than agent spend on its own, since not every run turns into something you ship.