langsmith-fetch

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

Updated Jan 7, 2026
One-click install
npx skills add https://github.com/jpolog/nix-os --skill langsmith-fetch-jpolog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langsmith-fetch
Source: https://github.com/jpolog/nix-os/tree/main/pi-agent-data/agent/skills/langsmith-fetch
Command: npx skills add https://github.com/jpolog/nix-os --skill langsmith-fetch-jpolog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

LangSmith Fetch helps you debug LangChain and LangGraph agents by fetching execution traces directly from LangSmith Studio in your terminal. It simplifies investigating errors, analyzing tool calls, checking memory operations, and evaluating agent performance by automatically fetching recent traces and analyzing execution patterns.

Core Features & Use Cases

  • Fetch recent traces to inspect agent activity and diagnose failures.
  • Analyze execution patterns, tool calls, and memory operations to understand behavior.
  • Export traces and examine performance metrics such as timing and token usage.

Quick Start

Install the langsmith-fetch CLI, configure your LangSmith project, and run a traces fetch to begin debugging.

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 failures using LangSmith traces?

Debug LangChain agent failures by fetching recent execution traces from LangSmith Studio to inspect agent activity, analyze tool calls, and diagnose errors directly in your terminal.

What's the best way to analyze tool calls and memory operations in LangGraph agents?

Analyze tool calls and memory operations in LangGraph agents by fetching recent execution traces to examine behavioral patterns and evaluate agent performance metrics.

Do I need valid LangSmith project credentials to fetch execution traces?

Yes, fetching execution traces requires the langsmith-fetch CLI installed and valid LangSmith project credentials configured to access and analyze recent trace data.

Can I check agent performance metrics like token usage from LangSmith traces?

Yes, you can export traces from LangSmith to examine performance metrics including timing and token usage to evaluate agent execution efficiency.

Why does my LangChain agent behave unexpectedly during execution?

Investigate unexpected LangChain agent behavior by fetching execution traces to inspect agent activity, analyze tool call patterns, and identify memory operation issues.

Does langsmith-fetch work without LangSmith Studio?

No, langsmith-fetch requires LangSmith Studio integration and valid project credentials to fetch and analyze recent execution traces for debugging agents.