LangChain’s LangSmith team described a four-stage approach for managing the rising cost of coding agents such as Claude Code, Cursor, and Copilot. The approach normalizes sessions from different coding agents into a single trace model, giving teams unified visibility, standardized cost-comparison metrics, automated optimization recommendations, and spend governance through an LLM Gateway. It cites consolidating redundant tool calls as one concrete way teams have reduced spend.