Luisa Crawford
Dec 10, 2025 18:52
LangChain introduces LangSmith Fetch, a CLI instrument that integrates LangSmith tracing into developer workflows immediately from the terminal, optimizing agent debugging processes.
LangChain has introduced the discharge of LangSmith Fetch, an modern command-line interface (CLI) instrument designed to streamline the debugging course of for builders working with brokers. This instrument integrates the great capabilities of LangSmith tracing immediately into the terminal and built-in improvement environments (IDEs), enhancing the effectivity of agent debugging workflows.
Addressing Developer Frustrations
LangSmith Fetch goals to eradicate the frequent friction builders encounter when debugging brokers. Historically, builders utilizing coding instruments comparable to Claude Code or Cursor wanted to modify to the LangSmith UI to entry hint information, disrupting their workflow. With LangSmith Fetch, builders can now entry hint information immediately from the terminal, decreasing the necessity for context-switching and enhancing productiveness.
Options and Functionalities
The instrument is constructed round two main developer workflows: instant hint fetching and bulk information export. Builders can retrieve the newest hint information with a easy command, bypassing the necessity for internet interfaces and handbook information dealing with. As an illustration, the command langsmith-fetch traces --project-uuid offers prompt entry to hint information in JSON format.
LangSmith Fetch additionally helps bulk export functionalities, permitting builders to extract massive datasets for analysis and evaluation. This function is especially helpful for creating take a look at suites and analyzing manufacturing failures.
Empowering Coding Brokers
One of many standout options of LangSmith Fetch is its means to reinforce the capabilities of coding brokers. By offering direct entry to complete agent execution information, coding brokers like Claude Code can analyze decision-making processes, establish inefficiencies, and recommend enhancements based mostly on actual execution information. This integration transforms coding brokers into highly effective debugging instruments.
Integration and Compatibility
LangSmith Fetch seamlessly integrates with current LangSmith setups with out requiring extra configuration. Builders can set up the instrument through pip and start using its options instantly. The instrument makes use of the identical authentication protocols because the LangSmith platform, guaranteeing a clean transition for present customers.
Why a CLI Device?
The choice to develop a CLI instrument, relatively than an MCP server, was pushed by the necessity for flexibility and compatibility with current developer workflows. Whereas MCP (Mannequin Context Protocol) excels in real-time instrument calling, a CLI instrument affords higher versatility, permitting builders to combine it into varied workflows and instruments with out restrictions.
LangChain emphasizes the CLI’s alignment with the Unix philosophy of flexibility and composability, enabling builders to leverage LangSmith Fetch in quite a few methods, from fast hint inspections to batch processing and integration with coding brokers.
For extra info and to get began with LangSmith Fetch, go to the LangChain Weblog.
Picture supply: Shutterstock
