
Entire Graph
Agents are continually spending their budgets before they write the first line
of code, rummaging through files, grepping for function names, and re-reading
the same files and configs, as they attempt to understand a codebase fresh with
each session. According to OpenRouter's Head of Insights, agentic
token usage grew 14x between February and August 2026, up from 0.51 trillion tokens
to 7.3 trillion.
Entire Graph is a plugin for the Entire CLI specifically designed to enable your
agents to stop paying that cost. It hands your agent a precomputed map of a Git
repository: ranked code search plus definitions, callers, types, routes, and
change impact, each with file:line locations. The built-in analyzer parses the
repository locally with tree-sitter and makes no network requests, model calls,
or API-key lookups.
When running LoCoMo against competitors,
we measured the top score of 94.74% for Entire Graph. We also observed token savings
up to 71% depending on the coding scenario. As always, your mileage may vary.
Features
- Ranked code search from plain-language task descriptions, combining lexical matches across source bodies, identifiers, signatures, and paths with graph relationships.
- Agent-ready results with source snippets, file:line locations, configurable context budgets, ranking explanations, and suggested verification commands.
- Semantic parsing for 36 languages, including Go, Python, JavaScript, TypeScript, Java, Rust, C, C++, C#, Ruby, PHP, Swift, and Kotlin, plus inventory support for 149 additional language and filetype names. entire graph capabilities --json reports the installed build’s coverage.
- Definition lookup and focused relationship queries for callers, callees, inheritance, type usage, field access, and supported framework routes.
- Change-impact reports combining direct and transitive callers, callees, type consumers, data-flow relationships, same-container symbols, and files that historically change together.
- Entity-level semantic diffs between Git revisions, including added, removed, renamed, signature-changed, and body-changed symbols, with heuristic dependent counts.
- Commit and Entire checkpoint analysis for reviewing changes in their repository context.
- Working-tree queries that include uncommitted edits by default, with explicit committed-tree queries and reusable caches for matching repository states and options.
- Full graph export through versioned NDJSON snapshots, stable symbol identifiers, a compact NDJSON format, and experimental SCIP export.
- Per-repository agent activation, which installs repository-specific guidance in AGENTS.md and CLAUDE.md.
- Machine-readable coverage, exclusions, warnings, and partial failures, with relation confidence and resolution metadata.
- Local analysis with no network requests, model calls, API keys, telemetry, or runtime grammar downloads.
Setup
Two steps: install the plugin once per machine, then activate it in each
repository you want your agent to understand.
Install
Entire Graph requires Entire CLI 0.10.0 or later and Git 2.36 or later on
PATH. Git 2.36 added the single-session object protocol Entire Graph uses to
inspect an object's type before reading its contents. The commands below are
the official ones from the Entire CLI installation
guide, which also covers Homebrew, Windows and
other channels.
On macOS or Linux:
curl -fsSL https://entire.io/install.sh | bash
Then install the plugin from the plugin index and confirm its version:
entire plugin install graph
entire graph version
entire graph version printing a release tag confirms that a versioned build
is active.
Activate it for your agent
Activation is per repository:
entire graph setup --repo .
If Entire Brain is installed too, also run entire brain setup — each setup
enables its own product, the two compose in either order, and both render the
same combined guide text.
Add --strict to save mandatory Graph/Brain tool-use rules for this repository.
The saved mode is shared by enabled products and inherited on later runs.
Use setup --normal to reset it. agent-guide inherits the saved mode;
agent-guide --strict or --normal previews an override without saving it.
The two flags are mutually exclusive. New repositories default to normal.
The command creates or updates these files: