Bret Taylor 发布面向 AI 智能体的编程语言 Truss
OpenAI 董事会主席 Bret Taylor 自己写了个编程语言,专给 AI 智能体用,思路是把编译期验证做得比 Rust 还狠。代码已开源,做编译器、形式化验证或智能体工具链的工程师建议直接去看原型。
Sierra 联合创始人、前 Salesforce 联席 CEO Bret Taylor 在感恩节期间发布了个人项目 Truss,一种专为 AI 智能体编写软件而设计的编程语言,原型代码已开源在 GitHub 的 finiteloop/truss 仓库。传统编程语言优化的是人类作者书写代码的便利性,Truss 反其道而行,在编写阶段要求大量推理运算来验证程序的正确性与性能。
Truss 的核心逻辑是:既然代码改由智能体生成,编写时的成本就只是一次性的 token 消耗,换来的却是软件长期的可验证健壮性。Taylor 将 Rust 视为这个方向的先行者——Rust 的编译期内存安全让人类写起来更费劲,却是极好的 AI 目标语言;Truss 把形式化验证推进到内存管理之外的更多行为层面。
Taylor 还提出了一个激进的判断:AI 出现之前写就的大部分软件存在缺陷、不安全且慢,很可能被重写为可证明正确、可验证安全且极快的新软件。Truss 目前只是原型,他希望以此引发关于智能体时代基础设施平台设计的讨论。
对开发者和基础设施团队来说,这条思路指出了一个新分层:当编写成本趋近于零,验证和规约会成为语言设计的中心。与 Cursor、Devin 等围绕现有语言做智能体工具的路线不同,Truss 是从语言本身为智能体重构,做底层工具链或关注形式化验证的团队值得对照评估。
Interesting! Bret Taylor @btaylor 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 github.com/finiteloop/tru… . 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. 🔗 View Quoted Tweet📊 7 ⚡
This report is categorized under AITOP's "Products" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows and US-China foundation model benchmarks and commercialization comparison. Key entities and technical topics under continuous tracking include Truss, Bret Taylor, Rust, coding assistants.
Source attribution: curated from Thomas Wolf (@Thom_Wolf). Cross-source corroboration: 11 independent sources have covered this development (including IT之家, TestingCatalog, Tibor Blaho), confirming industry-wide signal strength.