braintrust-langchain
DEPRECATED: LangChain integration is now included in the main braintrust package. Install braintrust instead.
Decision gist · record as of 2026-08-14
No—do not install this package. It is deprecated and inactive. Install or upgrade the main braintrust package instead and use braintrust.integrations.langchain. The migration is straightforward (import path and dependency change only), and the main package receives active maintenance while this one does not.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.10 and BRAINTRUST_API_KEY environment variable set.
- Low friction install with only two runtime dependencies.
- However, the package is marked inactive—the integration has been moved into the main braintrust package, making this a migration candidate rather than a new installation target.
License · maintenance · safety
MIT (permissive) — MIT license permits permissive use, modification, and distribution with minimal restrictions.
last release 2026-04-01 (135 days) · last repo commit 2026-08-14 · 16 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,346,864 downloads/mo, #3,118 on PyPI
Alternatives
Verify before relying
pip install braintrust-langchain
from braintrust_langchain import BraintrustCallbackHandler, set_global_handler
from braintrust import init_logger
init_logger(project="your-project-name")
handler = BraintrustCallbackHandler()
set_global_handler(handler)- Whether the callback API remains fully compatible between this package and braintrust's integrated version.
- Feature parity of streaming LLM calls and agent/tool usage logging across both versions.
- Current maintenance status and feature completeness of braintrust.integrations.langchain.
What it is and what it does
braintrust-langchain is a deprecated integration package that adds automatic logging of LangChain executions to Braintrust. It works by providing a callback handler that can be attached globally to all LangChain components or passed explicitly to individual calls, capturing LLM calls, chat interactions, chain executions, tool usage, and state management events.
The package is no longer maintained as a standalone tool—its functionality has been integrated directly into the main braintrust package. Users should migrate by removing this package and installing or upgrading braintrust, then updating imports to use braintrust.integrations.langchain instead. The callback API remains the same, so migration requires only dependency and import path changes.
Use it for
- Migrate existing LangChain + Braintrust projects from this deprecated package to the integrated braintrust version.
- Log LangChain chain executions and LLM calls to Braintrust for debugging and evaluation.
- Capture LLM responses and agent tool usage automatically without modifying chain code.
- Set up global callback handlers to trace all LangChain components without per-call configuration.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—do not install this package.
It is deprecated and inactive. Install or upgrade the main braintrust package instead and use braintrust.integrations.langchain. The migration is straightforward (import path and dependency change only), and the main package receives active maintenance while this one does not.
Install
braintrust-langchain on PyPI
Before you install
Low friction install with only two runtime dependencies. However, the package is marked inactive—the integration has been moved into the main braintrust package, making this a migration candidate rather than a new installation target.
Requires Python >= 3.10 and BRAINTRUST_API_KEY environment variable set.
License in practice
MIT license permits permissive use, modification, and distribution with minimal restrictions.
Quickstart
pip install braintrust-langchain
from braintrust_langchain import BraintrustCallbackHandler, set_global_handler
from braintrust import init_logger
init_logger(project="your-project-name")
handler = BraintrustCallbackHandler()
set_global_handler(handler)
Verify before relying
- Whether the callback API remains fully compatible between this package and braintrust's integrated version.
- Feature parity of streaming LLM calls and agent/tool usage logging across both versions.
- Current maintenance status and feature completeness of braintrust.integrations.langchain.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesbraintrustlangchain |
| Maintenance | Actively maintained 135 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,346,864 / month, #3,118 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 7 - InactiveOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12 |
Evidence: braintrust_langchain-0.3.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “langchain braintrust logging”
- braintrust-langchainProvides a LangChain callback handler to log LangChain executions to…
- braintrustBraintrust is a Python SDK for logging, tracing, and evaluating AI…
- braintrust-apiProvides a Python client library for the Braintrust REST API with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also braintrust · langchainplus-sdk · langchain-databricks · opentelemetry-instrumentation-langchain · langchain-neo4j · openinference-instrumentation-langchain · composio-langchain · langchain-cli · langchain-classic