agentleFS
VercelKnown publishervercel-labs/native/AGENTS.md

native

AGENTS.md7.7k starsChanged 3 months agoApache-2.0View on GitHub

Guidance for agents (and humans) working on this repository. Native SDK itself is implemented in Zig, but Native SDK apps are authored in TypeScript + Native markup by default. Do not infer the app-authoring language from this repository's implementation language or from older Zig-core examples. Run scripts/gate.sh fast before finishing any change; it maps your diff to the suites that cover it. The docs site checks with pnpm --dir docs check (the gate runs it only when docs/ changed). This…

Trending

Less talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 5 mentionsAug 2026: 8 mentionsSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the vercel-labs/native repository that our weekly crawl found: only 14 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about vercel-labs/native

The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 14

Talked about on GitHub, Bluesky and Hacker News (14 times).

On GitHub · 11

6 more on GitHub
  • 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 repository9 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before changing an existing app, inspect its tree.

    line 10
  2. Very specific:

    Run scripts/gate.sh fast before finishing any change.

    line 24
  3. Very specific:

    Do not edit CHANGELOG.md as part of regular feature or fix work.

    line 32

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Agent Guide

Guidance for agents (and humans) working on this repository.

App authoring default

Native SDK itself is implemented in Zig, but Native SDK apps are authored in TypeScript + Native markup by default. Do not infer the app-authoring language from this repository's implementation language or from older Zig-core examples.

  • For a new app, use native init <path> and expect src/core.ts, src/app.native, and app.json. app.zon remains a supported legacy/alternative manifest. Ordinary compiled TypeScript work that needs filesystem, process, JSON, regex, classes, or other static-tier APIs belongs under optional src/services/, reached from the core with Cmd.request; do not import a service from the core. Do not add Zig app code unless the user explicitly chooses --template zig-core or the feature requires a toolkit extension.
  • Before changing an existing app, inspect its tree. A src/core.ts app stays TypeScript; a src/main.zig app stays Zig unless the task is specifically a migration.
  • For default app work, read skill-data/native-ui/SKILL.md and skill-data/ts-core/SKILL.md; also read skill-data/ts-services/SKILL.md when the tree has src/services/ or the task needs ordinary TypeScript beyond the core subset. skill-data/core/SKILL.md covers shared/runtime concerns; skill-data/zig/SKILL.md is for Zig-core apps and SDK implementation work.
  • The -ts suffix on a few examples only distinguishes ports from older Zig originals. New TypeScript apps need no suffix because TypeScript is the default.

Build, test, and gate

zig build test                # root engine + runtime suites
zig build validate            # framework's legacy app.zon manifest check
zig build test-example-<name> # one example's suite (e.g. test-example-notes)
scripts/gate.sh fast [ref]    # affected-only local gate for your diff (default base: main)
scripts/gate.sh full          # everything CI-shaped that runs locally

Run scripts/gate.sh fast before finishing any change; it maps your diff to the suites that cover it. The docs site checks with pnpm --dir docs check (the gate runs it only when docs/ changed).

This repository builds with Zig 0.16.0. If a build fails with "no member named" errors on std APIs (std.fs.cwd, ArrayList.init, std.io), you are writing pre-0.16 idioms — skill-data/zig/SKILL.md maps each such compile error to the current idiom as this codebase writes it.

Pinned goldens (pixel signatures, schema fingerprints, command counts) are updated deliberately: review the rendered output or the counted commands first, and keep the pin's comment a self-contained description of what the value represents.

Changelog

Do not edit CHANGELOG.md as part of regular feature or fix work. The release agent reviews the git history since the previous release and writes the complete changelog entry during release preparation; see RELEASING.md.

Where things live

  • src/ — the engine and runtime; src/primitives/canvas/ holds the widget, markup, and vector core.
  • apps/schema/ — the standalone static Vercel project for schema.native-sdk.dev.
  • examples/ — the showcase apps, many predating the JSON default (app.zon + src/).
  • docs/ — the documentation site; docs/AGENTS.md has its MDX conventions.
  • skills/ and skill-data/ — the agent skills the CLI ships (native skills list).
  • tools/ and scripts/ — dev tooling and the local gate.

Releases are maintainer-run; see RELEASING.md.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.