Truss: A programming language optimized for agent-written software

By hackernews · · Repos

Truss: A programming language optimized for agent-written software

Truss is a programming language optimized for agent-written software. Truss aims to make software more reliable, secure, and performant by embracing the unique strengths of AI agents.

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. This fundamental assumption changes most of the design considerations for Truss relative to traditional programming languages:

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 (Bret Taylor) 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.

What Hacker News is saying

  • “Difficulty: no existing model is trained on Truss.”
  • “Named for having the lifespan of an iceberg lettuce?”
  • “Its hard to hate a project more than this to be honest.”
  • “I've been beating this drum for some time, this is the way forward…”

Read the full discussion on Hacker News →

Source: https://github.com/finiteloop/truss

More stories