Vercel Labs Ships Zero, an Open-Source Language Built for AI Agents
Vercel Labs open-sources Zero, a graph-first systems language where the compiler speaks JSON so AI agents can write, check, and repair code without human translation
Takeaways
- What it is: Zero is an experimental systems language from Vercel Labs where the program is a semantic graph, not text files, making it natively editable by AI agents.
- Graph-first design: Agents submit checked graph patches targeting semantic node IDs rather than line numbers; invalid or stale edits are rejected before they touch the store.
- JSON compiler output: All diagnostics include stable error codes, typed repair metadata, and machine-readable fix plans — no prose parsing required by agents.
- Systems-level runtime: Compiles to sub-10 KiB native binaries with no GC, no hidden allocator, no implicit async, and zero external dependencies.
- Not production-ready: Explicitly pre-1.0 with breaking changes expected; not suitable for sensitive data or trusted infrastructure.
- Free and open-source: Available now under Apache 2.0 at github.com/vercel-labs/zerolang, installable via a single curl command.
Every time a coding agent like Claude Code or Cursor hits a compile error today, it has to do something deeply awkward: read a message written for a human, infer what went wrong, and guess at a fix. When an AI agent writes code and hits a compile error, it has to parse unstructured text, infer what failed, and guess at a fix. That chain is fragile at every step. Vercel Labs just shipped an answer to that problem in the form of a brand-new programming language.
Vercel Labs released Zero , a low-level systems programming language whose compiler was built from the ground up to communicate with AI agents rather than human engineers. The project, built by Vercel engineer Chris Tate, asks a simple question: what does a programming language look like when machines need to use it as much as people do?
The graph is the program
The deepest idea in Zero is not its syntax or its small binary size. It is a fundamental rethinking of what a "program" even is. In every language you have used before, text files are the source of truth. Zero flips that.
In Zero, the graph is the program database. The graph stores declarations, types, calls, blocks, imports, capabilities, and source-map facts directly. Agents edit those facts with checked graph patches. Humans read .0 projections when they want a source-like review view. Think of it as the difference between editing a database record versus editing the HTML that renders it.
The graph gives agents explicit handles: symbols, node IDs, graph hashes, types, effects, ownership facts, capabilities, imports, call edges, and target facts. Edits can target semantic structure instead of line ranges. Instead of asking an agent to find line 42 and rewrite a string literal, you tell it to patch the literal node with ID #expr_653eeb6e. The compiler either accepts the patch or rejects it before anything is written to disk.
What the agent loop actually looks like
The traditional agentic coding loop is: write text, run check, run format, run build, inspect failures, repeat. Zero's loop queries the graph, submits one checked patch, and only runs the validation a task actually needs. The difference is not just syntax. A graph patch can target "the literal argument to this write call" or "the body of this block" instead of asking an agent to locate and rewrite a span of text.
Here is what a patch command looks like in practice:
zero patch \
--expect-graph-hash graph:a7f7e6899a73f3b4 \
--op 'set node="#expr_653eeb6e" \
field="value" \
expect="hello from zero\n" \
value="hello graph\n"'Stale graph hashes, unexpected field values, invalid shapes, and type errors fail before the store is written. That is the key guarantee: an agent cannot silently corrupt the program. Either the patch is valid and applied atomically, or it is rejected with a structured error.
JSON all the way down
The second major design choice is that every compiler output is machine-readable JSON. The compiler emits JSON diagnostics with stable codes and typed repair metadata, so agents can parse and act on errors without interpreting human-readable text. zero explain and zero fix --plan --json give agents structured access to diagnostic explanations and machine-readable fix plans , no prose parsing required.
A diagnostic from zero check --json looks like this:
{
"code": "NAM003",
"message": "unknown identifier 'message'",
"expected": "visible local, parameter, function, or builtin",
"actual": "no matching visible symbol",
"repair": {
"id": "declare-missing-symbol"
}
}The repair.id field is the key detail. It is a stable, versioned identifier that an agent can use to look up a typed fix plan without parsing any prose. The compiler also ships its own documentation as a versioned bundle you can query directly with zero skills get zero-language, so the agent always has access to rules that match the exact binary it is running.
Built like a systems language, not a scripting toy
Zero occupies the same design space as C or Rust: it compiles to native executables, provides explicit memory control, and targets low-level environments. The stated binary target is under 10 KiB. There is no mandatory garbage collector, no hidden allocator, no implicit async, and no magic globals.
Effects are explicit in function signatures via capability-based I/O , functions must declare what they access, and the compiler enforces this at compile time. This design makes side effects auditable. An agent reading a function signature knows immediately whether it touches external state. That is a meaningful property when you are trying to build reliable autonomous systems.
The runtime goals Zero optimizes for:
- Token efficiency (less context consumed per edit)
- Sub-10 KiB native binaries, no LLVM dependency
- Fast startup and fast builds
- Zero external dependencies
- Low runtime latency
What it is good at, and what it is not
Zero is purpose-built for one scenario: Zero is not a framework for orchestrating multi-step AI workflows in the way LangGraph or CrewAI are. Those tools address how agents coordinate with each other and with external services. Zero addresses what happens at the compiler level when an agent is writing and iterating on native code. The two layers are complementary, not competing.
It is also explicitly pre-production. Zerolang is experimental. Expect breaking changes, rough edges, and security issues. The team is intentionally breaking APIs before 1.0 to find the right language surface for agents. If you need stability today, this is not your dependency.
Practical use cases where Zero makes sense right now:
- Researching agent-native toolchain design
- Building agentic coding pipelines where you control the full stack
- Shipping small, dependency-free native binaries in sandboxed environments
- Exploring how structured diagnostics reduce agent token usage and error recovery time
The bigger picture
The explicit pitch is to design the toolchain for agents , structured diagnostics, stable error codes, and repair metadata , rather than bolting JSON helpers onto compilers that were never meant to be machine-driven. That framing matters. Most attempts to make existing languages more agent-friendly are additive patches: a JSON flag here, an LSP integration there. Zero is asking whether the right move is to start from scratch with agents as the primary consumer.
This is not Vercel's first move in the agent tooling space. In January 2026, Vercel launched skills.sh , an "npm for AI agents" , letting developers install best-practice skill packs for Claude Code, Cursor, etc. It reached 20,000+ installations within hours. Zero extends that direction all the way down to the language layer.
ZeroLang's emergence marks the beginning of a larger trend: programming languages are evolving from "human-only" to "human-machine shared." The assumption baked into every compiler built before 2020 , that the consumer of its output is a human reading a terminal , is quietly becoming wrong. Zero is the first serious attempt to build a language where that assumption was never made in the first place.
Getting started
Zero is available now, free, and open-source under the Apache 2.0 license. Install it with:
curl -fsSL https://zerolang.ai/install.sh | bash
export PATH="$HOME/.zero/bin:$PATH"
zero --versionThe GitHub repo has examples, conformance tests, and a repair demo under examples/agent-repair-demo/ that walks through the full check-explain-plan-fix loop. The official docs cover the graph architecture in depth. Run it in an isolated environment, not against anything you care about.