How-to

LangChain 发布插件:将 Claude Code 会话追踪至 LangSmith

Why we picked it

用三条命令把你的 Claude Code 会话直接接入 LangSmith,所有内部调用一目了然,调试再也不用抓瞎。

LangChain 发布了新插件,可将 Claude Code 的每个会话完整追踪到 LangSmith。用户只需运行三条命令并配置一个 JSON block,即可在两分钟内完成集成。

Image · LangChain
Body

所有消息、工具调用和子代理运行都会显示为可检查的追踪记录,方便排查问题。该插件目前通过 LangChain 的 x.

com 账号公开介绍。

Original · LangChain

We built a plugin that traces every Claude Code session straight into LangSmith. Three commands, one JSON block, and every message, tool call, and subagent run shows up as an inspectable trace. Setup takes about two minutes. How are you currently debugging Claude Code when it goes off track?

Industry Coordinates & Source Verification

This report is categorized under AITOP's "How-to" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows and US-China foundation model benchmarks and commercialization comparison. Key entities and technical topics under continuous tracking include Claude Code, LangSmith, LangChain, debugging.

Source attribution: curated from LangChain (@LangChainAI).

Spotted an error in the summary or translation? Tell us