AI NewsDev toolsAnnouncement

Bret Taylor made a programming language for code written by AI agents

Truss is a three-day-old prototype programming language. It assumes an AI agent writes the code, and asks for a math proof that each function behaves as promised.

AI News

Editorial2 min read

LinkedInX
GitHub social card for finiteloop/truss

Image: GitHub

Why it mattersIf a model can spend more tokens to generate a proof, teams can trust AI code without reading every line. That moves the review step from humans to the compiler.

Bret Taylor has released a prototype programming language that assumes AI agents write the code. A human then verifies that code rather than editing it. Truss is on GitHub under Apache-2.0. The repository was created on 30 November 2026 and reached 653 stars in three days. A Hacker News thread on it has 119 points.

The README names Taylor as the author and links to his personal site at backchannel.org. Taylor is the co-chief executive of Sierra and a former chief technology officer of Facebook. He writes in the README that Truss "is just a prototype". He says he wants "to start a conversation about the platforms we need to design" for AI-written software.

The design choice the README names

The README puts the trade in a table. A traditional language optimises for human editing, convenience, and short writing time. Truss optimises for human verification, correctness, and spending more tokens at writing time to get stronger guarantees. Rust gets a mention as "a small step in this direction". The README says Rust's compile-time memory safety makes code harder for people to write and easier for AI to target.

What a Truss package looks like

A package is a set of contracts, each with data types and functions. A contract states what a function must return, what memory it may touch, and what state it may change. A provider implements a contract. Each provider must publish a proof that its code satisfies every claim the contract makes. The README gives a Map contract with HashMap and SortedMap providers as the example. Each provider comes with its own package.proof file.

When a program uses a contract, the compiler builds a proof of the program's correctness from the contract's claims. When a provider is bound to a contract, the compiler replays the provider's published proof to verify its conformance. The README says this replay is "an order of magnitude faster" than building the proof from scratch. So the one-time token cost sits with the package author.

What the standard library proves

The README lists eight worked examples in the included standard library. Each one proves a property a review would miss. SHA-256 is proved to digest exactly the bytes handed in, in order, however the caller splits them. ZIP extraction is proved to report the exact prefix of files it published if it fails halfway. HTTP response framing is proved to find the header break even when the blank line is split across reads. CRC-32 is proved to give the same result on any split of the same bytes.

The compiler commands include truss proof update to write a proof. truss proof check replays one. truss verify --image runs a Rust verifier that independently checks selected linked code and host bindings. The README says the toolchain is in a "getting started" state. The install is from source.

Source

finiteloop/truss on GitHub.

SourceGitHub

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project