langsmith-fetch

Fetch and analyze LangSmith execution traces to diagnose LangChain and LangGraph agent behavior.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/maximoseo/html-redesign-vps --skill langsmith-fetch-maximoseo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langsmith-fetch
Source: https://github.com/maximoseo/html-redesign-vps/tree/main/.agents/skills/langsmith-fetch
Command: npx skills add https://github.com/maximoseo/html-redesign-vps --skill langsmith-fetch-maximoseo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fetch and analyze LangSmith execution traces to diagnose LangChain and LangGraph agent behavior.

Core Features & Use Cases

  • Retrieve recent traces from LangSmith Studio for quick debugging of agent runs.
  • Analyze execution flow: tool calls, responses, token usage, and errors.
  • Export traces for deep dives, sharing with teammates, and reproducible debugging.

Quick Start

Run langsmith-fetch traces --last-n-minutes 5 --limit 5 --format pretty to view recent traces in your terminal.

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?

To debug LangChain agent execution traces, fetch recent runs from LangSmith to analyze tool calls, memory operations, token usage, and errors. This requires the langsmith-fetch CLI configured with your API key and project.

What is the best way to investigate LangGraph agent errors?

Investigate LangGraph agent errors by retrieving recent execution traces to pinpoint failures in tool calls or memory operations. You can fetch these traces directly to your terminal for immediate diagnosis.

Can I export LangSmith traces to share with my team?

Yes, you can export LangSmith execution traces for deep dives and reproducible debugging. Fetching the trace data allows you to share execution flow details, including tool calls and token usage, with teammates.

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

Yes, fetching agent traces requires the langsmith-fetch CLI to be properly configured with your LangSmith API key and project settings to retrieve recent runs and analyze execution behavior.

How do I view recent LangChain tool calls in my terminal?

View recent LangChain tool calls by running the langsmith-fetch command with time and limit parameters, such as setting the last number of minutes and a trace limit, formatted for terminal output.