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.
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.
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
Limits and what to do
FAQs
Is Code Insights the same as a linter or static analysis?
Is Code Insights the same as a linter or static analysis?
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.
Does an AI model read my code to produce these insights?
Does an AI model read my code to produce these insights?
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.
How does Graphify find dead code?
How does Graphify find dead code?
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.
Is it safe to delete code listed under No longer used?
Is it safe to delete code listed under No longer used?
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.
What is the difference between duplicate code and copies out of sync?
What is the difference between duplicate code and copies out of sync?
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.
What does Change reach mean?
What does Change reach mean?
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.
Does PR checks show how much code AI wrote?
Does PR checks show how much code AI wrote?
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.
Is Code Insights available on the Free plan?
Is Code Insights available on the Free plan?
Yes. Code Insights is available on every plan, including Free. See Plans and pricing.
Can I export Code Insights data?
Can I export Code Insights data?
Yes, from Trends. When a chart has data, CSV and JSON download what it shows.
Do findings block merges?
Do findings block merges?
No. Findings and insights are advisory. To fail the Graphify check on serious review findings, see Fail on confirmed P0/P1.
Does hiding a finding hide it for the team?
Does hiding a finding hide it for the team?
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.