This is an early release preview. You may encounter bugs.
Langsmith SDK logo
Unclaimed

Tool coding

Langsmith SDK

Python and JavaScript SDKs for tracing, evaluating and monitoring LLM apps on the LangSmith platform

Built by LangChain

No longer maintained. The upstream repository is archived and read-only.
A 89/100 GitHub score ? This grade is derived from GitHub signals, not user votes. Open for the full breakdown.
Discussion

01 / Summary

About Langsmith SDK.

The LangSmith SDK is the pair of Python and JavaScript/TypeScript client libraries for sending data to LangSmith, LangChain's platform for debugging, evaluating, and monitoring language-model applications and agents. Your application uses the SDK to record traces of its model calls and steps, which you then inspect, evaluate, and monitor in LangSmith.

Tracing is added by decorating your own functions as traceable or by wrapping a model client, such as the OpenAI client, so each call is logged with its inputs, outputs, and token usage. The SDK works with any LLM application, and LangChain and LangChainJS have a native integration with it.

  • Two languages: client libraries for Python and for JavaScript and TypeScript
  • Function tracing: a traceable decorator records the inputs and outputs of your own functions
  • Client wrappers: wrap an OpenAI client so every completion call is traced automatically
  • Platform access: send traces to LangSmith for debugging, evaluation, and monitoring
  • LangChain integration: native tracing for LangChain and LangChainJS applications

02 / Discussion CREDIBILITY-GATED

Discussion

Reading is open to everyone. Posting and voting need a verified identity or a GitHub grade of B or higher.

  • No discussions yet.

04 / Build

Build with Langsmith SDK.

Browse the catalog for frameworks, tools, and harnesses, each scored on real GitHub credibility.

Get Langsmith SDK →

Browse the catalog