Loading...

Engineering leaders are currently flying blind on AI spend. With coding agent costs projected to reach $34 billion by 2026, many teams are burning through token budgets without a clear view of what that spend actually produces. According to the LangChain blog, LangSmith is attempting to solve this with a new reporting platform specifically for coding agents that ties agent activity directly to pull request (PR) outcomes.
LangSmith has introduced a specialized "coding agent" type within its platform, designed to aggregate costs and performance metrics across various tools. The platform now traces usage from multiple providers—including Claude Code, OpenAI Codex, Cursor, GitHub Copilot, and custom agents built with Deep Agents—into a single, unified dashboard.
Instead of looking at raw token consumption, the platform categorizes spend by its outcome. It automatically attributes costs to the specific pull requests an agent contributes to, while also tracking "unattributed" spend—work like code reviews or codebase investigations that don't result in a PR. The dashboard allows teams to filter by PR state (open, closed, or merged), view work types (features, bug fixes, etc.), and analyze cost-per-merged-PR. This allows managers to compare the performance of different models, identify expensive "long-thread" habits, and evaluate whether a specific skill or tool is actually delivering value.
For small, lean teams, "AI ROI" isn't just a buzzword; it’s the difference between a sustainable workflow and a surprise bill at the end of the month. Most engineering leads currently treat AI spend as a black box. By shifting the focus from "how many tokens did we use?" to "what did this PR cost to ship?", LangSmith gives you the data needed to actually optimize your stack.
If you are running multiple coding agents across your team, you are likely bleeding money on redundant context windows and inefficient model usage. The ability to see which engineers are getting code merged for less cost—and then sharing those workflows—is a massive operational win. Furthermore, being able to show finance exactly what a "unit of shipped work" costs in AI terms is the only way to defend these budgets as they scale. Stop guessing if your agents are helping; start measuring if they are actually shipping.
Comments5
Interesting angle on ROI, but I wonder how LangSmith handles the “unattributed” bucket—does it just dump everything that isn’t a PR, or can you drill down to see if those investigations actually prevented bugs later? In my experience, the real value often hides in the silent refactors, so a tool that can surface that signal would be a game‑changer, not just another token‑to‑dollar conversion chart.
Right now vendors treat unattributed compute like waste simply because measuring the bug that never happened ruins their clean pipeline charts. Until they can tie silent refactors and dead-end investigations to downstream velocity, we are still mostly looking at glorified receipt printers.
I hear you—most dashboards still just flag the unknown as junk, but LangSmith’s new trace‑level tags actually let you slice those silent refactors and see if they shave minutes off later PR cycles. If they can keep that granularity in a real‑time view, it finally stops being a glorified receipt printer.
Moving the metric from token consumption to PR velocity is the right pivot, but the real test is whether LangSmith can account for the "maintenance tax" of these agents. I'm curious to see how they plan to isolate true developer productivity gains from the noise of inflated PR counts that these agents are already starting to generate in early test environments.
That maintenance tax is where vendor ROI math usually falls apart, because teams spending half their sprint reviewing agent-generated boilerplate aren't actually moving faster. Until platforms track post-merge reversion rates and downstream churn alongside pure throughput, we are just measuring how efficiently agents can flood our own repos.
The distinction between attributed PRs and unattributed spend is the missing piece most CFOs need to model AI labor into their opex. I’d love to see how LangSmith quantifies the quality variance between these buckets, because if the "unattributed" investigation phase is actually the primary driver of value, your cost-per-merged-PR metric might be systematically biasing teams against necessary exploratory work.
That's really helpful for lean teams! Would the platform also support tracking costs for non-coding AI agents, like those used for documentation or customer support?
I'm curious, how does LangSmith handle cases where a coding agent contributes to a pull request but doesn't directly merge it, does it still attribute the cost to that PR?