Prism

Prism gives coding agents semantic change intelligence before they edit. It combines repository text search with a typed code graph and returns task-shaped answers: the complete method family, resolved callers, edit-ready source, and every known site a diff missed.

Prism answers questions. It never edits code; the agent makes every change.

Prism 2.0 answers across every repository a change can reach. What’s new since 1.0

It runs locally as one binary and embeds Grove. Agents reach it one of two ways: as an MCP server, or through the prism command in their shell (prism init --interface cli).

Start in one command

brew install provasign/tap/prism
cd your-repo
prism init .

You can also use the installer:

# Pinned to the current release; verifies the checksum and, with cosign or gh, the provenance
curl -fsSL https://raw.githubusercontent.com/provasign/prism/v2.0.0/install.sh | VERSION=v2.0.0 bash

prism init --dry-run . shows the diff of every file it would write, and prism uninstall . later removes exactly what init added.

prism init writes prism.yaml and agent instructions for the agents you pick: Claude Code, Codex, Cursor, Copilot (VS Code), GitHub Copilot CLI, Gemini CLI, OpenCode, Kiro, and Windsurf. It asks which interface to use. CLI (the default) registers no server; agents run prism in their shell. MCP registers a project-local server. To choose without a prompt:

prism init --harness claude,codex --interface cli .

Indexing happens automatically on first use and updates incrementally.

One route for each question

Question Route
Where is this name or text? prism search
What source does this task need? prism query
What must change with this method? prism change-impact
What does my diff reach? prism change-impact --diff
Who uses this type or field, and how? prism references --kind
What reaches this, and through what path? prism callers, prism path
Which tests should run first? prism test-plan
What are the exact rename edits? prism rename-plan
Which types lack a new interface member? prism missing-implementations
Did this diff miss a required site? prism verify
Did this diff cross a forbidden boundary? prism arch
Did the exported API break since a release? prism api-diff --base v1.8.0
Can another tool read the graph? prism export --format scip
prism search QueryData --scope text --exhaustive --files-only
prism change-impact 'QueryDataHandler.QueryData' --format text
prism verify --base main --format text

Exhaustive search returns a compact inventory of exact files and enclosing symbols. change-impact returns the declaration, override and implementation family, sibling contracts, and resolved callers. verify turns that semantic set into a diff completeness gate.

Current measured result

Prism v1.9.1 against native Claude Code, which 2.0 matches apart from two fixes (2026-11-29; Sonnet 5.5, CLI interface, one run per cell):

  Native Prism Prism / native
Change work, 32 tasks: solved 31 / 32 32 / 32  
Change work: task cost $0.0924 $0.0768 0.83×
Change work: tool calls 9.5 6.8 0.72×
Bug fixes, 41 issues: solved 26 / 41 25 / 41  
Bug fixes: task cost $0.0772 $0.0747 0.97×

Bug fixes are at parity; the one solve difference was ruled a task-level miss. Startup cost per session is 1.03× native.

See the full tables, setup, and limits.

Designed for reliable use

Across repositories

A change in a library reaches the services that use it. Link those repositories and the same commands answer for them:

cd library
prism workspace add ../app        # or a git URL, fetched read-only at a commit
prism change-impact Client.Send   # the call sites in app first, then this repository's

Each repository keeps its own index; links are followed when a question is asked. lookup, read, search, change-impact, verify and test-plan cover linked repositories, and every answer says which ones it covered and how strongly: resolved by the other repository’s compiler for Go, Java, TypeScript and Python, or name-matched. A link committed in a cloned repository takes effect only after you confirm it on your machine. The multi-repository guide.

For the services nobody has checked out, each consumer’s CI uploads where it uses other repositories’ symbols to a link server your organization runs. change-impact, verify, test-plan and lookup in the library then list every readable consumer site, each pinned to its commit, and say what they could not cover.

Prism link server architecture

The link server guide covers architecture, deployment on every platform, credentials, CI setup, the HTTP API, sizing and what was tested.

Language support

Prism indexes Go, TypeScript/TSX, JavaScript/JSX, Python, Java, Rust, C/C++, C#, PHP, Swift, Kotlin, Objective-C, COBOL, and JCL through the embedded Grove engine. Semantic depth depends on the language and on the native toolchain available in the repository. COBOL and JCL have a regression-tested graph; their accuracy is not yet independently scored. prism doctor . reports the full per-language resolution tier and limitations breakdown.

Learn more