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:
- This repository contains the Python and Javascript SDK's for interacting with the LangSmith platform. Please see LangSmith Documentation
Basic usage or getting-started notes:
bash
export LANGSMITH_TRACING=true
export LANGSMITH_API_KEY=ls_...
Extracted from upstream docs: https://raw.githubusercontent.com/langchain-ai/langsmith-sdk/HEAD/README.md