DATE:
AUTHOR:
The LangChain Team
LangSmith

LangSmith Fetch: Debug agents from your terminal

DATE:
AUTHOR: The LangChain Team

We've launched LangSmith Fetch — a CLI tool that brings full LangSmith trace access directly into your terminal, coding environment, or IDE. If you build agents in Claude Code, Cursor, or prefer the command line, you no longer have to break flow to debug inside the UI. Run one command, get the exact trace you need, and keep building.


LangSmith Fetch is designed for two core workflows:

  • Instant trace access: Get your latest trace in seconds (--limit, --after, --last-n-minutes, etc.).

  • Bulk export: Save large sets of traces or threads to files for analysis, scripting, or dataset creation.

And because Fetch works on top of your existing LangSmith setup, you can drop it into your workflow today— no new configuration required.

Get started

Install the CLI:

pip install langsmith-fetch

2️⃣ Fetch a trace:

langsmith-fetch traces --project-uuid <your-uuid>

3️⃣ Pipe results anywhere—your coding agent, Unix tools, or analysis scripts.

LangSmith is the agent engineering platform trusted by thousands of teams shipping production agents. With LangSmith Fetch, you get the same visibility and debugging power—now directly in the places you build.

Read more in this blog post: https://blog.langchain.com/introducing-langsmith-fetch/

Get started with the GitHub repo: https://github.com/langchain-ai/langsmith-fetch?ref=blog.langchain.com

See out video walkthrough:

Powered by LaunchNotes