LangSmith SDK review
LangSmith SDK is the Python and JavaScript client library for tracing, debugging, evaluating, and monitoring LLM applications on the LangSmith platform.
TL;DR
LangSmith SDK provides Python and JavaScript/TypeScript clients for the LangSmith observability and evaluation platform. It suits teams building LLM apps and agents who want traces, evaluation, and monitoring. This repository is archived, and the SDKs now live in separate repositories. The packages are unchanged.
- 1.1kGitHub stars
- +3new stars, week of Oct 25
- ~32.1Mdownloads a week, +11% vs 4-week avg
- #13in Evals and observability this week
LangSmith SDK at a glance
- Category
- Evals and observability
- Maintained by
- LangChain (organization, @langchain-ai on GitHub)
- License
- MIT
- Language
- Python, TypeScript, JavaScript
- Repository
- github.com/langchain-ai/langsmith-sdk
- Website
- docs.smith.langchain.com
- npm package
- langsmith 0.11.0
- PyPI package
- langsmith 0.14.12
- Latest release
- langsmith 0.14.12 on PyPI, Oct 21, 2026
- First published
- May 30, 2023
What LangSmith SDK does
- LangSmith SDK traces LLM application calls and sends them to the LangSmith platform for debugging and monitoring.
- LangSmith SDK wraps OpenAI clients with wrap_openai in Python and wrapOpenAI in JavaScript to trace chat completions.
- LangSmith SDK provides a traceable decorator or function for instrumenting your own code.
- LangSmith SDK supports evaluation of language models and agents, including comparative evaluators.
- LangSmith SDK can send OTLP traces, including to an Agent environment.
- LangSmith SDK integrates natively with the LangChain Python and LangChain JS libraries, and it works with any LLM application.
How it works
You install the langsmith package from PyPI or npm. Then you set the LANGSMITH_TRACING and LANGSMITH_API_KEY environment variables, plus LANGSMITH_WORKSPACE_ID for org-scoped keys. Next you wrap your LLM client or decorate functions with traceable. Traces go to the LangSmith platform, which can run in the cloud or as a hybrid or self-hosted instance.
How to install and start using LangSmith SDK
With pip
pip install -U langsmithWith pnpm
pnpm add langsmithRequirements
- Python 3.10 or later for the Python package
- A LangSmith account and API key
- A workspace ID when using org-scoped API keys
First steps
- Create a LangSmith account at smith.langchain.com. You can log in with Google, GitHub, or email.
- Create an API key under Settings > API Keys > Create API Key, then save it securely.
- Set LANGSMITH_TRACING=true and LANGSMITH_API_KEY. Also set LANGSMITH_WORKSPACE_ID if you use an org-scoped key.
- Wrap your OpenAI client with wrap_openai or wrapOpenAI, then make a chat completion call to record a trace.
Who LangSmith SDK is for
- Teams debugging, evaluating, and monitoring LLM applications and agents
- Developers already using LangChain Python or LangChain JS
Limitations to know
- LangSmith SDK's repository is archived. New issues and pull requests go to langsmith-python and langsmith-javascript.
- LangSmith SDK requires the LangSmith platform. You need an account and API key, whether you use cloud, hybrid, or self-hosted.
Is LangSmith SDK growing? Usage data
In the week of Oct 25–31, 2026, LangSmith SDK ranked #251 on the Devtoolwatch Board and #13 in Evals and observability, with a momentum score of 38 out of 100. Its main package had about 32.1M downloads that week, +11% against its own 4-week average.
Show the weekly numbers
| Week of | New stars |
|---|---|
| Aug 9, 2026 | 12 |
| Aug 16, 2026 | 8 |
| Aug 23, 2026 | 16 |
| Aug 30, 2026 | 5 |
| Sep 6, 2026 | 5 |
| Sep 13, 2026 | 7 |
| Sep 20, 2026 | 4 |
| Sep 27, 2026 | 5 |
| Oct 4, 2026 | 6 |
| Oct 11, 2026 | 11 |
| Oct 18, 2026 | 1 |
| Oct 25, 2026 | 3 |
The Board ranks tools by four signals each week: new stars, new stars for the repo's size, added downloads and download growth beyond the market. How the ranking works.
LangSmith SDK alternatives
Other LLM evals and observability tools on the Board in the week of Oct 25–31, 2026, by momentum:
| Rank | Tool | Stars | Downloads/wk |
|---|---|---|---|
| #1 | SkillSpectorSkillSpector is NVIDIA's security scanner that checks AI agent skills for vulnerabilities, malicious patterns, and supply-chain risks… | 23.7k | – |
| #2 | JudgevalJudgeval is an open-source Python SDK for tracing and evaluating LLM-powered agents with prompt-based judges and online monitoring. | 1.1k | 80.2k |
| #3 | A.I.G (AI-Infra-Guard)A full-stack AI Red Teaming platform securing AI ecosystems via Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak… | 7.2k | – |
| #4 | LangfuseLangfuse is an open source LLM engineering platform for tracing, evaluating, prompt management, and debugging LLM applications and agents. | 36.8k | 9.8M |
| #5 | OpikOpik is an open-source platform from Comet for tracing, evaluating, and monitoring LLM applications, RAG systems, and AI agents. | 23.1k | 709.1k |
| #6 | promptfoopromptfoo is a CLI and library for evaluating and red-teaming LLM-based apps, including prompts, agents, and RAG pipelines. | 26.7k | 1.2M |
Recent LangSmith SDK releases
LangSmith SDK FAQ
Is LangSmith SDK free and open source?
Yes. LangSmith SDK's source code is on GitHub (langchain-ai/langsmith-sdk) under the MIT license, so you can use it for free.
How do I install LangSmith SDK?
Run pip install -U langsmith. The install section above has the other options from the project's README.
Is LangSmith SDK still maintained?
No. The langchain-ai/langsmith-sdk repository is archived, so it's read-only.
How popular is LangSmith SDK?
LangSmith SDK has 1.1k GitHub stars as of Nov 1, 2026. It gained 3 new stars in the week of Oct 25–31, 2026, against a 12-week average of 7 a week. Its main package had about 32.1M downloads that week, +11% against its own 4-week average. That made it #13 among LLM evals and observability tools on the Devtoolwatch Board.
What are the best alternatives to LangSmith SDK?
Other LLM evals and observability tools on the Devtoolwatch Board in the week of Oct 25–31, 2026, by momentum: SkillSpector (#1), Judgeval (#2), A.I.G (AI-Infra-Guard) (#3), Langfuse (#4), Opik (#5). The alternatives table above has their numbers.
What is LangSmith SDK?
LangSmith SDK is the set of Python and JavaScript client libraries for the LangSmith observability and evaluation platform. Teams use it to debug, evaluate, and monitor language models and agents.
Where did the LangSmith SDK code move?
The Python SDK moved to langchain-ai/langsmith-python, and the JS SDK moved to langchain-ai/langsmith-javascript. The langsmith packages on PyPI and npm are unchanged.
Does LangSmith SDK only work with LangChain?
No. LangSmith works with any LLM application. It has a native integration with LangChain, and it supports providers and frameworks such as OpenAI, Anthropic, CrewAI, Vercel AI SDK, and Pydantic AI.
Can LangSmith be self-hosted?
Yes. A LangSmith instance can run in the cloud, as a hybrid setup, or self-hosted. All options include observability, evaluation, prompt engineering, and deployment.
Sources
LangSmith SDK README badge
Maintainers can show the tool's weekly Board rank in their README:
[](https://index.devtoolwatch.com/tools/langsmith/)How this page is made: Devtoolwatch writes each review from the project's README, releases, package metadata and website, with an AI model, then checks every claim against the source it cites and drops what the sources don't support. The numbers come from Devtoolwatch's daily GitHub snapshots, GitHub's stargazer history, and the npm and PyPI download APIs. Spotted an error? Email [email protected].