---
title: What Prism does
description: Before the edit, Prism names the files. While the agent writes, it points at code to copy. When the agent stops, you get a receipt.
date: 2026-10-21
slug: what-prism-does
topic: Tooling
series: Prism
seriesOrder: 2
tags:
  - prism
  - agents
  - mcp
---

Prism is four moments. You do not have to learn tool names. You say what you want. The agent, or the `prism` command, asks the same local map.

<LabeledFlow
  caption="Same map. Four moments."
  steps={[
    { label: 'Prepare', hint: 'Before the edit' },
    { label: 'Match', hint: 'While it writes' },
    { label: 'Review', hint: 'Read the diff' },
    { label: 'Receipt', hint: 'When it stops' },
  ]}
/>

## Before the edit

Prepare names the files to open, the helpers to reuse, and the tests that matter. It returns paths and symbol names. It does not paste those files into the chat.

In the terminal, the same question is `prism prepare`, plus the task in your own words. In the agent, you just describe the change.

## While it writes

Match points at a file that already exists in your repo, so the new code can follow that file. It points at real code, not a fixture and not a test.

While the edit is in progress, Prism can also stop a write into a generated file, and flag a file that a lot of other code depends on.

## After it stops

Review reads the change through three lenses: Dev, Architect, and QA. You can add your own with `prism lens`.

Then the receipt. Prism runs the checks that reach this change and prints one verdict.

| Verdict | What it means |
|---|---|
| SHIP | Every changed source file was reached by a test that ran and passed. |
| NOT PROVEN | Nothing failed, but a changed file has no test, or its tests did not run. |
| NO-SHIP | A check this change broke did not pass, or the change touched a path that is off limits. |

A check that was already failing before this session is called out on its own line. It does not block the verdict.

<SignalPath
  caption="You ask. The map answers. The agent still writes."
  steps={[
    { label: 'You', hint: 'A sentence' },
    { label: 'Map', hint: 'Local index' },
    { label: 'Agent', hint: 'The edit' },
    { label: 'Verdict', hint: 'One line' },
  ]}
/>

The same answers exist without an agent. `prism overview` says what the repo is. `prism blast` says what depends on a file. `prism test-impact` says which tests reach it.

Nine tools are on by default for the agent. More are opt-in. You still talk in sentences. The full list lives in the [docs](https://www.prismhq.in/docs/reference/mcp-tools).

Next: where that map lives, and why the CLI, the agent, and the editor share one core.
