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 /getting-started/introduction.md.
Quick start

Introduction

Granary brings the docs and source a coding agent needs into the repository where it works.

An API reference tells an agent what a method accepts. Source explains what it actually does. Examples show how to use it. A context pack keeps that material together, with an entry file that tells the agent where to start.

A package manager for context

Choose a source, select packs, install them into the workspace, and record the resolution. The payload is reference material rather than executable dependencies.

A pack selects ordinary files through a manifest. It can contain Markdown, source files, examples, and project conventions. Granary's own standards catalog provides seven reusable components.

Install Granary

Install the npm package with Node.js 26+ and Git available:

npm install --global granary-ai
granary add nextjs@16

The granary-ai package provides the granary command. Browse the prebuilt packs, or see CLI and project config for source selection and locked restoration.

Where Granary fits

ToolMain role
Package managerInstall executable dependencies
SkillsInstall reusable procedures and agent capabilities
Context7Retrieve library reference material on demand
GranaryPackage reference material and bring it into the workspace

The agent continues using its existing file-reading and search tools. You control its selected material and the revisions the team installs.

Start with the quick start, then create your own pack.