skillfed

langsmith

Client library to connect to the LangSmith Observability and Evaluation Platform.

langsmith Permissive license MIT Active 1,016 v0.10.18 released

Install

langsmith on PyPI

pip

pip install langsmith

uv

uv add langsmith

poetry

poetry add langsmith

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 14 — anyio, distro, httpx, orjson, packaging, pydantic, requests-toolbelt, requests, sniffio, typing-extensions, uuid-utils, websockets, xxhash, zstandard
Maintenance actively maintained — 2 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: langsmith-0.10.18-py3-none-any.whl

Keywords: evaluation, langchain, langsmith, language, llm, nlp, platform, tracing, translation

About langsmith

from the package's own PyPI description — quoted content, verbatim

LangSmith Client SDK

Release Notes (image) Python Downloads (image)

This package contains the Python client for interacting with the LangSmith platform.

To install:

pip install -U langsmith
export LANGSMITH_TRACING=true
export LANGSMITH_API_KEY=ls_...

Then trace:

import openai
from langsmith.wrappers import wrap_openai
from langsmith import traceable

# Auto-trace LLM calls in-context
client = wrap_openai(openai.Client())

@traceable # Auto-trace this function
def pipeline(user_input: str):
    result = client.chat.completions.create(
        messages=[{"role": "user", "content": user_input}],
        model="gpt-3.5-turbo"
    )
    return result.choices[0].message.content

pipeline("Hello, world!")

See the resulting nested trace 🌐 here.

LangSmith helps you and your team develop and evaluate language models and intelligent agents....

Read as markdown · JSON record · Source repository · Homepage · Docs

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

LangSmith is a Python client SDK for the LangSmith observability and evaluation platform, enabling you to trace, debug, and evaluate language model applications with automatic instrumentation and benchmark evaluation capabilities.

Low friction: pure Python wheel with 14 well-maintained dependencies (httpx, pydantic, requests, websockets, etc.) and active development—released 2 days ago with 1016 repository stars.

MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations.

Usage

pip install langsmith
export LANGSMITH_API_KEY=ls_...

from langsmith import traceable

@traceable
def my_function(input_str: str):
    return f"Processed: {input_str}"

my_function("test")

Requires Python ≥3.10 and a LangSmith API key (obtainable from https://smith.langchain.com/settings).

Verdict: Actively maintained, permissively licensed, and dependency-light for its scope. Zero known vulnerabilities and top-1000 popularity tier make it a safe choice for teams adopting LangSmith observability. The 14 runtime dependencies are standard (httpx, pydantic, requests) and well-vetted.

Needs verification

  • Whether the 14 runtime dependencies have themselves been audited for security or maintenance status beyond their presence in the fact sheet.
  • Performance impact of automatic tracing on production LLM applications at scale.
llm tracing and observabilitylangchain debugging platformai application evaluationlanguage model monitoringprompt tracing sdkllm application observabilityai agent debugging

Similar packages