Get the daily emailDaily email
  1. Home
  2. Agents
  3. This story

Truss: a prototype language with formal verification, designed for agent-written code

Sierra's co-founder, who also chairs OpenAI's board, open-sourced Truss, a language that assumes AI agents write the code and optimizes for human verification rather than authoring convenience. Its basic unit is a contract that formally specifies return…

Published Read the original

Ranked #21 of 26 on Thursday, December 3

Truss: a prototype language with formal verification, designed for agent-written code

Why it matters

It shows one direction agent coding could take: spending tokens at write time to get code that is provably correct.

What happened

1 min read

Sierra's co-founder, who also chairs OpenAI's board, open-sourced Truss, a language that assumes AI agents write the code and optimizes for human verification rather than authoring convenience. Its basic unit is a contract that formally specifies return values, memory access and state changes; each provider ships a proof file showing it satisfies the contract. The compiler also proves its translation preserves observable behavior.

inscraper analysis

Our analysis

The author calls it a prototype meant to start a conversation, not a production tool. Storing proofs beside implementations so dependents need not redo them is a sensible way to scale formal verification, similar in spirit to Dafny or F* but built around an agent author. Open questions include the real token cost of generating proofs, how usable its errors are for agents, and the library ecosystem. Worth a look for people interested in formal methods and agent coding.

More in Agents