· Analysis

Bret Taylor's Truss is a programming language for AI-written code

The Sierra co-founder open-sourced a prototype language that asks AI agents to prove their code is correct before it compiles, on the bet that people will mostly review software rather than type it.

Illustration of a robot with a long arm placing code blocks onto an orange steel bridge truss, with green checkmarks on its joints. Image: AgenticFeed illustration

Bret Taylor, co-founder of the AI customer service company Sierra and an OpenAI board member, has released Truss, a prototype programming language built on the assumption that AI agents, not people, write the code. He published it as open source on GitHub and announced it on X on the morning of Nov. 30.

Taylor called it a personal project he built over the U.S. Thanksgiving weekend. It isn't a Sierra or OpenAI product.

Built for checking, not typing

Most languages are designed to make code quick for people to write. Truss flips that, according to its documentation. It aims to make code easy for people to verify, even if that makes it slower to write.

The tool it leans on is formal verification. That's a way of proving mathematically that a program does what its specification says, instead of testing a sample of cases and hoping the rest work.

"Truss requires quite a bit of reasoning at authoring time to verify a program's correctness and performance," Taylor wrote in his announcement post. He argued the trade makes sense because the agent carries the extra work. The "one-time token spend" then produces software that stays reliable, he wrote.

He compared it to Rust, a language whose compiler blocks many memory errors before code runs. Taylor called Rust "a fantastic language target for AI" and said Truss goes further by verifying behavior "well beyond memory management."

How contracts and proofs work

The basic unit in Truss is a contract. A contract describes what a function returns, which memory it may touch and what state it can change, according to the README.

Implementations, which Truss calls providers, have to prove they meet the contract. Each one ships with a proof file stored next to its source code.

Programs that use a package rely on its contract and don't have to redo the proof. Checking a supplied proof "can be an order of magnitude faster than constructing the proof itself," the documentation says.

That split is meant to make verification workable for large codebases. When a package changes, "you have to reprove the package you update, but the cost is limited to that package," Taylor wrote in a reply on X. Contracts can also describe the side effects of system calls through an "effects" keyword, he said in another reply.

The compiler itself is verified with Lean, a proof assistant used by mathematicians, Taylor wrote in a reply to a user. The repository's standard library includes examples such as a SHA-256 hash and an HTTP response parser, each with stated guarantees.

Why it matters for coding agents

Coding agents now produce large amounts of code that people review rather than write. The weak spot is review itself, because a passing test suite doesn't prove a change is correct.

Taylor's pitch is that the language should do more of that checking. "I think we will probably rewrite most software written before AI," he wrote, arguing that older code is too flawed and too insecure to keep.

He was clear about the project's limits. "Truss is just a prototype, but I was hoping to start a conversation about the platforms we need to design," Taylor wrote.

The repository was created on Nov. 30 and is released under the Apache 2.0 license. It had about 120 stars on GitHub by midday. No independent benchmarks or outside reviews of Truss have been published yet, and every claim about how it performs comes from Taylor and the project's own documentation.

Source: Code repository, Bret Taylor, co-founder of Sierra (independent personal project), created Nov. 30, 2026, “Truss is a programming language designed for agent-written software”

Additional sources: X post, Bret Taylor (@btaylor), Nov. 30, 2026, “Post announcing Truss”; X post, Bret Taylor (@btaylor), Nov. 30, 2026, “Reply on compiler verification with Lean”; X post, Bret Taylor (@btaylor), Nov. 30, 2026, “Reply on reproving updated packages”

Get the AgenticFeed newsletter

A free, regular roundup of the agent stories that matter. No spam, and you can unsubscribe at any time.

Want to reach readers following AI agents? Advertise with AgenticFeed

Next event · 30 Nov, 2026

AWS re:Invent 2026 in Las Vegas

AWS’s annual conference runs Nov. 30 to Dec. 4. Matt Garman’s CEO keynote is on Dec. 1, and the catalog lists more than 2,200 sessions.

The AgenticFeed newsletter

A free, regular roundup of the agent stories that matter. No spam.