Vercel Labs、AI エージェント向け言語「Zero」を公開
本文の状態
日本語全文を表示中
詳細モードで約5分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
InfoQ AI/ML
Vercel Labs は AI エージェントがコードを直接記述・修復することを前提としたシステム言語「Zero」をリリースし、グラフ中心のワークフローと明確な機能制限を導入した。
AI深層分析を開く2026年8月6日 15:21
AI深層分析
キーポイント
AI エージェント向け設計の転換
コンパイラの出力を人間ではなく AI エージェントが読むことを前提とし、エラーコードや修復メタデータを標準化してエージェントによる自動修正を可能にした。
グラフ中心のアーキテクチャ
v0.3.0 でソースファイルよりも「graph」ストアが主要な入力となり、エージェントはクエリとパッチを通じて作業を行い、ハッシュによる整合性チェックで不正編集を防ぐ。
明示的な副作用管理
外部世界(ネットワーク、ファイルシステムなど)へのアクセスを関数シグネチャ上の「World capability」によって強制し、コードの挙動を宣言的に制御する。
開発者向けではなくエージェント向けの設計
構造化エラーは長年存在するが、本プロジェクトの目的は人間ではなくAIエージェントが処理できる形式にすることにある。
言語採用への懸念と反論
エージェントが得意とする言語は学習データに多く現れるものだが、SvelteのようなAPI変更事例からトレーニングデータの重要性は期待ほど高くないという見方もある。
重要な引用
"faster, smaller, and easier for agents to use and repair"
"Every subcommand of the single zero binary shares a --json flag and one diagnostic schema"
"Any function that touches the outside world must accept a World capability"
As a developer I understand these error messages existed for decades and I agree with you that its not much of a problem for devs like you and me and many others but that doesnt justify not developing something an ai agent can also work with and its not about devs but more about agents.
編集コメントを表示
編集コメント
AI エージェントがコードを直接生成・修正する未来に向けた、極めて野心的な実験的言語の登場である。開発者にとって、従来のテキストベースのワークフローからグラフ中心の管理へ移行する際の学習コストと、エージェントによる自動化の信頼性向上というトレードオフを慎重に評価する必要がある。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
Vercel Labs は、コンパイラの出力を人間ではなく AI エージェントが主に読むことを前提に設計された実験的システムプログラミング言語「Zero」[https://zerolang.ai/] をリリースしました。この言語は 2026 年 5 月 15 日、Vercel の Chris Tate 氏によって紹介され [https://x.com/ctatedev/status/2055434061322039377] 、エージェントにとって「より高速で、軽量、かつ利用・修復が容易なシステム言語」として位置づけられています。プロジェクトは急速に発展し、現在 v0.3.4 に到達するとともに、GitHub [https://github.com/vercel-labs/zerolang] では 5,200 スターを超える支持を集めています。
Zero は .0 というファイル拡張子を採用しており、ライセンスは Apache 2.0 です。Linux、macOS、Windows 向けにネイティブバイナリへコンパイルされます。初期の注目点はサイズと速度にあり、「Hello World」プログラムがわずか 1 ミリ秒でビルドされ、そのサイズは 16.2 KiB であることが報告されています [https://www.reddit.com/r/WebAfterAI/comments/1tex8t8/zero_vercel_labs_new_experimental_systems/]。しかし、最も特徴的なのはツールチェーンの契約です。単一の zero バイナリに含まれるすべてのサブコマンドは --json フラグと統一された診断スキーマを共有しています。これにより、エラーには NAM003 のような安定したコードが割り当てられ、declare-missing-symbol といった型付き修復メタデータが付与されます。また、zero fix コマンドに --plan と --json を指定すると、エージェントが受け入れ・編集・拒否できる機械可読な修復プランが返却されます。これは盲目的に修正を適用するのではなく、エージェントが判断を下せる形式での提案です。
エフェクトの扱いも明確です。外部世界にアクセスする関数はすべて World 能力を受け取る必要があり、コンパイラがこれを強制します。そのため、関数のシグネチャを見るだけで、そのコードがネットワークやファイルシステム、標準出力へ到達できるかが一目でわかります。
より大きな転換点は v0.3.0 で起こりました。ここではグラフファーストな記述が標準的なワークフローとなりました。バイナリ形式の zero.graph ストアがコンパイラの入力となり、.0 ファイルは人間が読みやすい投影データです。エージェントは zero query と zero patch を通じて作業を行い、パッチにはグラフハッシュによるガードがかけられています。これにより、古くなった無効な編集はストアに書き込まれる前に失敗します。
すでに以前のビルドを使っている人にとっては、この変更は大きな転換を意味します。v0.1.4 で行構文が採用され、v0.2.0 では正規の .0 テキストがネイティブなソース表面として昇格しました。そして v0.3.0 ではコンパイラの境界でソース投影の入力自体が拒否されます。そのため、既存のテキストファーストなパッケージでは、ソースをグラフに取り込むために zero import が必要です。また、人間のレビューや CI のドリフトチェックには zero export と zero verify-projection が使われます。このループは Getting Started ガイド や 言語リファレンス に詳しく記載されています。v0.3.2 では大規模なプログラムにおける zero import の速度が約 12 倍向上し、この変換にかかるコストを緩和しました。
Hacker News では killerstorm が以下のようにコメントしています。
まあね。新しいのは能力(capabilities)だけで、彼らはそれを説明していない。
あるコメントでは、構造化エラーはもはや新しいものではないと指摘され、「こうしたエラーメッセージは何十年も前から存在している」と主張されました。これに対し、別の回答者は「重要なのは開発者ではなくエージェントである」と反論しました。
開発者として、これらのエラーメッセージが何十年も前から存在することは理解しています。あなたや私のような開発者にとっては大きな問題ではないという点にも同意します。しかし、AI エージェントでも扱える仕組みを開発しない理由にはなりません。これは開発者の話ではなく、むしろエージェントのための話です。
他のユーザーは採用の難しさを指摘し、「エージェントが最も得意とする言語は、事前学習データに多く出現するものになるだろう」と述べていました。これに対し、kandros は Svelte などのプロジェクトにおける主要な API 変更を例に挙げ、「トレーニングデータの重要性は期待ほど高くないのではないか」と反論しました。
既存の競合他社と比較すると、Zero はバイナリサイズと明示的な割り当てにおいて Rust よりも Zig に近く、Rust の所有チェッカーの成熟度やエコシステムには及びません。また、Go のグリーンスレッドや大きなランタイムを犠牲にして、依存関係のない超軽量なアーティファクトを実現しています。
Zero はオープンソースで Vercel Labs によって開発されています。プロジェクト側は実験段階であることを警告しており、破壊的変更が予想されるため、本番環境や機密データを扱うシステムではなく、隔離されたワークスペースでの利用を推奨しています。
著者について
Daniel Curtis
ダニエル・カーティスは、英国バーミンガムに拠点を置くソフトウェアコンサルティングファーム「Griffiths Waite」の UI 開発マネージャーです。彼は TypeScript を活用した全スタックでの革新的なエンタープライズソリューションの実装に注力し、フロントエンドエンジニアリングを率いています。
ダニエルは、モダンなウェブアーキテクチャや開発者体験(DX)に関心が高く、AI がソフトウェアの納品プロセスを支えるだけでなく、製品内で顧客が直面する実際の課題を解決する手段としても活用することに情熱を注いでいます。
原文を表示
Vercel Labs has released Zero, an experimental systems programming language built on the premise that the primary reader of compiler output is no longer a human but an AI agent. It was introduced by Vercel's Chris Tate on May 15, 2026, pitched as a systems language that is "faster, smaller, and easier for agents to use and repair", and the project has since moved quickly, reaching v0.3.4 and gathering more than 5,200 stars on GitHub.
Zero uses the .0 file extension, is Apache 2.0 licensed, and compiles to native binaries for Linux, macOS and Windows. Early coverage focused on size and speed, with a hello world reported at 16.2 KiB built in a millisecond. The more distinctive part is the toolchain contract. Every subcommand of the single zero binary shares a --json flag and one diagnostic schema, so errors arrive with stable codes such as NAM003 and typed repair metadata such as declare-missing-symbol, while zero fix --plan --json returns a machine readable repair plan an agent can accept, edit or reject rather than a fix applied blind.
Effects are explicit too. Any function that touches the outside world must accept a World capability, and the compiler enforces it, so a signature alone reveals whether code can reach the network, the filesystem or standard output.
The bigger shift landed in v0.3.0, which made graph-first authoring the normal workflow. A binary zero.graph store is now the compiler input, .0 files are human readable projections, and agents work through zero query and zero patch, with patches guarded by graph hashes so stale or invalid edits fail before the store is written.
That churn is real for anyone already on an earlier build. v0.1.4 adopted row syntax, v0.2.0 promoted canonical .0 text to the native source surface, and v0.3.0 rejects source projection inputs at the compiler boundary altogether. Existing text-first packages therefore need zero import to pull source into the graph, with zero export and zero verify-projection covering human review and CI drift gates, a loop documented in the getting started guide and the language reference. v0.3.2 made zero import roughly 12x faster on large programs, which softens the cost of that conversion.
On Hacker News, killerstorm wrote:
Meh. The only new thing about it is capabilities, which they don't explain.
Another commenter called structured errors old news, arguing "error messages like these have existed for decades", while a reply countered that the point is agents rather than developers:
As a developer I understand these error messages existed for decades and I agree with you that its not much of a problem for devs like you and me and many others but that doesnt justify not developing something an ai agent can also work with and its not about devs but more about agents.
Others questioned adoption, with one user noting "the languages the agents will be best at are the ones that show up the most in the pretrain", and kandros replying that major API changes in projects like Svelte suggest training data matters less than expected.
Against incumbents, Zero sits closer to Zig than Rust on binary size and explicit allocation, lacks Rust's borrow checker maturity and ecosystem, and trades Go's green threads and larger runtime for tiny dependency-free artifacts.
Zero is open source and developed by Vercel Labs. The project warns that it is experimental, expects breaking changes, and should be run in isolated workspaces rather than against production systems or sensitive data.
About the Author
Daniel Curtis
Daniel Curtis is a UI Development Manager at Griffiths Waite, a software consultancy based in Birmingham, UK. He leads front-end engineering efforts with a strong focus on delivering innovative enterprise solutions using TypeScript across the stack. Daniel is passionate about modern web architecture, developer experience, and the use of AI to both support software delivery and solve real customer problems within products.
Show moreShow less
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み