Airbender Platform User Guide
Airbender lets you write Rust programs whose execution can be proven with zero-knowledge. Your code compiles to RISC-V, runs inside a virtual machine, and produces a cryptographic proof that the execution was correct, without revealing the inputs.
API reference docs for the current main branch are published at
/api/.
The programming model has two sides:
- A guest program: the RISC-V code you want to prove.
- A host program: native Rust that feeds inputs to the guest, runs it, and optionally generates and verifies proofs.
Reading Order
- Installation & Hello World - get set up and prove your first program.
- Guest Program API - how to write guest programs.
- Host Program API - how to drive guests from the host side.
- Using Crypto - shared crypto primitives with prover-accelerated delegation.
- CLI Reference - every
cargo airbendercommand and flag.
Examples
Complete guest + host examples live in the repository under examples/:
fibonacci- basic no_std computationu256-add- no_std withruintfor big integersstd-btreemap- std-enabled guest withBTreeMapcycle-markers- transpiler profiling with delegation snapshotsrevm-basic- revm transaction inside Airbender