Braintrust Core is a Python package that provides shared core dependencies for other packages within the Braintrust ecosystem. It is primarily an internal utility library, with user-facing functionality for logging, tracing, evaluations, and CLI workflows typically exposed through the main `braintrust` SDK. The current version is 0.0.59, and it generally follows the release cadence of the broader Braintrust Python SDKs.
pip install braintrust-coreVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates the usage of the main `braintrust` SDK for defining and running evaluations. `braintrust-core` is an internal dependency and not typically used directly in user quickstarts. Ensure you also install `autoevals` for scoring functions: `pip install braintrust autoevals`.
Use `pip install braintrust` and import from `braintrust` for Braintrust features. Only install `braintrust-core` if explicitly required as a dependency by another Braintrust package.
Always refer to the official Braintrust Python SDK documentation for the latest recommended import paths and usage patterns, focusing on the `braintrust` package for user-facing APIs.
Avoid directly importing from `braintrust-core`. If you find yourself needing functionality seemingly offered by `braintrust-core`, check the main `braintrust` SDK documentation first, as the desired feature is likely available there.