← Monday, November 30 deck

16Tooling1 source posting

OpenAI Board Member Bret Taylor Releases Truss, a Prototype Programming Language Designed for Software Written by AI Agents and Built to Verify Correctness and Performance Before Code Runs

In between meals and football games, I found time for a personal project this Thanksgiving - a programming language designed for agent-written software, named Truss t.co/n6rBBM1UB7. Traditional programming languages were designed for the ergonomics of human authors, effectively optimizing for the convenience of writing code. Truss, in contrast, assumes code is no longer written by hand, but instead written by AI agents. Rather than optimizing for authoring convenience, Truss requires quite a bit of reasoning at authoring time to verify a program's correctness and performance. That tradeoff is sensible for agent-written software because it is not a burden to the software engineer and the one-time token spend can produce software with enduring robustness. Popular programming languages like Rust are a small step in this direction, providing compile-time memory safety — making Rust code a bit harder to write for humans, but a fantastic language target for AI. Truss takes this idea a few steps further, formally verifying behaviors well beyond memory management. I think we will probably rewrite most software written before AI because that software is imperfect, insecure, and slow. I would like to have software that is provably correct, verifiably secure, and incredibly fast, and I would like to be able to use agents to produce software of unparalleled scale and complexity that has those qualities. Truss is just a prototype, but I was hoping to start a conversation about the platforms we need to design to achieve that vision.

Context

Why it matters

A well known AI executive is arguing that code written by agents should be provably correct and secure, which would change how software is checked and could push teams to rewrite old, insecure code with agents.

Bret Taylor is a co founder of Sierra and a member of OpenAI's board. He describes Truss as a personal project from the Thanksgiving break and a prototype, not a finished product. The code is on GitHub under the finiteloop account.

Deep dive

Bret Taylor said in a post on November 30 that he used the Thanksgiving break to build a programming language designed for agent written software, named Truss. He argues that traditional languages were designed for the ergonomics of human authors, optimizing for how easy code is to write, while Truss assumes code is written by AI agents.

According to Taylor, Truss instead requires a lot of reasoning at authoring time to verify a program's correctness and performance. He says that tradeoff makes sense for agents, because it is not a burden to the software engineer and a one time token spend can produce software with lasting robustness. He compares it to Rust, whose compile time memory safety makes code harder for humans to write but is a strong target for AI, and says Truss goes further by formally verifying behaviors well beyond memory management.

Taylor wrote that he thinks most software written before AI will probably be rewritten because it is imperfect, insecure and slow, and that he wants software that is provably correct, verifiably secure and incredibly fast. He called Truss a prototype and said he hoped to start a conversation about the platforms needed to reach that vision. These are his views and plans.

What to expect next

Watch for whether developers and agent companies try Truss, contribute to the repository or build similar languages and verification layers. The open questions are whether agents can reliably write programs that pass this kind of formal verification, how much extra token cost it takes, and how the approach compares with existing languages like Rust plus testing. Taylor framed the release as the start of a conversation, so expect responses from other AI builders about what platforms agent written software needs.