LangSmith Adds Per-User Tracking: Cost and Traces by user_id
LangChain · x · 2026-12-01
LangSmith launched a user-tracking feature (beta, LangSmith Cloud only): add a userid to your trace's root run metadata to link every trace to an end user.
- See which user is behind each trace, useful for debugging user-reported issues
- Group charts by user, e.g. cost per user
- A Users page shows each user's traces, spend, and errors
Mechanics mirror threadid: the SDK copies root-run metadata to child runs, so set userid once at the root; setting it only on a child run won't surface in the UI. Note userid (end user) differs from lsuserid (LangSmith account).
More from coding & agent
- Developer says he automated Claude to do his entire job, including 3D art for UE5 — theshawwn · 2026-12-01
- Mastra author: building agents is hard because the LLM is just the start of 20+ primitives — latticecut · 2026-12-01
- Ado's Advent of Claude Returns: 31 Days Covering the Full Claude Ecosystem — pjausovec · 2026-12-01
- YC-spotlighted coding agent QM takes a time budget and won't quit before the job is done — ycombinator · 2026-12-01
- "Scheduled tasks are all you need": a one-liner on what makes AI agents work — msg · 2026-12-01
- RustGIS v0.9.0 ships: pure-Rust open-source GIS with loss codes and layout wizard — giswqs · 2026-12-01