Bret Taylor introduces Truss, a language designed for agent-written software
OtherPublished: Source: Hacker News (100+ points)
TL;DR:Bret Taylor has introduced Truss, a prototype programming language built around software authored by AI agents.
Bret Taylor has introduced Truss, a prototype programming language built around software authored by AI agents. Instead of prioritizing convenient human editing, it focuses on human verification and formal contracts: package providers must prove their implementations satisfy specified behavior, while the compiler checks correctness through code generation and linking.
Key points
- Truss treats a formal contract as the atomic unit of a package, specifying function behavior, memory access, and state changes.
- Providers must supply proof that their implementations conform to a contract; dependent programs can rely on contract claims without rebuilding each proof.
- The compiler aims to preserve guarantees through code generation and separate compilation.
- Truss is a prototype, and the project invites discussion about platforms for reliable, secure, high-performance agent-written software.
Why it matters
If agent-written software becomes more common, Truss tests a different tradeoff: spend more effort and compute proving correctness up front so teams can verify packages and reuse those guarantees. It is currently a prototype, not evidence that broad-scale rewrites are underway.
Companies and models mentioned
- Truss
- Bret Taylor
- Rust