Grainulator
Evidence and verification for the model you already use.
Keep the evidence. Challenge the answer. Know what to do next.
A shared workflow for research, engineering, and model-assisted work.
Quick start ·
Installation ·
Upgrading ·
Tools ·
Agent setup ·
Changelog
What it adds
Good models still need a way to keep track of evidence, revisit assumptions, and verify their work. Grainulator gives them that process, with a local ledger that stays with the task as it moves between models and sessions.
| Capability | What it gives you |
|---|
| Evidence that stays with the work | Typed claims, sources, evidence tiers, and provenance that survive edits and exports. |
| A check on the answer | Conflict detection, weak-support signals, and explicit gaps to investigate. |
| Clear next actions | Two lists: what the agent can continue automatically, and what needs your input. |
| Sessions you can carry forward | Configurable research, stop/resume, reusable context, and credential-free exports. |
| Verification for your task | A managed command loop that can use a verifier you provide. |
Grainulator works with Claude Code and Codex through plugins. It also provides a command-line tool and an MCP connection for other agents. You do not need to install its components separately.
Quick start
Install the CLI and matching native runtime through the shared Homebrew tap:
brew tap grainulation/homebrew https://github.com/grainulation/homebrew
brew install grainulation/homebrew/grainulator
grainulator doctor
grainulator demo
Homebrew provides Node 24 and the matching native assets. The offline demo needs no credentials. For agent integration, follow agent setup.
From source
Select one published tag from the release list and set GRAINULATOR_RELEASE_TAG to it. Use the same release for the CLI and source plugin.
Requires Node.js 24 or later; Node 24 and 26 LTS are the tested release lines. Node 24 is the development default.
Upgrading from an earlier version? Follow the migration checklist to update the plugin and keep your existing research data.
git clone --branch "${GRAINULATOR_RELEASE_TAG:?Set this to the published tag matching your CLI}" https://github.com/grainulation/grainulator.git
cd grainulator
npm ci --ignore-scripts
npm run build
node bin/grainulator.js doctor
To use Grainulator inside your agent, follow the Claude Code or Codex setup guide.
Start a portable research session without making provider calls:
grainulator research --question "What evidence answers this question?" --dir ./research-session --prepare-only
See CLI research for provider configuration and checkpoint continuation.
Grainulator 3: one CLI/plugin with a unified configuration and separately verified native runtime assets. Follow installation, upgrading, configuration and data retention. The shared Homebrew tap lists available stable formulas.
Other agents: connect through MCP
Add an MCP server that runs this command, with your project's absolute path:
node /absolute/path/to/grainulator/bin/grainulator.js mcp --dir /absolute/path/to/project