Skip to main content
Code Insights shows what needs attention across your repositories and why: code that lost its last caller, copies of a function that drifted apart, new dependencies across modules, packages pinned to different versions, and how many merged pull requests were checked. Graphify works these out from the code graph it already builds and your Git history. Every item shows its evidence, such as the commit, the files, or the counts, and you can hand any of them to your coding agent with Copy fix prompt for my agent.
Use Code Insights when you want one place to see unused code, risky copies, architecture changes, and dependency drift across repositories, before you or your agent start a cleanup.

Before you start

  • A Graphify account at app.graphify.com. You can create one for free.
  • At least one indexed repository. Pull request findings and PR checks also need reviews on that repository.
Open Code Insights in the sidebar, between Reviews and Formal Verification. It lives at app.graphify.com/<workspace>/insights. Code Insights is available on every plan, including Free. See Plans and pricing.

What’s in Code Insights

Findings

Unused code, matching function bodies, and pull request findings, with a fix prompt for your agent.

Repository health

Code that lost its last caller, copies that drifted apart, and architecture changes after each index.

Trends

Chart measurements over time and export them as CSV or JSON.

Dependencies

Every declared package, and where the same library is pinned to different versions.

PR checks

How many merged pull requests had a Graphify check, or merged with a confirmed issue still open.
How the numbers are made. Repository health, Trends and Dependencies come from the code graph and Git history. No model reads your code to produce them, so the same code gives the same result. Pull request findings come from reviews and carry the review’s evidence level.

Hand an insight to your agent

Every card in Findings and Repository health, and each row in Version drift, has Copy fix prompt for my agent. Paste it into Claude Code, Cursor, Codex or any coding agent. The prompt includes:
  • the repository, and the Git revision that was analyzed
  • the file, lines and commit behind the insight
  • what the insight can’t tell you, such as dynamic use
  • numbered investigation steps, ending with running the existing tests
  • an instruction not to delete code, apply a change, or open a pull request until you say so
The prompt works without Graphify MCP. If your agent is connected to Graphify MCP, it scopes its graph queries to that repository. Before removing or merging code, have it list the callers:
See What your agent can do for the tools behind this.

Limits and what to do

FAQs

No. A linter checks rules inside one file. Code Insights reads the code graph across files and repositories, and compares builds over time, so it can say when code lost its last caller, or that one copy of a function changed and another didn’t.
Not for Repository health, Trends or Dependencies. They come from the code graph and Git history, so the same code gives the same result. Pull request findings come from reviews.
Graphify calls it No longer used. It records the commit where a private symbol lost its last real caller, waits at least 45 days and two more indexed builds, and rules out hidden uses such as decorators, route handlers and names built at runtime. Code that never had a caller shows as Unused code in Findings.
Check first. Graphify rules out common hidden uses, but it can’t see code outside your indexed repositories, such as a plugin or another team’s service. Open the commit, search for dynamic use, and run the tests. Copy fix prompt for my agent asks your agent to investigate before it changes anything. See Repository health.
Duplicate code means function bodies match today. Copies out of sync means they used to match and one changed while the others didn’t, which is often a fix that reached only one copy.
The share of files that one change can affect through dependencies, also called propagation cost. A lower number means changes stay local. Track it on Trends.
No. It counts merged pull requests by the evidence behind them: formal verification, a Graphify check on the final commit, or confirmed review issues left open. Each count is split by whether an agent account opened the pull request. “No agent detected” doesn’t mean a person wrote it. See PR checks.
Yes. Code Insights is available on every plan, including Free. See Plans and pricing.
Yes, from Trends. When a chart has data, CSV and JSON download what it shows.
No. Findings and insights are advisory. To fail the Graphify check on serious review findings, see Fail on confirmed P0/P1.
No. Hiding is personal. A team decision is shared, and neither one changes the evidence. See Findings.

What’s next

Findings

Unused code, matching function bodies, and pull request findings.

Pull request reviews

Where pull request findings and PR checks come from.

Graph explorer

See the code behind an insight in the graph.

What your agent can do

Callers, impact and tests over MCP.

Connect your agent

Add the hosted MCP at api.graphify.com/mcp. Sign in with OAuth, no API key.