Repository navigation
docs: use bt for python eval and function workflows - #1199
Merged
Merged
Conversation
> 🤖 **This text was AI-generated.** The Python SDK examples point to its bundled CLI even where the standalone CLI can run the same workflow. Install bt alongside the SDK and run evals with `bt eval eval_tutorial.py` on macOS and Linux. Use `bt functions push` to publish code functions. Keep the Python SDK CLI for native Windows evals and custom reporter exit codes. Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
[Low impact] No unacknowledged blocking issue was found. SummaryUpdates Python eval examples and command hints to use the standalone
Reviews (2) · Last reviewed commit: "docs: remove platform caveats from bt ev..." · Reviewed by Greptile |
> 🤖 **This text was AI-generated.** Present the same `bt eval` quickstart across the SDK docs and examples. Remove the temporary platform-specific alternatives ahead of Windows support. Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Abhijeet Prasad (AbhiPrasad)
approved these changes
Nov 27, 2026
Abhijeet Prasad (AbhiPrasad)
enabled auto-merge (squash)
November 27, 2026 20:19
Abhijeet Prasad (AbhiPrasad)
deleted the
devin/1795810203-bt-cli-docs
branch
November 27, 2026 20:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ahead of deprecating the Python SDK CLI, teach Python users the standalone
btCLI wherever it has parity.README.md,py/README.md,examples/evals/README.md,braintrust/__init__.pydocstring: installbtseparately (stillpip install braintrust, since bt's runner imports the SDK) and runbt eval ...on macOS/Linux.framework.py/framework2.py:braintrust eval→bt eval,braintrust push→bt functions push.No CLI implementation or deprecation warnings changed.
Left on the Python CLI: native Windows evals (
bt evalis Unix-only today), remoteEval()sandbox registration, AWS CloudFormationbraintrust install ....Link to Devin session: https://braintrust.devinenterprise.com/sessions/d799f1f664d04d3483da9ab700ea7bc2
Open in Devin Desktop: https://braintrust.devinenterprise.com/desktop/session/d799f1f664d04d3483da9ab700ea7bc2?variant=devin