Zero is an experiment in building an agent-first programming language.
The project is exploring what changes when agents are primary users from day one: a language that can be learned on the fly, tooling that exposes structured facts for debugging and repair, and a standard library broad enough that most programs do not start with a dependency search.
Zero is pre-1 and intentionally unstable. The project will make breaking changes while it searches for the language, library, and tooling patterns that work best for agents. Treat today's syntax and APIs as something to explore, not something to memorize. If that sounds useful, try it with us: run examples, inspect the structured output, and send feedback about what helps agents work better.
Security vulnerabilities should be expected. Zero is not ready for production systems, sensitive data, or trusted infrastructure. If you plan to run or develop Zero, do so in an isolated, disposable environment.
- Agent-first learnability: a small, regular language surface that agents can pick up quickly from examples, docs, and compiler feedback.
- Standard-library depth: common capabilities should live in documented, coherent library APIs instead of scattered dependency stacks.
- Deterministic tooling: diagnostics, graph facts, size reports, explanations, and fix plans should be structured enough for agents to inspect and act on.
- Direct developer experience: checking, running, formatting, inspecting, and repairing code should be fast, copyable, and scriptable.
- Regularity over syntax: prefer one obvious way to express most things, even when that makes code more explicit than a human might choose in another language.
Install the latest release:
curl -fsSL https://zerolang.ai/install.sh | bash
export PATH="$HOME/.zero/bin:$PATH"
zero --versionCheck a program:
zero check examples/hello.0Run a small executable:
zero run examples/add.0Expected output:
math works
zero check examples/hello.0
zero run examples/add.0
zero build --emit exe --target linux-musl-x64 examples/add.0 --out .zero/out/add
zero graph --json examples/systems-package
zero size --json examples/point.0
zero routes --json examples/web/hello
zero skills get zero --full
zero doctor --jsonnpm run docs:test
npm run conformance
npm run native:test
npm run command-contractsBenchmarks run locally by default:
npm run bench