Skip to content

docs: use bt for python eval and function workflows - #1199

Merged
Abhijeet Prasad (AbhiPrasad) merged 2 commits into
mainfrom
devin/1795810203-bt-cli-docs
Nov 27, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 2 commits into
mainfrom
devin/1795810203-bt-cli-docs

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Ahead of deprecating the Python SDK CLI, teach Python users the standalone bt CLI wherever it has parity.

  • README.md, py/README.md, examples/evals/README.md, braintrust/__init__.py docstring: install bt separately (still pip install braintrust, since bt's runner imports the SDK) and run bt eval ... on macOS/Linux.
  • User-facing hints in 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 eval is Unix-only today), remote Eval() sandbox registration, AWS CloudFormation braintrust install ....

Link to Devin session: https://braintrust.devinenterprise.com/sessions/d799f1f664d04d3483da9ab700ea7bc2
Open in Devin Desktop: https://braintrust.devinenterprise.com/desktop/session/d799f1f664d04d3483da9ab700ea7bc2?variant=devin

> 🤖 **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>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T20:20:11.805762Z 3580c5b PR opened
ℹ️ About Codex in GitHub

Your 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.

@greptile-apps

greptile-apps Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · No unacknowledged blocking issue was found.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] No unacknowledged blocking issue was found.

Summary

Updates Python eval examples and command hints to use the standalone bt CLI.

  • Python eval guides show users how to run examples with the standalone bt CLI.
  • SDK eval guidance points readers to the current CLI commands.
  • Function-publishing warnings describe the CLI workflow with current command names.

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>
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit 0cb93c9 into main Nov 27, 2026
99 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the devin/1795810203-bt-cli-docs branch November 27, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant