langsmith-fetch

Fetch and analyze LangSmith Studio execution traces for LangChain and LangGraph agents.

14|3|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/kofttlcc/quant-test --skill langsmith-fetch-kofttlcc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langsmith-fetch
Source: https://github.com/kofttlcc/quant-test/tree/main/.agent/skills/langsmith-fetch
Command: npx skills add https://github.com/kofttlcc/quant-test --skill langsmith-fetch-kofttlcc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires langsmith-fetch, and includes scripts (resource) and references (resource) and assets (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 Traces: Retrieve recent or specific execution traces from LangSmith.
  • Analyze Errors: Identify failures, errors, and exceptions within agent runs.
  • Examine Tool Calls: Understand which tools were used and their outcomes.
  • Performance Analysis: Review execution times and token usage.
  • Use Case: When an agent behaves unexpectedly, use this Skill to fetch the last 5 traces, identify any errors, and pinpoint the exact tool call that failed.

Quick Start

Fetch the last 5 traces from LangSmith and display them in a human-readable 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 using LangSmith traces?

Fetch recent or specific execution traces from LangSmith Studio to debug LangChain agents, identifying failures, examining tool calls, and reviewing performance metrics to pinpoint failed tool calls.

How do I analyze LangGraph agent errors from execution traces?

Analyze LangGraph agent errors by retrieving specific trace IDs from LangSmith to identify failures, exceptions, and tool call outcomes. This allows you to review execution times and token usage to resolve unexpected agent behavior.

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

Yes, you need a configured LangSmith API key and a specified project to fetch agent execution traces. The Skill requires the `langsmith-fetch` CLI dependency to retrieve and analyze the execution data from LangSmith Studio.

Can I review token usage and execution times for LangChain tool calls?

Yes, you can review token usage and execution times for LangChain tool calls by fetching execution traces from LangSmith. The Skill analyzes performance metrics and tool outcomes to help you understand agent behavior.

What is the best way to retrieve recent LangSmith traces for troubleshooting?

The best way to retrieve recent LangSmith traces for troubleshooting is to fetch the last 5 traces from your configured project. This quickly displays recent agent runs in a human-readable format to identify errors and failed tool calls.