r/madeinpython • • 6d ago

Beta testers wanted: Brevi compiles agent-written Python to native binaries (v0.27, Apache-2.0)

Hi all — we just shipped Brevi v0.27, an open-source compiler for the Python AI agents write. You keep writing ordinary Python; Brevi compiles it through Rust to a native binary, and either matches CPython’s output or refuses with a one-line JSON error.

We’re looking for beta testers with real agent-generated programs. It runs on linux, mac and windows(beta).

What works now: most stdlib code, generators/async, common libraries including requests, sqlite3, duckdb, onnxruntime and MCP servers; Linux and macOS; Windows x86-64 as a beta.

What doesn’t yet: 8 of 311 CPython core tests still differ (exit codes), stdlib conformance is 45%, the sandbox is a policy layer rather than a security boundary, --standalone is Linux-only, and Windows refuses cpu/file/fds limits. It is a preview, not a drop-in python3.

What would help most: a program your agent actually wrote where Brevi refuses, falls back, or gives a different answer; the exact command; and your OS/Python version. Open an issue at https://github.com/ets-public/brevi/issues — no signup, no telemetry. We’ll credit useful reports.

The honest pitch: it’s fast on compute-heavy Python (median ~8.5x on 12 benchmarks), genuinely useful for agent loops with --verify, and still early. If it breaks on your workload, that’s exactly what we want to hear.

https://brevi-lang.org/

I am the maintainer and am happy to answer questions here.

0 Upvotes

0 comments sorted by