$npx skillfedfor your agent

braintrust

SDK for integrating Braintrust

With conditionsPyPI Artificial IntelligenceReleased Aug 20267.8M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — braintrust-0.33.0-py3-none-any.whl
v0.33.0 · released 2026-08-11 · Python >=3.10.0 · 10 runtime deps: requests, chevron, tqdm, exceptiongroup, jsonschema, packaging, sseclient-py, python-slugify

Yes, if you are building or evaluating AI applications and want structured logging and evaluation infrastructure. The package is actively maintained, has low install friction, uses a permissive license, and carries no known vulnerabilities. The main constraint is the requirement for Python 3.10+ and a Braintrust API key; if you don't need hosted evaluation or tracing, a lighter alternative may suffice.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Requires BRAINTRUST_API_KEY environment variable to connect to the Braintrust service.
  • Low friction install with a pure-wheel distribution.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.

last release 2026-08-11 (3 days) · last repo commit 2026-08-14 · 16 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,783,477 downloads/mo, #1,695 on PyPI

Verify before relying

pip install braintrust

from braintrust import Eval

def is_equal(expected, output):
    return expected == output

Eval(
    "Say Hi Bot",
    data=lambda: [{"input": "Foo", "expected": "Hi Foo"}],
    task=lambda input: "Hi " + input,
    scores=[is_equal],
)
  • Whether the 10 runtime dependencies (requests, chevron, tqdm, etc.) introduce any transitive vulnerabilities or breaking changes.
  • Performance characteristics and scalability limits for large-scale evaluation runs.
  • Whether optional extras (cli, openai-agents, otel, temporal) are stable or experimental.
Same gist for agents: .md · .json

What it is and what it does

Braintrust is an SDK that integrates AI applications with a hosted evaluation and tracing platform. It lets you define evaluation tasks with input data, a task function, and scoring functions, then run those evaluations against the Braintrust backend to log results, trace execution, and compare model outputs against expected behavior. The core workflow involves wrapping your AI task in an Eval object, defining how to score correctness, and running the evaluation via CLI or programmatically.

The package depends on 10 runtime libraries including requests for HTTP communication, jsonschema for validation, tqdm for progress display, and sseclient-py for streaming responses. It supports optional integrations for OpenAI agents, OpenTelemetry, and Temporal workflows via extras. The SDK requires Python 3.10 and an API key to authenticate with the Braintrust service.

Use it for

  • Run automated evaluations of LLM outputs against expected results and custom scoring functions.
  • Trace execution paths and log intermediate steps of AI applications for debugging and analysis.
  • Compare multiple model versions or prompts by running the same evaluation suite against each.
  • Monitor AI application behavior in production by instrumenting with Braintrust logging.
  • Integrate evaluation workflows into CI/CD pipelines using the CLI or programmatic API.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building or evaluating AI applications and want structured logging and evaluation infrastructure.

The package is actively maintained, has low install friction, uses a permissive license, and carries no known vulnerabilities. The main constraint is the requirement for Python 3.10+ and a Braintrust API key; if you don't need hosted evaluation or tracing, a lighter alternative may suffice.

Install

braintrust on PyPI

Before you install

Low friction install with a pure-wheel distribution. Active maintenance with a release 3 days old and commits current as of 2026-08-14. Requires Python 3.10 or later.

Requires Python 3.10 or later. Requires BRAINTRUST_API_KEY environment variable to connect to the Braintrust service.

License in practice

MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.

Quickstart

pip install braintrust

from braintrust import Eval

def is_equal(expected, output):
    return expected == output

Eval(
    "Say Hi Bot",
    data=lambda: [{"input": "Foo", "expected": "Hi Foo"}],
    task=lambda input: "Hi " + input,
    scores=[is_equal],
)

Verify before relying

  • Whether the 10 runtime dependencies (requests, chevron, tqdm, etc.) introduce any transitive vulnerabilities or breaking changes.
  • Performance characteristics and scalability limits for large-scale evaluation runs.
  • Whether optional extras (cli, openai-agents, otel, temporal) are stable or experimental.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
10 packages
requestschevrontqdmexceptiongroupjsonschemapackagingsseclient-pypython-slugifytyping_extensionswrapt
MaintenanceActively maintained 3 days since the last release
Last repo commit
First released
Downloads7,783,477 / month, #1,695 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10

Evidence: braintrust-0.33.0-py3-none-any.whl

Tags

Capabilities
AI application evaluation frameworkLLM tracing and loggingmodel performance evaluationAI experiment trackingevaluation metrics for AILLM observability SDKAI application monitoring
Topics
llm-evaluationai-observabilityexperiment-tracking

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 › “AI application evaluation framework”

  • braintrustBraintrust is a Python SDK for logging, tracing, and evaluating AI…
  • azure-ai-evaluationEvaluates generative AI application outputs using built-in and custom…
  • arize-phoenixPhoenix is an open-source AI observability platform that traces LLM…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

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.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

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.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

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.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

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.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

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.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also braintrust-api · braintrust-core · braintrust-langchain · anima-python · mlflow-tracing · arize · openinference-instrumentation-openai-agents · langfuse · opik · mlflow

Further reading