Graphify
Project graph
Builds and explains a codebase graph for assistants, humans, and review workflows.
Graphify and Neo4j are complementary, not interchangeable. Graphify builds a codebase knowledge graph for AI coding agents and project understanding, with graph.html, graph.json, and GRAPH_REPORT.md as portable outputs. Neo4j is a general-purpose graph database for storing and querying connected data with Cypher. You can export a Graphify graph into Neo4j when you need a database, shared queries, or joins with other data; you do not need Neo4j to ask an assistant how a repository is structured.
Published Updated
Graphify stores inspectable artifacts so codebase knowledge can be reviewed by humans and reused by AI coding assistants.

Graphify
Builds and explains a codebase graph for assistants, humans, and review workflows.
Neo4j
Stores connected data and answers Cypher queries across entities, relationships, and other datasets.
Together
Graphify can export a code graph to Neo4j when a team needs a database or shared Cypher queries.
Graphify is a codebase-context product: it extracts project structure and makes it useful to AI assistants. Neo4j is infrastructure: it stores graph data and runs Cypher queries. Choose Graphify to understand a repository. Choose Neo4j to operate a graph database or combine code relationships with other connected data.
Graphify alone is enough when a team wants an assistant to answer architecture, dependency, and onboarding questions without running a database. The graph artifacts live with the project, can be inspected as files, and can be queried through supported CLI or MCP workflows.
Neo4j adds value when the code graph must be joined with other graph data, queried by multiple services, or explored with a database ecosystem. It also makes sense when a team already operates Neo4j and wants code relationships in the same store as ownership, incidents, services, or product data.
The documented workflow installs the Neo4j extra, extracts a code graph, and either writes a Cypher script or pushes directly to a running Neo4j 5 database. Direct push adds indexes and preserves scalar properties such as source file, source location, and community.
Graphify adds code-aware extraction and project context. It parses source with tree-sitter, combines structural relationships with documents and other inputs, labels relationship confidence, and produces a readable report plus an inspectable graph. Neo4j becomes useful after that graph exists.
No. A database makes graph data durable and queryable; it does not make the extraction complete or the graph current. Dynamic calls, generated code, ambiguous edges, and stale builds remain verification concerns. Cypher can make relationships easier to query, but source and tests remain the authority.
Start with the output the team needs. If the output is assistant context and architecture review, start with Graphify. If the output is a database-backed graph service, start with Neo4j and load the code graph into it. If both are needed, use Graphify for extraction and Neo4j for durable query infrastructure.
Graphify artifacts can contain repository structure, file paths, and documentation. Neo4j adds a database service, credentials, backups, network access, and query permissions. Teams should decide who may read the graph, where it may be stored, how long it is retained, and whether source-derived data may leave the repository boundary.
Build a Graphify graph first, validate the relationships the team cares about, then export only the useful subgraph or full graph to Neo4j. Run the same questions against both the assistant workflow and Cypher before deciding that the database layer earns its operational cost.
The schema should preserve stable identity, source location, relationship type, and evidence provenance. File paths alone are not enough when symbols move; line numbers alone are not enough when files are renamed. A useful Neo4j model gives nodes deterministic merge keys and keeps the Graphify edge confidence, extraction source, and graph revision available for later queries and audits.
Neo4j earns its cost when teams need shared, parameterized traversal across projects or datasets: multi-hop callers, cross-repository dependency paths, owner-aware impact queries, or joins between code and incident data. If the recurring question can be answered from one repository's GRAPH_REPORT.md or graph.json, a database may add administration without improving the answer.
A shared graph is a service. Before exposing it to a team, verify backups, restore procedures, credential rotation, query permissions, memory limits, upgrade plans, and monitoring. Also confirm that deleted or reclassified source data can be removed from the graph, because a database may outlive the repository import that created it.
uv tool install --python 3.12 graphifyy
graphify extract . --code-onlyuv tool install --python 3.12 "graphifyy[neo4j]"
graphify export neo4j
cypher-shell -u neo4j -p "$NEO4J_PASSWORD" < graphify-out/cypher.txtNo. Graphify builds a codebase graph for assistants and project understanding. Neo4j stores and queries graph data as a database.
Yes. The CLI documents a Neo4j export that writes a Cypher script or pushes directly to a Neo4j 5 database.
No. Graphify's normal workflow uses graph artifacts and assistant integration. Neo4j is optional infrastructure for database-backed queries.
The documented direct push preserves scalar properties such as source file, source location, and community. The script export sets a smaller default property set.
The Graphify Neo4j cookbook documents Neo4j 5, local or hosted.
Yes. Code-only extraction uses tree-sitter and does not require an LLM. Semantic extraction for documents and media is a separate choice.
The available export modes and filters depend on the installed Graphify version and extras. Check the current command help and documentation, then validate the exported counts against graph.json before loading production queries. Treat any excluded document, inferred, or low-confidence relationship as a deliberate scope decision that should be recorded with the database import.
No. Neo4j is a database and query environment; graph.html is a portable visual review artifact. A database can power shared applications and dashboards, while the HTML file lets a reviewer inspect a specific build without operating a service. Many teams need both the durable database and the immutable build artifact for audit and debugging.
The team that operates the Neo4j service owns its availability, credentials, backups, upgrades, and access policy. Graphify can prepare the data, but that does not transfer database operations to the Graphify workflow. Name the owner before sharing the graph, or a pilot can become an unmaintained service with stale code and unclear access.
Continue through the Graphify topic cluster with pages that explain assistant context, architecture review, documentation, and graph-based codebase understanding.
Codebase knowledge graphs for AI assistants
Learn how codebase knowledge graphs connect source files, docs, diagrams, and rationale so AI coding assistants can answer with structure.
Code graph tools for AI coding agents
Compare code graph tools for AI assistants by outputs, relationship evidence, freshness, MCP support, data boundaries, and the questions each tool answers best.
Graphify vs CodeGraph for codebase understanding
Compare Graphify and CodeGraph by project context, call paths, source retrieval, refresh, and fit. Use the decision table to choose the right code graph.
Graphify vs Vector RAG for codebases
Compare Graphify and Vector RAG for codebases across structure, persistent context, multimodal inputs, and architecture review workflows.
Start from the use cases page or upload a project ZIP to build a graph that your team can inspect and reuse.