HomeNews

Truss: Bret Taylor's Language for Agent-Written Code

Anmol
Anmol
•
Dec 3, 2026 3:42 AM
•
0
 min read
Select Emergent as your Preferred news source
Truss: Bret Taylor's Language for Agent-Written Code

💡 TL;DR

  • Bret Taylor open-sourced Truss on GitHub under Apache 2.0, a prototype language designed for software written by AI agents.
  • Truss packages ship contracts plus proofs of conformance, so dependents validate verified behavior instead of re-verifying it themselves.
  • Taylor argues the extra tokens agents spend up front are cheap compared with the lasting correctness they buy.

Bret Taylor has open-sourced Truss, a prototype programming language built on the premise that code is now written primarily by AI agents rather than by hand. The project is on GitHub under the Apache 2.0 license, and Taylor describes it as a conversation starter rather than a finished system.

A language that favors verification over convenience

Most languages optimize for how easily a human can write and edit code. Truss deliberately inverts that. According to the project README, "Rather than optimizing for authoring convenience, Truss requires quite a bit of reasoning at authoring time to verify a program's correctness and performance."

Taylor's case for the tradeoff is economic. He writes that it 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." In other words, the extra tokens an agent spends up front are treated as cheap compared with the correctness they buy.

How contracts and providers work

The atomic unit of a Truss package is a contract, which "specifies data structures and functions along with their formally verified behaviors." Implementations, called providers, must provably satisfy every claim in the contract and supply a proof of conformance.

Taylor says this approach "enables formal verification to scale with large code bases, pushing the majority of the work of formal verification to package authors." Downstream code validates the proofs instead of redoing the verification. The stated design goals include:

  • Formal verification of contract implementations
  • Compile-time safety guarantees
  • Proof-based package dependencies
  • Performance reasoning at authoring time, not after the fact

What the standard library includes

The standard library ships with formally verified examples rather than just specifications. These cover:

  • Sort
  • SHA-256
  • HTTP response framing
  • ZIP extraction
  • JSON strings
  • Socket readiness
  • CRC-32
  • Owned byte buffers

The list mixes cryptographic, parsing and systems primitives, areas where subtle bugs carry real security and reliability costs. That makes them a sensible test bed for proof-carrying packages.

Release date and availability

Officially released on December 2, 2026, Truss is available now as an open-source repository on GitHub, and the project surfaced on Hacker News the same day. Taylor is explicit about the maturity level: "Truss is just a prototype, but I was hoping to start a conversation about the platforms we need to design to achieve that vision." That vision is software that is "provably correct, verifiably secure, and incredibly fast," produced by agents at unparalleled scale.

There is no stated production roadmap, pricing or hosted service. The Apache 2.0 license means developers can fork, modify and build on the code freely.

Why it stands out among agent-coding tools

Recent launches in this space have largely focused on making code agents faster or easier to orchestrate. Truss targets a different layer: the substrate those agents write into. Rather than adding review steps after generation, it moves correctness checking into the language and package system itself.

That framing raises open questions the README does not claim to settle, including how well agents can produce proofs reliably, how costly proof generation becomes on large projects, and whether package authors will adopt a heavier authoring model.

What this means

Truss is an early, opinionated bet that the programming languages of the agent era should be designed for machine authors, not human typists. If agents keep taking over routine code production, languages that make correctness machine-checkable could reduce the review burden on engineers. For now it is a prototype with a small verified standard library, but its contract-and-proof model gives developers and tool builders a concrete design to examine, test and challenge.

About the writer

Anmol Agarwal is a growth marketing leader at Emergent with over 13 years of experience, having previously driven growth and performance marketing at Junglee Games and Freecharge.

Start Building
on Emergent today
Try Emergent