zerolang
AGENTS.md5.4k starsChanged 6 months agoApache-2.0View on GitHub
Zero is a pre-1 experiment in building an agent-first programming language. Keep public-facing changes honest about what works today without weakening that positioning. Zero is still being shaped around the needs of agents. Breaking changes are acceptable when they move the language, standard library, compiler, or tooling closer to that goal. Do not preserve legacy behavior by default. Prefer the clearer agent-facing design over compatibility shims, migration layers, or carrying old paths forward. Keep examples, docs, tests, and command contracts…
Trending
Less talk lately.about the whole repository
Who's talking about vercel-labs/zerolang
- A Hacker News story“Zero – Programming Language for Agents”Hacker News · May 23, 2026 · 3 points
- A Hacker News story“Zero Lang”Hacker News · May 21, 2026 · 3 points
- A Hacker News story“Agent First Language by Vercel”Hacker News · May 19, 2026 · 2 points
- seo-rii/aonohako“feat: add Zerolang judge support”GitHub · Aug 21, 2026 · 1 reactions
- @calabro.io“this? a little hair brained for me at first glance, but I hadn't seen it before. will check it out! …”Bluesky · Jun 2, 2026 · 1 likes
The biggest 5 of 18 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 18
Talked about on GitHub, Hacker News and Bluesky (18 times).
On GitHub · 14
- Aug 21, 2026feat: add Zerolang judge support — seo-rii/aonohako1 reaction
- Oct 3, 2026agent-skills.github.vercel-labs.zerolang: init at 0.3.4 — sudosubin/agents.nix0 reactions
- Aug 24, 2026feat(add): gate untrusted imports behind a registry-only default — nikships/skills-registry0 reactions · 1 comment
- Jun 13, 2026zerolang 0.3.4 — Homebrew/homebrew-core0 reactions · 1 comment
- Jun 13, 2026first POC riscv64 — spital/zerolang0 reactions
9 more on GitHub
- Jun 12, 2026zerolang 0.3.3 — Homebrew/homebrew-core0 reactions · 1 comment
- Jun 10, 2026zerolang 0.3.2 — Homebrew/homebrew-core0 reactions · 1 comment
- Jun 10, 2026zerolang 0.3.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Jun 8, 2026zerolang 0.3.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Jun 3, 2026fix(dig): resolve partial-results abort in dig-search — 0xHoneyJar/construct-k-hole0 reactions
- Jun 2, 2026zerolang 0.2.1 — Homebrew/homebrew-core0 reactions · 1 comment
- May 29, 2026zerolang 0.2.0 — Homebrew/homebrew-core0 reactions · 1 comment
- May 24, 2026zerolang 0.1.4 — Homebrew/homebrew-core0 reactions
- May 20, 2026Add report: analyzing Zero (Vercel Labs agent-first language) — zarguell/research-reports0 reactions
On Hacker News · 3
- May 23, 2026Zero – Programming Language for Agents3 points
- May 21, 2026Zero Lang3 points
- May 19, 2026Agent First Language by Vercel2 points
On Bluesky · 1
- Jun 2, 2026this? a little hair brained for me at first glance, but I hadn't seen it before. will check it out! github.com/vercel-labs/... — @calabro.io1 likes and repost · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- zeroSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
14 rules. About 0 are common, 9 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 4
Keep public-facing changes honest about what works today without weakening that positioning.
- Distinctive: line 13
Do not preserve legacy behavior by default.
- Distinctive: line 28
Run and develop Zero in safe environments: isolated workspaces, disposable inputs, and systems where compiler crashes, malformed output, or …
- Very specific: line 37
Use bin/zero for focused checks.
- Distinctive: line 39
Keep examples runnable and docs copyable.
- Distinctive: line 40
Prefer small, direct changes over broad refactors.
- Distinctive: line 41
Use direct emitters for compiler output.
- Very specific: line 47
Before ending any agent turn that changes the repository, run pnpm run conformance unless pnpm run agent:checks already passed for the same …
- Very specific: line 75
Use ZERO_NATIVE_TEST_SCOPE=fast only when reproducing PR CI coverage.
- Very specific: line 116
Create a release branch, such as ctate/v0.1.1.
- Distinctive: line 119
Update command-contract expectations that assert the compiler version.
- Very specific: line 120
Write the CHANGELOG.md entry for the new version, wrapped in <!-- release:start --> and <!-- release:end --> markers.
- Distinctive: line 122
Remove the release markers from the previous release entry.
- Distinctive: line 127
Run focused checks before opening or updating the PR:
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Contributor Notes
Zero is a pre-1 experiment in building an agent-first programming language. Keep public-facing changes honest about what works today without weakening that positioning.
Project Direction
Zero is still being shaped around the needs of agents. Breaking changes are acceptable when they move the language, standard library, compiler, or tooling closer to that goal.
Do not preserve legacy behavior by default. Prefer the clearer agent-facing design over compatibility shims, migration layers, or carrying old paths forward. Keep examples, docs, tests, and command contracts aligned with the new behavior so the repository describes one coherent current system.
This does not mean broad churn for its own sake. Make direct changes that advance Zero's agent-first goals: on-the-fly learnability, deterministic inspection and repair, strong standard-library coverage, exceptional developer experience, and regular patterns over syntactic convenience.
Safety Expectations
Security vulnerabilities should be expected. Zero is not ready for production systems, sensitive data, or trusted infrastructure.
Run and develop Zero in safe environments: isolated workspaces, disposable inputs, and systems where compiler crashes, malformed output, or unsafe runtime behavior cannot damage production state. Treat generated artifacts and examples as experimental unless they have been reviewed for the specific environment where they will run.
Development
- Build the local compiler with
make -C native/zero-c. - Use
bin/zerofor focused checks; it execs the local native compiler at.zero/bin/zero. - Keep examples runnable and docs copyable.
- Prefer small, direct changes over broad refactors.
- Use direct emitters for compiler output.
- For broad local validation, run
pnpm run agent:checks. It mirrors the CI buckets in parallel, including conformance, command contracts, native test shards, sanitizer smoke, and workspace checks. It uses isolated/tmpworkspaces so agents can validate uncommitted changes without local artifact races. - Before ending any agent turn that changes the repository, run
pnpm run conformanceunlesspnpm run agent:checksalready passed for the same changes. If validation cannot complete, report the blocker and the failing command.
Useful Checks
pnpm run agent:checks
pnpm run docs:build
pnpm run conformance
pnpm run native:test
pnpm run command-contractspnpm run agent:checks already includes conformance. Do not run conformance
again after it passes unless you need to recheck later changes.
Shard native tests locally with ZERO_NATIVE_TEST_SHARD=1/4 pnpm run
native:test:local. PR CI runs representative native runtime cases in two
fast shards. Scheduled and manual deep CI runs the full native runtime matrix
in six shards, plus full conformance and full graph performance fixtures.
pnpm run conformance:local and pnpm run command-contracts:local use the
aggregate validation runner. Add -- --shard 1/4 to run one conformance phase
shard, -- --phases name,name to match a focused CI phase set, -- --list to
see phases, and -- --fail-fast only when a narrow loop should stop at the
first failing phase.
Use ZERO_NATIVE_TEST_SCOPE=fast only when reproducing PR CI coverage. Leave it
unset for the exhaustive native runtime matrix.
pnpm run conformance runs the sandbox suite with four isolated conformance
check workers. Local validation stays serial by default; set
ZERO_CONFORMANCE_CHECK_JOBS=<n> only when measuring that path on the current
machine.
Validation scripts prefer the built native compiler at .zero/bin/zero after
native-build; set ZERO_BIN=<path> only when comparing another compiler
binary deliberately.
For focused compiler work:
bin/zero check --json <graph-input>
bin/zero inspect --json <graph-input>
bin/zero size --json <graph-input>
bin/zero explain <diagnostic-code>
bin/zero fix --plan --json <graph-backed-file-or-package>Project Layout
native/zero-c/: native compiler implementation.examples/: small runnable programs and packages.conformance/: language and CLI fixtures.docs/: public documentation site.scripts/: validation and release support tooling.
Public Docs Policy
Docs should describe current user-facing behavior, not internal development history. Avoid release-planning language, validation-report narratives, and implementation diary details in pages intended for external readers.
Releasing
Releases are manual, single-branch affairs. The maintainer controls the changelog voice and format.
To prepare a release:
- Create a release branch, such as
ctate/v0.1.1. - Bump the release version in
package.json,docs/package.json,extensions/vscode/package.json, andnative/zero-c/src/main.c. - Update command-contract expectations that assert the compiler version.
- Write the
CHANGELOG.mdentry for the new version, wrapped in<!-- release:start -->and<!-- release:end -->markers. - Remove the release markers from the previous release entry. Only the latest release entry should have markers.
- Include a
### Contributorssection in the marked changelog entry. Derive contributors from commit authors andCo-authored-bytrailers since the previous tag. - Run focused checks before opening or updating the PR:
make -C native/zero-c
bin/zero --version --json
pnpm run test:zero
pnpm run command-contracts:local
pnpm run docs:buildThe release workflow reads the version from package.json, builds release
assets, and uses the content between the changelog markers as the GitHub
release body.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

