langsmith-fetch

Fetch and analyze LangSmith Studio execution traces to debug LangChain and LangGraph agents.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/WesleyMarinho/codeseek-marketplace --skill langsmith-fetch-wesleymarinho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langsmith-fetch
Source: https://github.com/WesleyMarinho/codeseek-marketplace/tree/main/skills/langsmith-fetch
Command: npx skills add https://github.com/WesleyMarinho/codeseek-marketplace --skill langsmith-fetch-wesleymarinho

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers debug LangChain and LangGraph agents by fetching and analyzing execution traces directly from LangSmith Studio, streamlining the identification and resolution of agent errors and performance issues.

Core Features & Use Cases

  • Fetch Recent Traces: Quickly review recent agent activity to spot immediate problems.
  • Deep Dive Specific Traces: Investigate individual trace failures for root cause analysis.
  • Export Debug Sessions: Save traces and threads for later review or team collaboration.
  • Error Detection: Automatically identify and report common error patterns.
  • Use Case: When your agent behaves unexpectedly, use this skill to fetch the last 5 minutes of traces to see what tools were called, if any errors occurred, and the execution flow.

Quick Start

Use the langsmith-fetch skill to debug your agent by fetching the last 5 minutes of traces.

Frequently Asked Questions about langsmith-fetch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug LangChain agent execution traces from LangSmith?

You can fetch and analyze execution traces directly from LangSmith Studio to debug LangChain agents. This helps you identify errors, investigate tool calls, and review execution flow to pinpoint where your agent encountered issues.

What is the best way to investigate LangGraph agent errors and tool calls?

Fetching recent execution traces from LangSmith Studio is an effective way to investigate LangGraph agent errors. It automatically detects common error patterns and examines specific tool call failures for root cause analysis.

Do I need a LangSmith API key to fetch and analyze agent traces?

Yes, fetching and analyzing LangSmith traces requires a configured LangSmith API key and a specified project. You also need the langsmith-fetch CLI installed to retrieve the execution data.

Can I export LangSmith debug sessions for later review?

Yes, you can export debug sessions by saving fetched traces and threads. This allows you to store LangSmith execution data for later review or share it with your team for collaborative debugging.

How do I check what tools my LangChain agent called recently?

Fetch the last 5 minutes of execution traces from LangSmith Studio to see a detailed history of tool calls. This reveals exactly which tools were invoked, the execution flow, and if any errors occurred.