langsmith-fetch
Debug LangChain and LangGraph agents by fetching execution traces from LangSmith Studio.
Skill by tzeusy-org
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/tzeusy-org-langsmith-fetch
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
langsmith-fetch- Description
- Debug LangChain and LangGraph agents by fetching execution traces from LangSmith Studio. Use when debugging agent behavior, investigating errors, analyzing tool calls, checking memory operations, or examining agent performance. Automatically fetches recent traces and analyzes execution patterns. Requires langsmith-fetch CLI installed.
- License
- MIT
- Instructions
- 482 lines in SKILL.md ยท view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# LangSmith Fetch - Agent Debugging Skill Debug LangChain and LangGraph agents by fetching execution traces directly from LangSmith Studio in your terminal. ## When to Use This Skill Automatically activate when user mentions: - ๐ "Debug my agent" or "What went wrong?" - ๐ "Show me recent traces" or "What happened?" - โ "Check for errors" or "Why did it fail?" - ๐พ "Analyze memory operations" or "Check LTM" - ๐ "Review agent performance" or "Check token usage" - ๐ง "What tools were called?" or "Show execution flow" ## Prerequisites ### 1. Install langsmith-fetch ```bash pip install langsmith-fetch ``` ### 2. Set Environment Variables ```bash export LANGSMITH_API_KEY="your_langsmith_api_key" export LANGSMITH_PROJECT="your_project_name" ``` **Verify setup:** ```bash echo $LANGSMITH_API_KEY echo $LANGSMITH_PROJECT ``` ## Core Workflows ### Workflow 1: Quick Debug Recent Activity **When user asks:** "What just happened?" or "Debug my agent" **Execute:** ```bash langsmith-fetch traces --last-n-minutes 5 --limit 5 --format pretty ``` **Analyze and report:** 1. โ Number of traces found 2. โ ๏ธ Any errors or failures 3. ๐ ๏ธ Tools that were called 4. โฑ๏ธ Execution times 5. ๐ฐ Token usage **Example response format:** ``` Found 3 traces in the last 5 minutes: Trace 1: โ Success - Agent: memento - Tools: recall_memories, create_entities - Duration: 2.3s - Tokens: 1,245 Trace 2: โ Error - Agent: cypher - Error: "Neo4j connection timeout" - Duration: 15.1s - Failed at: search_nodes tool Trace 3: โ Success - Agent: memento - Tools: store_memory - Duration: 1.8s - Tokens: 892 ๐ก Issue found: Trace 2 failed due to Neo4j timeout. Recommend checking database connection. ``` --- ### Workflow 2: Deep Dive Specific Trace **When user provides:** Trace ID or says "investigate that error" **Execute:** ```bash langsmith-fetch trace <trace-id> --format json ``` **Analyze JSON and report:** 1. ๐ฏ What the agent was trying to do 2. ๐ ๏ธ Which tools were called (in order) 3. โ Tool results (success/failure) 4. โ Error messages (if any) 5. ๐ก Root cause analysis 6. ๐ง Suggested fix **Example response format:** ``` Deep Dive Analysis - Trace abc123 Goal: User asked "Find all projects in Neo4j" Execution Flow: 1. โ search_nodes(query: "projects") โ Found 24 nodes 2. โ get_node_details(node_id: "proj_123") โ Error: "Node not found" โ This is the failure point 3. โน๏ธ Execution stopped Root Cause: The search_nodes tool returned node IDs that no longer exist in the database, possibly due to recent deletions. Suggested Fix: 1. Add error handling in get_node_details tool 2. Filter deleted nodes in search results 3. Update cache invalidation strategy
From tzeusy-org/ai-bootstrap, MIT.
More from tzeusy-org/ai-bootstrap
- 0.499score
doc-coauthoring
tzeusy-org
Guide users through a structured workflow for co-authoring documentation.
SkillBFreshness: BClaude Code +9 - 0.455score
dev-bootstrap-application-script
tzeusy-org
This skill should be used when asked to create a dev.sh (or similar) bash script that launches an application's full stack in tmux.
SkillCFreshness: CClaude Code +9 - 0.450score
brand-guidelines
tzeusy-org
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel.
SkillCFreshness: CClaude Code +9 - 0.450score
canvas-design
tzeusy-org
Create beautiful visual art in .png and .pdf documents using design philosophy.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 12, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/tzeusy-org/ai-bootstrap
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from tzeusy-org
- 0.499score
doc-coauthoring
tzeusy-org
Guide users through a structured workflow for co-authoring documentation.
SkillBFreshness: BClaude Code +9 - 0.455score
dev-bootstrap-application-script
tzeusy-org
This skill should be used when asked to create a dev.sh (or similar) bash script that launches an application's full stack in tmux.
SkillCFreshness: CClaude Code +9 - 0.450score
brand-guidelines
tzeusy-org
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel.
SkillCFreshness: CClaude Code +9 - 0.450score
canvas-design
tzeusy-org
Create beautiful visual art in .png and .pdf documents using design philosophy.
SkillCFreshness: CClaude Code +9
Cite this page
langsmith-fetch skill. Agent Mart. https://agentmart.dev/skills/tzeusy-org-langsmith-fetch (last updated 2026-10-24)