Back to blog
Helix Foundry vs Neo4j LLM Graph Builder for Ontologies

This blog is written by AI for SEO

Helix Foundry vs Neo4j LLM Graph Builder for Ontologies

HelixDB7 min read

If you want a company ontology rather than a graph of one document set, pick Helix Foundry as your Neo4j LLM Graph Builder alternative. It connects your databases, SaaS tools and documents, drafts one ontology over all of them, and links the same customer, order or vendor across sources. Neo4j's LLM Knowledge Graph Builder is a good tool for a narrower job: turning unstructured files into a Neo4j graph quickly and for free.

The two get compared because both end in a graph and both use an LLM along the way. The difference is what the graph is for. One turns documents into entities and relationships. The other decides what a customer, an order or a vendor means across Stripe, Postgres, a CRM and a folder of contracts, and keeps that answer correct as the data moves.

Neo4j LLM Knowledge Graph Builder or Helix Foundry: the short answer

Use the Neo4j LLM Knowledge Graph Builder when your input is a pile of documents and you want a graph out of them today. Use Helix Foundry when your input is a company: databases, SaaS tools and documents that all describe the same customers, orders and vendors, and you need one ontology over them that people and agents can query.

Helix Foundry is the open-source app (Apache 2.0) that connects those sources, has an ontology agent draft types, links and mappings, and loads the result into HelixDB as one connected graph, with each value traced to the row or document quote it came from. The Graph Builder is a Neo4j Labs project that extracts a knowledge graph from unstructured sources into a Neo4j database. They overlap on "LLM plus graph" and not much else.

What the Neo4j LLM Knowledge Graph Builder does well

It extracts graphs from documents quickly, it is free, and it is open source. That is a real win, and for plenty of projects it is the right pick.

Per its GitHub README, it transforms unstructured data into a knowledge graph using LLMs, lets you use a custom schema or an existing one, visualises the result in Neo4j Bloom, offers chat over the data in your Neo4j database, tracks LLM token usage, and lets you pick an embedding model.

If you have a corpus of reports and want to see its entities and relationships in a graph this afternoon, that workflow is hard to beat on price and speed. Note its own framing: the README describes it as an experimental Neo4j Labs project, not part of Neo4j's supported product lineup, and it needs a Neo4j database (5.23 or later with APOC).

What a company ontology needs that document extraction does not cover

A company ontology needs three things beyond extraction: the same real-world entity matched across systems, links that stay correct, and a schema that changes with the business.

Cross-system identity. Your customer is a Stripe customer, a Postgres row, a CRM account and a name in a contract, usually spelled four ways. Extraction from documents gives you a graph of what each document says. It does not take rows from your operational databases and decide that these four records are one customer. That matching, across structured and unstructured sources, is most of the work. We walk through a concrete case in linking the same customer across Stripe, Postgres and Notion.

Links that stay correct. A link between an order and a vendor is only useful if someone can say where it came from and notice when it breaks. Without provenance, nobody can trace an agent's answer back to a source row or a quote.

A schema that moves. New tables appear, columns get renamed, a new contract type shows up. An ontology that was right in March is wrong by September unless there is a way to regenerate, review and reload it. See how to update an ontology when your data changes.

These are not criticisms of the Graph Builder. They are a different job. The README describes document-to-graph creation, schema support, visualisation and chat, and does not describe connecting operational databases or SaaS tools into one model.

How Helix Foundry builds one ontology across databases, SaaS tools and documents

Foundry connects the sources, drafts the ontology, lets you review it, then loads it as a graph.

Sources. The repo lists connectors for PostgreSQL, MySQL, Amazon S3, Stripe, PostHog, WorkOS, GitHub, Linear, Granola, Cal.com, Slack, Notion, Google Workspace, Databuddy and Attio, plus documents organised into sets. You can also push data to an API source from your own app.

Drafting. A generation sends your synced tables, and up to five of the newest documents of each set it picks, to Foundry's agent, which drafts the version: types, links, table mappings, document routes and rules. For a Postgres-heavy workload, see mapping Postgres tables to an ontology. For contracts and PDFs, see extracting an ontology from documents.

Versions you can review. Each generation creates a new, immutable ontology version. You inspect the draft, including mappings and source provenance, edit it as a new version, choose Make current, then Load data to write it into the ontology's database. Rolling back means making an older version current and loading it again. Nothing changes silently.

Staying correct. Connectors sync on a schedule or on demand, and Foundry refreshes the current load. Self-healing audits surface broken links, mapping gaps and source drift as findings for you to review. They are proposals, not silent edits. Audits are off by default, so turn them on if you want them.

Using it. Ask questions through Analyst in plain language, build dashboards, or connect Claude Code, Codex or another agent through the Helix MCP. Foundry never writes to your sources.

Enterprise setup. Foundry runs locally or BYOC, works with self-hosted models and your own inference, is built on object storage with encryption at rest, and has RBAC and directory sync on by default. Access to the ontology follows access to each source: a user who cannot see a source cannot see anything grounded in it. See ontology access control.

Try it: run Helix Foundry locally or on Helix Cloud

Locally you need Docker with Compose v2, ports 3000 and 8333 free, and a few GB of room for images on first start:

git clone https://github.com/helixdb/helix-foundry.git
cd helix-foundry
docker compose up -d --wait

Then open http://localhost:3000. The local install is for one person on their own computer, with no sign-in, so keep it on localhost and do not expose it.

Or use Helix Cloud at foundry.helix-db.com and choose Set up with your agent. The quickstart takes a new workspace from sign-in to a first answer and an explored graph, and the docs include a sample company so you can see every step on made-up data first. Source is on GitHub under Apache 2.0.

Trade-offs: where each tool is the better pick

Pick by the job, not the logo.

Neo4j LLM Knowledge Graph Builder Helix Foundry
Main job Turn unstructured documents into a Neo4j graph Build one company ontology across databases, SaaS tools and documents
Inputs Files, web pages, Wikipedia, YouTube transcripts; S3/GCS depending on deployment Postgres, MySQL, S3, Stripe, Slack, Notion, Attio and more, plus documents
Cost and licence Free, open source Neo4j Labs project Open source, Apache 2.0
Backing store A Neo4j 5.23+ database with APOC HelixDB
Reviewable versions and provenance Not described in the README Immutable versions; values traced to rows or quotes
Drift and broken-link audits Not described in the README Self-healing audits surface findings for review
Runs Docker Compose, Google Cloud, local models via Ollama Locally, Helix Cloud or BYOC, with self-hosted models

The Graph Builder is the better pick when you have documents only, want a quick look at their entities, already run Neo4j, and don't need cross-system identity. Foundry is the better pick when the question is "what is a customer here, across everything we run?" and the answer has to survive schema changes and be traceable to its source.

One cost to be straight about: Foundry's agent drafts from a sample of your tables and the newest documents, so you review the draft before it goes live. That review is the point, but it is a step the quick extract-and-view workflow doesn't have.

Start with one real customer across two systems

A company ontology comes down to one test: does the same customer, order or vendor resolve to one node across your databases, SaaS tools and documents, and does it still after next quarter's schema change? Document extraction doesn't settle that. Clone helix-foundry, run docker compose up -d --wait, connect Postgres and one SaaS source, and see whether Foundry links a customer you already know across both.

Build with HelixDB

Give your coding agent the setup prompt, or sign up and deploy a database.

Sign up