For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /index.md.
Quick start
Alpha

Give your agent better context.

Install versioned docs and source in your repository for your coding agent to read.

Reference material for coding agents

Give your agent the version you use.

Choose the revision and files your project needs. A lockfile lets your team restore the same selection.

Try the quick start
An illustrative Next.js v16.0.0 selection in granary.json produces local docs, a lockfile, and direct reference links in AGENTS.md. This installs reference files, not the Next.js dependency.
How the agent uses it

Your agent knows where to look.

Granary links installed docs and source directly in AGENTS.md. Your agent reads them with its existing tools, even offline.

See how agents use it
Git docs, source examples, and local standards become local context with direct reference links in AGENTS.md for your coding agent.
Tend your context

Update without losing your edits.

Adapt installed files to your project, then review upstream changes before applying them. Keep your edits, accept incoming files, or supply a merged version.

Read the update workflow
A three-way review compares baseline, local edits, and incoming changes, with explicit keep, accept, or merge decisions.
Try the alpha

Give your next session the docs it needs.

Install Granary from npm and try Next.js 16 docs in a disposable project. No hosted account required.