Introducing LangSmith Fetch: Debug agents from your terminal
Blog post from LangChain
LangSmith Fetch is a newly launched CLI tool that integrates LangSmith tracing capabilities directly into developers' terminals and IDEs, enhancing workflow efficiency by eliminating the need to switch between interfaces. Designed for developers who prefer command-line environments, it allows seamless access to trace data without navigating the LangSmith UI, making it especially useful for those using coding tools like Claude Code or Cursor. LangSmith Fetch supports two primary workflows: immediate access to recent traces for debugging and bulk export of data for evaluation or analysis, all through simple command-line operations. By providing programmatic access to agent execution data, it enables coding agents to perform advanced debugging tasks, such as analyzing decision points and suggesting improvements. The tool is compatible with existing LangSmith setups, requiring no additional configuration, and offers flexibility beyond real-time request/response patterns, making it a versatile addition to a developer's toolkit. Available on PyPI, LangSmith Fetch is positioned as a fundamental building block that enhances agent observability and debugging capabilities directly from the terminal.