langsmith-sdk  by langchain-ai

SDK for interacting with the LangSmith platform

created 2 years ago
606 stars

Top 54.8% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This repository provides the LangSmith SDKs for Python and JavaScript, enabling users to debug, evaluate, and monitor language models and intelligent agents. It offers native integration with the LangChain framework and is designed for developers working with LLM applications.

How It Works

The SDKs facilitate interaction with the LangSmith platform, a service for LLM observability. They allow users to trace and log LLM calls, agent actions, and intermediate steps, providing a detailed view of application execution. This approach aids in identifying issues, optimizing performance, and understanding model behavior.

Quick Start & Requirements

  • Python: pip install -U langsmith
  • JavaScript/TypeScript: yarn add langsmith
  • Environment Variables: LANGSMITH_TRACING=true and LANGSMITH_API_KEY=ls_... are required.
  • Prerequisites: Python 3.x or Node.js/npm/yarn.
  • Documentation: LangSmith Documentation

Highlighted Details

  • Provides wrappers for popular LLM libraries like OpenAI.
  • Enables detailed tracing of LLM application execution.
  • Supports both Python and JavaScript/TypeScript environments.
  • Integrates natively with the LangChain framework.

Maintenance & Community

Developed and maintained by LangChain. Further community resources can be found via the LangChain ecosystem.

Licensing & Compatibility

The repository does not explicitly state a license in the provided README. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The README does not specify a license, which may impact commercial adoption. Detailed setup time or resource requirements beyond basic installation are not provided.

Health Check
Last commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
60
Issues (30d)
20
Star History
71 stars in the last 90 days

Explore Similar Projects

Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), Carol Willing Carol Willing(Core Contributor to CPython, Jupyter), and
38 more.

langchain by langchain-ai

0.4%
113k
Framework for building LLM-powered applications
created 2 years ago
updated 1 day ago
Feedback? Help us improve.