langsmith-trace

Instrument and query LangSmith traces in Python and TypeScript projects.

7|1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/Harmeet10000/skills --skill langsmith-trace-harmeet10000
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langsmith-trace
Source: https://github.com/Harmeet10000/skills/tree/main/skills/ai-ml/langsmith-trace
Command: npx skills add https://github.com/Harmeet10000/skills --skill langsmith-trace-harmeet10000

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

LangSmith tracing often requires careful setup to instrument apps, run traces, and extract meaningful data for debugging and performance analysis.

Core Features & Use Cases

  • Instrument LangSmith in Python/TypeScript apps to automatically capture LLM calls, tools interactions, and nested runs.
  • Query traces and runs to reproduce issues, measure latency, and generate datasets for evaluation.
  • Export traces as JSONL for dataset creation, auditing, and reproducibility.

Quick Start

Install the LangSmith CLI, configure LANGSMITH_API_KEY and related environment variables, and enable tracing in your application to start collecting traces.

Frequently Asked Questions about langsmith-trace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add LangSmith tracing to my LangChain or LangGraph application?

To add LangSmith tracing, instrument your LangChain or LangGraph application using tracing wrappers to automatically capture LLM calls, tool interactions, and nested runs for debugging.

How do I query LangSmith traces to debug LLM latency and reproduce issues?

Query LangSmith traces and runs to reproduce issues, measure latency, and analyze performance. You can also export traces as JSONL to generate datasets for evaluation and reproducibility.

Does LangSmith tracing work with both Python and TypeScript projects?

Yes, LangSmith tracing applies to LangSmith-enabled Python and TypeScript projects, allowing you to automatically record LLM calls and query trace data across both languages.

What environment variables do I need to set up LangSmith trace instrumentation?

To set up LangSmith trace instrumentation, configure the LANGSMITH_API_KEY and LANGSMITH_PROJECT environment variables, with optional workspace settings, and ensure the LangSmith CLI is installed.

Can I export LangSmith traces for dataset creation and auditing?

Yes, you can export LangSmith traces as JSONL files. This allows you to create datasets for evaluation, audit application behavior, and ensure reproducibility of your LLM runs.