Productivity

langsmith-trace

langchain-ai/langsmith-skills · updated Apr 8, 2026

$npx skills add https://github.com/langchain-ai/langsmith-skills --skill langsmith-trace
summary

Add tracing to LangChain/LangGraph apps and query trace data via CLI for debugging and dataset generation.

  • Automatic tracing for LangChain/LangGraph apps with environment variables; manual tracing via @traceable decorator and wrap_openai() for other frameworks in Python and TypeScript
  • Query traces (complete execution trees) or runs (individual nodes) using langsmith CLI with filters for time, latency, errors, tags, and custom metadata
  • Export traces to JSONL files preserving hierarchy
skill.md

langsmith-trace

No content available.