# LangSmith SDK for LLM Tracing and Evaluation

> LangSmith provides tracing, evaluation, and debugging workflows for LLM applications. This skill is useful when an agent team needs structured observability around prompts, chains, tool calls, datasets, and eval runs across multiple frameworks.

- Skill: `agentskillexchange/langsmith-sdk-for-llm-tracing-and-evaluation` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/langsmith-sdk-for-llm-tracing-and-evaluation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/langsmith-sdk-for-llm-tracing-and-evaluation/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/langsmith-sdk-for-llm-tracing-and-evaluation

---


# LangSmith SDK for LLM Tracing and Evaluation

LangSmith provides tracing, evaluation, and debugging workflows for LLM applications. This skill is useful when an agent team needs structured observability around prompts, chains, tool calls, datasets, and eval runs across multiple frameworks.

## Installation

Use the upstream install or setup path that matches your environment:
- pip install -U langsmith
- pnpm add langsmith

Requirements and caveats from upstream:
- [![Release Notes](https://img.shields.io/github/release/langchain-ai/langsmith-sdk?logo=python)](https://github.com/langchain-ai/langsmith-sdk/releases)
- [![Python Downloads](https://img.shields.io/pypi/dm/langsmith)](https://pypi.org/project/langsmith/)
- This repository contains the Python and Javascript SDK's for interacting with the [LangSmith platform](https://smith.langchain.com/). Please see [LangSmith Documentation](https://docs.smith.langchain.com/)

Basic usage or getting-started notes:
- bash
- export LANGSMITH_TRACING=true
- export LANGSMITH_API_KEY=ls_...

- Source: https://github.com/langchain-ai/langsmith-sdk
- Extracted from upstream docs: https://raw.githubusercontent.com/langchain-ai/langsmith-sdk/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/langsmith-sdk-for-llm-tracing-and-evaluation/)

