
This blog is written by AI for SEO
Helix Foundry vs Microsoft GraphRAG: Ontology or Index?
Microsoft GraphRAG turns a pile of unstructured text into an index of entities, relationships and community summaries, while Helix Foundry builds a reviewed ontology across your structured systems and documents, loads it into HelixDB, and keeps a source behind every value. If your question is "what themes run through these 50,000 documents?", GraphRAG is built for that. If your question is "which customers are on the Pro plan, behind on invoices and have an open Linear ticket?", you need a model of the business, not an index of its prose.
This post compares the two for ops leads, AI leads and data leads whose data sits in Postgres, Stripe, a CRM, Notion, Slack and a drawer of documents, and who are deciding what to put underneath their AI agents and workflows.
The short answer: GraphRAG indexes text, Foundry models the business
GraphRAG is an indexing pipeline for text; Foundry is an ontology builder for a company. They solve different problems, and the difference is the input.
Microsoft describes GraphRAG as a data pipeline and transformation suite that extracts structured data from unstructured text using LLMs, per its GitHub README. You give it a corpus, it slices it into text units, extracts entities and relationships, clusters them into communities and writes summaries. At query time those structures feed an LLM's context window, as the GraphRAG docs describe.
Helix Foundry connects a company's databases, SaaS tools and documents, has an ontology agent draft one ontology across them, and loads it into HelixDB as a connected graph that people and agents query. The ontology is types, links and mappings: what a customer is, how it relates to an invoice, which table row says so.
One reads what your documents say. The other models how your business is put together and shows where each fact came from. For the wider argument on retrieval versus modelling, see RAG vs Ontology: Which Your AI Agents Actually Need.
What Microsoft GraphRAG does well (and where it stops)
GraphRAG's real win is making sense of a large body of unstructured text, and it does that with good documentation and a permissive licence. The repository's LICENSE file is MIT, the docs walk through indexing, querying and prompt tuning, and the project is built for the case where a plain vector search over chunks cannot answer "what are the main themes here?".
The mechanism is specific. Covariates such as claims are optional.
For a research archive, a pile of interview transcripts or a news corpus, that is a strong design. Global search over community summaries answers questions no single chunk contains.
Where it stops is the shape of the output and the input. The result is a set of files describing what an LLM found in text, not a live model of your systems. Nothing in the documented pipeline reads a Postgres schema, an invoice object in Stripe or a CRM account record and treats them as the ground truth they are. Entities are things the model extracted from prose. If "Acme Corp" appears in a contract, a Slack thread and a billing table, the pipeline works from text mentions; there is no reviewed definition of what a customer is, and no step where someone approves a link before agents rely on it. Output is regenerated by indexing, so freshness is a function of how you re-run the pipeline.
What Helix Foundry does differently: sources, ontology, review, provenance
Foundry starts from the systems your company already runs on and ends with a graph where every value has a source. That is four moves: connect, draft, review, trace.
Sources. Foundry turns a company's SaaS connectors, databases (Postgres, MySQL, S3) and documents into an ontology. Foundry never writes to your sources.
Ontology. An ontology agent drafts types, links and mappings from your synced tables and from the newest documents of each set it picks. Tables map to entity types; the same customer in Stripe, Postgres and Notion becomes one entity with links between its records. A worked version of that is in Link the Same Customer Across Stripe, Postgres and Notion.
Review. A person reviews the draft and makes it current. Where documents disagree on a value, it waits for review rather than being written as fact. Later syncs read only what changed, and the ontology is updated as your data changes; Self-Healing Ontology: Keeping Links Right as Data Drifts covers that in detail.
Provenance. Every value keeps its source: a table row or a quote from a document. The result loads into HelixDB, the graph-vector database underneath, and the Analyst answers questions with a source for every claim. That is the property operations and finance teams care about: when an agent says an invoice is overdue, you can click through to the row.
Foundry also exposes the ontology to agents through the Helix MCP, so Claude Code, Codex or another agent can query it directly. The whole thing is Apache-2.0.
Side by side: inputs, output, updates, trust and answers
The clearest way to choose is to compare what goes in, what comes out and how much you can trust it.
| Microsoft GraphRAG | Helix Foundry | |
|---|---|---|
| Typical input | Unstructured text corpus | Databases, SaaS tools and documents |
| What it builds | Entities, relationships, communities and community reports from LLM extraction | Types, links and mappings drafted by an ontology agent |
| Output | Parquet tables (entities, relationships, text units, communities, community reports) | A graph loaded into HelixDB |
| Human review | Prompt tuning of the pipeline | A person reviews the ontology and conflicting values |
| Source for each value | Text units that fine-grained references point back to | A table row or document quote on every value |
| Query modes | Local, global, DRIFT and basic search | Analyst, Helix MCP, dashboards and workflows |
| Best question | "What are the themes across this corpus?" | "What is true about this customer, order or vendor right now?" |
| Licence | MIT | Apache-2.0 |
A few rows deserve a sentence each.
Updates. With GraphRAG you run indexing over input text to produce the tables. With Foundry, syncs pick up what changed in a source, and the ontology is kept current as the workload and data change.
Trust. GraphRAG's references trace an extracted fact to a text unit, which is as good as text provenance gets. Foundry's trace ends at a system of record, a row in Postgres or a quote in a contract. For an agent that approves, flags or routes work, the second kind is the one an auditor accepts.
Answers. GraphRAG's global search is excellent at synthesis. Foundry's Analyst is built for the other kind of answer: precise, joined across systems, with the source attached.
Running it at a company: local with Docker, BYOC, your own models, encryption, RBAC
Foundry is designed to run where your data policy says it can. Locally it is git clone https://github.com/helixdb/helix-foundry.git, cd helix-foundry, docker compose up -d --wait, then open http://localhost:3000. You need Docker with Compose v2, ports 3000 and 8333 free, and room for a few GB of images on first start. The local install is single-user on your own computer, so do not expose it to a network. For a shared setup, Helix Cloud is at foundry.helix-db.com, or you can deploy BYOC (bring your own cloud). The guide to running Foundry in your own cloud covers that path.
On models, Foundry works with self-hosted models, your own inference and bring-your-own-model setups (Build an Ontology With a Local LLM). Point that agent at your own model and that traffic stays yours.
Foundry is built on object storage, so it scales, with encryption at rest (Ontology Encryption at Rest on Your Own Object Storage). RBAC and enterprise directory sync are on by default. Access to the sources and to the ontology itself is authenticated, and because every fact and relationship is grounded in a source, a user who cannot see a source cannot see anything in the ontology grounded by it. That is the property a text index struggles to give you, since a community summary blends many documents into one paragraph with no single owner. See Ontology Access Control: Who Sees What Your Agents Know for how that plays out.
When to choose GraphRAG, when to choose Foundry, and when to use both
Choose by the question you need answered, not by which one sounds more advanced.
Choose GraphRAG when the material is a large unstructured text corpus and the job is understanding it: themes across a research archive, patterns in support transcripts, a briefing over thousands of reports. It is MIT licensed, well documented and made for that.
Choose Foundry when your data lives in operational systems and the job is acting on it correctly: agents that touch customers, invoices, tickets and contracts, workflows that must not confuse two Acmes, answers that need a source. If your sources are Postgres, Stripe, an Attio or other CRM, Linear, Notion and Slack, Foundry reads them directly instead of asking an LLM to rediscover structure that is already in your tables. If you are still deciding whether you need an ontology at all, Ontology vs Knowledge Graph: Which Your AI Workflows Need is the place to start.
Use both when you have both problems. Run GraphRAG over a document archive to surface themes, and let Foundry hold the reviewed model of customers, orders and vendors those documents talk about. They do not compete for the same job.
If your honest answer is "our data is mostly structured systems plus documents, and agents will act on it", that is Foundry's case.
FAQ
The questions below are the ones teams ask most often when weighing the two.
Model the business first, then index what is left
An index tells you what your text says. An ontology tells your agents what your business is. For work that touches customers, money and contracts, the second has to come first, because it is the one with a source behind every value and a person who approved the links. Try it on your own data: clone helix-foundry, run docker compose up -d --wait, connect one Postgres database and one document set, and ask the Analyst a question that spans both.