langsmith-fetch

Fetches LangSmith execution traces to debug LangChain and LangGraph agents.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/CuCryptos/sixroundsdeep --skill langsmith-fetch-cucryptos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langsmith-fetch
Source: https://github.com/CuCryptos/sixroundsdeep/tree/main/.agents/skills/langsmith-fetch
Command: npx skills add https://github.com/CuCryptos/sixroundsdeep --skill langsmith-fetch-cucryptos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires langsmith-fetch, and includes scripts (resource) and 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 process of identifying and resolving issues.

Core Features & Use Cases

  • Fetch Execution Traces: Retrieve recent or specific agent execution traces from LangSmith.
  • Analyze Agent Behavior: Inspect tool calls, errors, memory operations, and performance metrics.
  • Use Case: When an agent behaves unexpectedly, use this Skill to quickly fetch the last 5 minutes of traces to see what went wrong, which tools were called, and if any errors occurred.

Quick Start

Debug your agent by fetching the last 5 minutes of traces and displaying them in a pretty format.

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 agents that are behaving unexpectedly?

To debug LangChain agents behaving unexpectedly, fetch recent execution traces from LangSmith to inspect tool calls, memory operations, and errors. You can retrieve the last 5 minutes of traces to quickly identify what went wrong during agent execution.

How do I fetch LangSmith traces to analyze agent performance?

Fetch LangSmith traces using the langsmith-fetch CLI to retrieve recent or specific agent execution data. This allows you to analyze agent performance metrics, review tool calls, and inspect memory operations to troubleshoot issues effectively.

What do I need to fetch LangSmith execution traces for LangGraph agents?

To fetch LangSmith execution traces for LangGraph agents, you need the langsmith-fetch CLI installed, a configured LangSmith API key, and a specified LangSmith project to access the execution data and performance metrics.

Can I inspect tool calls and memory operations in LangChain execution traces?

Yes, you can inspect tool calls and memory operations in LangChain execution traces. By fetching the trace data from LangSmith, you can review the agent's behavior, identify errors, and analyze performance metrics to resolve issues.

What's the best way to troubleshoot LangGraph agent errors using trace analysis?

The best way to troubleshoot LangGraph agent errors using trace analysis is to fetch execution traces from LangSmith Studio. This streamlines identifying and resolving issues by displaying tool calls, errors, and memory operations in a readable format.

Why does fetching LangSmith traces require a configured API key and project?

Fetching LangSmith traces requires a configured API key and project because the CLI authenticates against your LangSmith Studio account to securely retrieve specific agent execution data, trace analysis, and performance metrics for troubleshooting.