Breviv0.24

Start

Brevi documentation

View as Markdown

Brevi is a compiler built for AI coding agents. The agent writes ordinary Python, and Brevi builds it through Rust into a native program that prints exactly what CPython prints, typically 2 to 40 times faster. When Brevi cannot build something, it says so in one short JSON line the agent can act on.

Brevi is written in Rust and released under the Apache-2.0 license.

$ brevi run top.py < text.txt        # build natively, then run
the: 3
and: 2
cat: 1

Who it is for#

What makes it different#

Where to go next#

Status#

Brevi is a preview, at version 0.24. It builds most real-world agent-written Python natively today, and the roadmap lists what is still missing. Package-manager installs (pip, npm, Homebrew) and the hosted service at brevi.run are coming; for now, install from the GitHub release.