AI products and toolsReviewed · clay-good

OpenLore

OpenLore is a free, MIT-licensed command-line tool and MCP server for developers who use AI coding agents. It builds a local code graph so the agent starts each task oriented and its changes get checked. Its cost savings are self-reported, and it can add overhead on small repositories. It works by one-time static analysis of the repo, then answers agent queries from that graph with no LLM in the query path and no API key. It auto-wires Claude Code, Cursor, Cline, Continue, Pi and AGENTS.md setups, and offers governance tools such as breaking-change verdicts and a sensitive-boundary check.

Researched 14 Nov 2026

In short.

OpenLore is a free, MIT-licensed command-line tool and MCP server for developers who use AI coding agents. It gives them a local, deterministic code graph for orientation and change checks. The cost savings it advertises are self-reported, and it can increase agent cost and round-trips on some small, familiar-repository tasks. This report is based only on the project README and licence at one captured revision; nothing was installed or run. The README says one install command detects your agent, registers the MCP server and builds an index. After that, the agent calls tools such as orient, analyze_impact, certify_public_surface and verify_claim on its own. The README publishes both wins and losses. The wins are about 7 to 21 percent lower cost for deep questions on large or unfamiliar repositories. The losses are extra cost and round-trips on some shallow questions in small, familiar repositories. It tells readers to measure on their own code with openlore prove --estimate.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is the single file README.md at revision c45c2ca7be7e973731a820fd5e31ea69495b2d24 (the repository's main-branch README), plus the repository's MIT LICENSE file as its licence notice. The linked docs, source code, skill folder, examples, CI results and npm package contents were not captured or reviewed. Nothing was installed, executed or benchmarked. All behaviour, performance and cost figures are the README's own statements and are reported as claims, not verified results.

The overview

What it is

OpenLore is an npm package (openlore) that provides a CLI and an MCP (Model Context Protocol) server. Its tagline is deterministic, local-first memory and guardrails for AI coding agents with no LLM in the hot path. The licence names Clay Good as the copyright holder, and the code lives at [https://github.com/clay-good/OpenLore]. The README's package badge shows it is published on npm, and the README mentions a measurement taken with published openlore@2.1.6.

This analysis covers the README at revision c45c2ca7be7e973731a820fd5e31ea69495b2d24 and the MIT licence file beside it. The source code, the linked docs pages and the skill folder skills/openlore-orient were not captured.

Overall assessment

On the evidence of the README alone, OpenLore is a substantive, clearly documented tool with an unusually candid benchmark section. It shows losses next to wins and says it is probably not a fit for a small repository the model already knows when answering shallow questions. That candour is a point in its favour, but every number in the README is the author's own and none was independently reproduced here.

It looks most relevant to developers who already run an MCP-capable coding agent and want deterministic checks on what the agent changes. The README points it at large, unfamiliar, polyglot or long-session codebases. For a small repository the model already knows, answered with shallow questions, the README says the agent's built-in search is cheaper. Even there it reports task-dependent results: a later re-check showed a win on chalk and a loss on express.

Who it is for

The README names these as a strong fit: a codebase too big to hold in your head (and the model's), private or niche code the model never memorized, long sessions where stale assumptions compound, and polyglot repos or code plus the Infrastructure-as-Code that deploys it. Mid-size repos and mixed workloads are described as try-it-and-measure. A small repo the model already knows, with shallow questions, is listed as probably not a fit.

Beginners can mostly use it by installing it and letting the agent call the tools, since the README says most people only run the install command. Understanding the output (breaking-change verdicts, stale-fact notes, commit-gate findings) assumes familiarity with code review and APIs. Teams wanting a commit gate or PR review can use the CLI and CI commands (review, enforce, prove, doctor, features).

What it can do

Memory side, per the README: orient(task) returns relevant functions, callers, specs, tests and insertion points in one call. Anchored notes and decisions are said to carry forward when symbols are renamed or moved. Application code, IaC and architectural decisions share one graph. Responses carry a factual freshness note (called the Epistemic Lease) once a cached fact has aged or the repo has moved.

Governance side: certify_public_surface classifies each changed export as breaking, non-breaking or potentially-breaking and names affected consumers. change_impact_certificate flags when a diff opens a new path into a boundary you declared. verify_claim returns confirmed, refuted or unverifiable with a citation. openlore enforce acts as a commit gate that blocks only on findings you mark blocking and is advisory by default.

Other listed tools include search_code, analyze_impact, trace_execution_path, select_tests, find_dead_code, blast_radius and record_decision. The default surface is a 'substrate' preset of 15 tools; a 'navigation' preset has 10 and the full set has 83 tools. The README also says the index can be exported as SCIP and that cross-repo federation and shareable bundles exist, but those pages were not captured.

Claimed coverage: the README lists 18 languages by name (TypeScript, JavaScript, Python, Go, Rust, Ruby, Java, C++, Swift, C#, Kotlin, PHP, C, Scala, Dart, Lua, Elixir, Bash), while its badge says 21 languages. The captured text does not explain the difference. It lists 13 IaC ecosystems (Terraform/HCL, Kubernetes, Helm, CloudFormation, Ansible, Pulumi, AWS CDK, CDKTF, Dockerfile, Docker Compose, GitHub Actions, Azure Bicep, Serverless Framework) and OpenAPI 3.x and Swagger 2.0 contracts.

Using it

What you need

The README badge states Node 22.22 or newer. You need npm to install it globally. For the automated workflow, where the agent calls the tools itself over MCP, you need an agent that OpenLore can wire: Claude Code, Cursor, Cline, Continue, Pi or an AGENTS.md workflow. The README also offers CLI commands for humans and CI (prove, review, doctor, features), so it does not describe an agent as required for every use. No API key, account or network is needed for indexing or the core tools.

Linux and Windows are exercised in CI and macOS is described as supported. An optional embeddings package adds on-device semantic search (CPU-only, roughly a 23 MB model); setting the embedding provider to none turns it off. An LLM provider is optional and relates to generating specs. The README does not state which providers are supported or what they cost; it points to docs/providers.md, which was not captured. Disk use is about 27 MB under .openlore/ for the ripgrep example.

How it works

According to the README, a one-time static analysis builds a knowledge graph of the repository covering call structure, types, tests, decisions and IaC. A file watcher then re-indexes as you edit and converges to a full analysis. Anything it cannot recompute within a per-save budget is marked explicitly stale rather than silently wrong.

Queries are answered from that graph by deterministic logic with no LLM in the hot path, so the same question gives the same answer. The agent reaches it over MCP, and a compact architecture digest is injected into the agent's context at the start of each session. Search starts with keyword (BM25) ranking. When the optional package is installed, local vectors are added in the background.

The README states the limits of its static analysis. Polymorphic dispatch, event channels and route-to-handler bindings are recovered and labelled as synthesized. Reflective calls with non-literal targets, eval, and dependency-injection or plugin registries with no visible binding are silently absent from the graph. How the graph, leases or verdict rules are implemented in code was not inspected.

Setup

The documented path is a single command: npm install -g openlore && openlore install. The README says this auto-detects your agent, wires it, registers the MCP server and builds the index without prompts. It also says install wires your user account, so every new git repo you open indexes itself in the background on first touch. That is a broad, persistent change to your machine and agent configuration. Review what it changes before using it on a shared or sensitive machine; the captured README does not list the exact files it writes.

Follow-up commands mentioned: openlore doctor verifies wiring. openlore features lists opt-in capabilities (embeddings, the commit gate, the spec store) and how to enable each. openlore prove --estimate estimates the benefit on your own repo. Large monorepos analyze one package at a time after the first full build (openlore analyze --shard <name>). Nothing was installed or run for this report, so setup behaviour is unverified.

Example of use

The README's own flow starts with running the install command once. From then on, your agent calls orient(task) at the start of a task to get the relevant functions, callers, specs and tests instead of reading a dozen files. Before a risky change the agent can call analyze_impact or blast_radius. On a pull request you can run openlore review to catch a change that breaks a contract. Before asserting that something is dead code or safe to change, an agent can call verify_claim and get confirmed, refuted or unverifiable with a citation.

This describes the intended workflow as the README presents it. It was not run, and the captured file includes no sample output.

Assessment & evidence

Limitations and risks

The README lists its own limitations. It uses static analysis only, so reflective invocation with a non-literal target (the README's example is getattr(o, name)()), eval, and dependency-injection or plugin registries with no visible binding are silently absent from the graph. LLM-generated spec prose varies in quality, and complex business logic should be reviewed. Keyword search answers first, with semantic search following later. Large monorepos need per-package analysis after the first full build. Incremental updates may mark parts stale until later edits or a background re-analysis.

Cost risk: on small or familiar repos it can add cost and round-trips, as the README states. The benchmark covers a handful of repos, one model family (sonnet via claude -p) and N=4 medians, so it is uncertain how well the results generalize.

Behavioural risk: the install step edits agent configuration, registers an MCP server, injects a digest into each session and indexes every new git repo in the background. The commit gate can block commits for findings you mark blocking. Opt-in diagnostics (OPENLORE_TELEMETRY=1, OPENLORE_LLM_LOGS=1) write tool calls, decision titles, and redacted prompts and responses to gitignored local folders. Those folders could hold sensitive details if the diagnostics are enabled.

Documentation gaps: the language badge says 21 languages while the languages section names 18, and the captured text does not explain the difference. The README says OpenLore never edits your code and places its index under .openlore/. It does not say where anchored notes and recorded decisions are stored, so their storage location is unknown from the captured README.

Why these conclusions

The assessment rests on what the README states plainly, weighed by how checkable each claim is. Setup steps, tool names, preset sizes, licence and stated limits are concrete and consistent. Performance and savings claims are specific (named repos, N, model, date) and come with losses, which makes them more credible than a one-sided headline. They are unverified here, however, and depend on the author's benchmark setup.

The comparison table against agent built-ins, LSP toolkits, graph MCP servers and search platforms is the author's own and is dated July 2026; the README invites correction PRs. It is a positioning claim, not independent evidence.

Alternatives

The README groups alternatives into four types: your agent's built-in search (grep and file reads), LSP toolkits (symbol navigation and edits), graph MCP servers (a parsed graph, sometimes with notes) and search platforms (hosted, org-wide indexes). It says to use the other tool when it fits better. LSP toolkits suit symbol-level edits and cross-file renames; OpenLore is deliberately read-only and the two can compose. A search platform suits searching hundreds of repos. A smaller graph MCP server suits users who only want fast graph retrieval. Built-in search suits small familiar repos with shallow questions.

The captured README does not name specific competing products, so specific alternatives are not assessed. OpenLore also exports SCIP, so it can sit alongside Sourcegraph-style tools.

Evidence base

Two files were captured at revision c45c2ca7be7e973731a820fd5e31ea69495b2d24: the README (19,456 bytes) and the MIT LICENSE (1,066 bytes). Every claim here comes from those files. Figures such as 5500+ tests, 83 tools, CI status, the benchmark tables and the 430 microsecond latency are statements in the README, not results observed in this review. The linked docs were not captured, so the detail behind the claims was not checked. These include the benchmark methodology in docs/AGENT-BENCHMARKS.md, mcp-tools.md, install.md and configuration.md.

Access & freshness

Costs

The software itself is free under the MIT licence. On a fresh clone of ripgrep (232 files) with openlore@2.1.6, the README reports a one-time index build of 13.6 seconds. It also reports about 27 MB of disk under .openlore/ (gitignorable and rebuildable) and about 430 microseconds p50 per query in-process through the MCP server. Large monorepos are said to take minutes rather than seconds. The 430 microsecond figure is also quoted for a 15k-node graph. These are the author's measurements.

The README reports relative agent-cost and round-trip changes from a benchmark labelled Spec 14 (claude -p, sonnet, N=4 medians, pinned SHAs, measured 2026-06-01). For deep how-does-X-flow-through-Y questions on large or unfamiliar repos, cost changed by minus 7 to minus 21 percent with about 26 percent fewer round-trips. Per repo: excalidraw (about 640 files) minus 21 percent, tokio (about 790 files) minus 21 percent, okhttp minus 13 percent, django (about 3k files) minus 7 percent, gin (110 files) plus 4 percent.

For small, familiar repos with shallow who-calls-X questions, the README reports task-dependent results: plus 43 percent cost in Round 1 and plus 38 percent round-trips. A 2026-06-03 re-check showed chalk at minus 32 percent but express at plus 59 percent. Results for your agent, model and repo are unknown until you measure.

Optional LLM-provider costs for spec generation are not stated in the captured file and remain unknown. Telemetry and LLM logging are opt-in and local-only. No recurring fee or account is mentioned.

Licence and reuse rights

The LICENSE file at the captured revision is the MIT License, copyright (c) 2026 Clay Good. It permits use, copying, modification, merging, publishing, distribution, sublicensing and selling of copies, provided the copyright notice and permission notice are included. It provides the software as is, with no warranty. The README's licence badge also labels the package MIT.

The LICENSE file sits outside the single-file scope but is retained as the notice for the README. Licences or notices for other files in the repository (docs, the skills folder, examples) were not captured and are not assessed here.

Freshness

The material was captured on 2026-11-14 at the revision named above. Within it, the benchmark was measured 2026-06-01 and re-confirmed 2026-06-03, the competitor comparison reflects capabilities as of July 2026, and the cost table used openlore@2.1.6. The current npm version, newer benchmarks and any changes after the capture are unknown. Results on newer models or agent versions may differ.

What to do next

If you want to try it, first check that Node is 22.22 or newer. Then read docs/install.md to see what openlore install changes in your agent and user-level config. Ideally, try it on a non-critical machine or a throwaway repo. After installing, run openlore doctor and openlore features. Run openlore prove --estimate on your own repo to see whether it is likely to pay for itself before relying on it.

Keep optional features off until you need them. Leave telemetry and LLM logging disabled unless you want local diagnostics. Treat the commit gate as advisory until you are comfortable with which findings you mark blocking. For a small repository the model already knows, where you mainly ask shallow questions, the README suggests your agent's built-in search is likely the cheaper choice. The README also reports task-dependent exceptions, so openlore prove --estimate is the way to check your own case.

Evidence for this report

LICENSEnotice · checked 2026-11-14
README.mdselected · checked 2026-11-14