# LangSmith

CreateWithAI Hub page: https://createwithaihub.com/evals-observability/langsmith
Latest version of this file: https://createwithaihub.com/evals-observability/langsmith.md

- Type: Tool · Category: Evals & Observability
- Publisher: LangChain
- Pricing: Free plan plus paid plans
- Runs on: Web

LangChain's platform for tracing, evaluating and monitoring LLM apps and agents, with prompt tools and agent deployment.

LangSmith is LangChain's hosted platform for observability and evaluation of LLM apps and agents, whether or not they use LangChain. It records traces, runs offline evals on datasets and online evals on live traffic, and includes a Prompt Hub, Playground and Studio, plus Agent Server deployment and an LLM Gateway. It is used through Python and JS/TS SDKs or OpenTelemetry. Self-hosting is an Enterprise add-on.

Useful for: Debugging a LangGraph agent by inspecting each traced step, then running an eval dataset to compare two prompt versions.

## Key features

- Tracing, debugging and production monitoring for any LLM app
- Offline evals on datasets and online evals on live traffic
- Prompt Hub, Playground and Studio
- Python and JS/TS SDKs (MIT), OpenTelemetry support and integrations incl. OpenAI, Anthropic, LangChain, Vercel AI SDK and OpenAI Agents
- LLM Gateway and Agent Server deployment hosting
- Hosted Remote MCP server (https://api.smith.langchain.com/mcp) for traces, prompts, datasets and experiments

## Connection

- What it does: Tracing & logging, Evals, Prompt management, Production monitoring
- Hosting: Cloud, Self-hostable
- Integrates via: SDK, OpenTelemetry, Proxy / gateway

## Before you start

- LangSmith account and API key

## Install steps from the official documentation

Python SDK:

```
pip install -U langsmith
```

JS/TS SDK:

```
npm install langsmith openai
```

MCP (Claude Code):

```
claude mcp add --transport http -s user langsmith https://api.smith.langchain.com/mcp
```

## Limitations

- Developer plan is free for 1 seat and up to 5k base traces per month; Plus costs $39 per seat per month
- Base traces are retained 14 days; extended 180-day retention costs extra
- The platform is closed source; self-hosting requires an Enterprise plan license key

## Official links

- Website: https://www.langchain.com/langsmith
- Documentation: https://docs.langchain.com/langsmith
- Source: https://docs.langchain.com/langsmith/home (Product areas: observability, evaluation, prompt engineering, deployment)
- Source: https://www.langchain.com/pricing (Developer $0 (1 seat, 5k base traces), Plus $39/seat, Enterprise custom; retention 14/180 days)
- Source: https://docs.langchain.com/langsmith/self-hosted (Self-hosting is an Enterprise add-on with a license key; Kubernetes/Helm)
- Source: https://docs.langchain.com/langsmith/langsmith-remote-mcp (Remote MCP endpoints, auth, Claude Code command)
- Source: https://docs.langchain.com/langsmith/integrations (Integration list)
- Source: https://github.com/langchain-ai/langsmith-python (Python SDK, MIT, install command; langsmith-sdk repo archived 2026-10-16)
