truss

finiteloop

A prototype programming language and compiler using formal contracts and attached proofs to verify AI-agent-written software.

RustCreated

What is finiteloop/truss?

Truss is a prototype Rust-implemented programming language created by Bret Taylor for software written by AI agents and checked by humans. Rather than optimizing for brief human syntax, Truss centers on formal contracts that specify data structures, function signatures, memory access, and state changes alongside separate provider implementations.

Each provider includes a conformance proof file verified independently by the compiler, allowing callers to rely on a contract without re-proving all downstream dependencies. The compiler checks contracts through code generation and separate compilation, and includes standard-library examples for sorting, SHA-256 hashing, HTTP framing, ZIP extraction, JSON string parsing, socket readiness, CRC-32, and owned byte buffers.

Language researchers and developers building agent-authored tooling can install the truss CLI from source to lock dependencies, update or replay proofs, build native binaries, and run pinned tests.

Before you startThe README says

Needs
Rust (for building from source and the verifier)
How you get it
Build and install from source
Not yet
Prototype language; toolchain build steps are in separate docs

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.