langsmith-fetch

仓库创建 2025年10月17日最近提交 3 天前SkillHot 收录 21 天前
▸ 精选理由

快速定位 LangChain/LangGraph 代理的错误与性能瓶颈

▸ 风险提示

需要 LangSmith API 密钥并与外部服务通信

这个 Skill 做什么

从 LangSmith 拉取执行追踪并分析代理运行情况

从 LangSmith Studio 拉取代理的执行追踪,自动分析工具调用、内存操作和出错路径,帮你看清 LangChain/ LangGraph 代理到底怎么跑崩的。遇到 agent 行为异常、报错难查或想优化决策流程时就用,能把复杂的执行流程可视化并指向问题点。使用前需安装并配置 langsmith-fetch 命令行工具。

▸ 展开 SKILL.md 英文原文

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.

开发编程调试执行追踪LangSmith通用
7.1w
Stars
8.0k
Forks
40
仓库内 Skill
+4.0k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/ComposioHQ/awesome-claude-skills/master/langsmith-fetch/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/ComposioHQ/awesome-claude-skills/master/langsmith-fetch/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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_a
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有