# Helix Foundry vs Onyx: Enterprise Search or Ontology?

Onyx and Helix Foundry are both open source and self-hostable, but they answer different questions: Onyx finds the passages across your apps that look most like the question, while Foundry builds an ontology, one linked entity per customer, contract or invoice, so questions that only exist in the links get a cited answer. If you are searching for an Onyx alternative, the useful move is to work out which kind of question your people and agents ask. Most teams need both kinds eventually. They rarely need them from the same tool.

This post compares the two on what they index, how they answer, how they run, and how they handle access and sources. It also clears up the other things people mean when they search "onyx alternative", because the name collides with a gemstone, a 3D printing material and a baby name.

## The short answer: search over passages vs an ontology of linked records

Onyx is search over passages; Foundry is an ontology of linked records. That is the whole split, and everything else follows from it.

Onyx describes itself as the context layer powered by all your apps, per its GitHub README. It indexes knowledge from 50+ applications into a hybrid index and answers from the passages that rank closest to your question. Helix Foundry connects databases, tools and documents, has an ontology agent draft one ontology over them, and loads it into HelixDB as one connected graph. Every value in it is traced to the table row or document quote it came from ([Helix Foundry on GitHub](https://github.com/HelixDB/helix-foundry)).

HelixDB is the open-source graph-vector database Foundry loads into; Foundry is the app on top. The Foundry docs put the difference this way: search ranks passages by how close they are to the question, while an ontology follows links from, say, subscriptions ending soon to invoices, usage, tickets and calls ([ontology vs RAG](https://docs.helix-db.com/foundry/start-here/ontology-vs-rag.md)). If the answer sits inside one document, search wins on effort. If the answer only exists once several records are joined, search can only hand back fragments.

## What Onyx is built for

Onyx is built for asking questions of everything your company has written down, from one chat box. Its strengths are real and worth stating plainly.

**Connector breadth.** Onyx indexes knowledge from 50+ applications. That is a much longer list than Foundry's, and if your knowledge lives in a long tail of SaaS tools, breadth decides a lot.

**A mature chat and agent layer.** Onyx offers agentic RAG on a hybrid index with a custom agent harness tuned for retrieval, custom agents, an MCP server, Slack and Discord bots and a Chrome extension. The same security and fine-grained permissions apply whichever access point the question comes from.

**Flexible deployment and models.** It runs on Docker, Kubernetes and Helm/Terraform, works with self-hosted models such as Ollama, LiteLLM and vLLM as well as commercial providers, and can run air-gapped. A lighter Onyx Lite mode works as a simple AI chat UI.

**Clear commercial tiers.** The Community Edition is MIT licensed and covers core RAG, chat, agents and actions. The hosted Business plan is $20 per user per month on Onyx's pricing page, and Enterprise adds SSO and on-premise options.

If the job is "replace our wiki search and give everyone a chat over it", Onyx is a strong fit, and Foundry is not trying to be that.

## What Helix Foundry is built for

Foundry is built for the questions where the answer is a relationship between records, not a paragraph in one.

The flow has four steps. You connect sources: PostgreSQL, MySQL, Amazon S3, Stripe, Granola, and Attio, plus documents and databases. Syncs read only what changed ([Foundry on GitHub](https://github.com/HelixDB/helix-foundry), [connect data](https://docs.helix-db.com/foundry/data/connect-data.md)). An ontology agent then drafts the types, links, rules and mappings, and you review and make the ontology current ([generate and version](https://docs.helix-db.com/foundry/ontologies/generate-and-version.md)). Data loads into HelixDB with where each value came from kept, a table row or a quote. Then the Analyst answers with charts, the queries it ran and a source for every claim ([ask questions](https://docs.helix-db.com/foundry/ask/ask-questions.md)).

The key move is entity matching. The same customer in two systems becomes one entity, matched by key, email or ID. A name that matches nothing, or several records, is not guessed; it waits for review. Values that documents disagree on wait for review too. The review screen has no Approve all: a person reads every card ([review](https://docs.helix-db.com/foundry/ontologies/review.md)).

For a deeper look at how drift is handled, see [Self-Healing Ontology: Keeping Links Right as Data Drifts](https://www.helix-db.com/content/foundry/self-healing-ontology-keeping-links-right-as-data-drifts).

## Questions that span systems: where the two differ

Take a real question: which customers are at risk of not renewing? The evidence lives in four places. Invoices sit in Stripe, usage in PostHog, tickets in Linear, and the tone of the last renewal call in Granola notes.

A passage search system retrieves the chunks that look most like "renewal risk": a ticket mentioning cancellation, a call note with hesitant language. It may produce a fluent summary. But it has no reliable way to know that the Acme in the ticket, the Acme Corp in the invoice and the acme.io in the usage events are one customer. It cannot compute "invoices overdue and usage down 40% and an open escalation" because those conditions live in different records that nothing has joined.

An ontology has already joined them. Subscriptions ending soon link to the invoices, usage, tickets and calls of the same customer, so the Analyst follows the links and answers with the query it ran and the source behind each claim. Where an entity could not be matched confidently, it waited for review instead of being silently merged or dropped.

The reverse also holds. "What does our security policy say about contractor laptops?" is a passage question. Search is the right tool, and Onyx does it well. Pick by the shape of your questions, not by which tool sounds smarter. For the general version of this trade-off, see [RAG vs Ontology: Which Your AI Agents Actually Need](https://www.helix-db.com/content/foundry/rag-vs-ontology-which-your-ai-agents-actually-need).

## Connectors, self-hosting and models

Onyx wins on connector count; both win on self-hosting.

| | Onyx | Helix Foundry |
|---|---|---|
| Licence | MIT (Community Edition) | Apache 2.0 |
| Connectors | 50+ applications | PostgreSQL, MySQL, Amazon S3, Stripe, Granola, Attio, plus databases and documents |
| What it builds | Hybrid index over passages | Ontology of linked entities in HelixDB |
| Answers | Chat grounded in retrieved passages | Analyst answers with charts, queries run and a source per claim |
| Self-hosting | Docker, Kubernetes, Helm/Terraform, air-gapped | Docker Compose locally; own-cloud and hosted setups |
| Models | Ollama, LiteLLM, vLLM, commercial providers | Self-hosted models, your own inference, and bring-your-own-model |
| Interfaces | Chat, agents, MCP server, Slack and Discord bots, Chrome extension | Analyst, Helix MCP, dashboards, workflows |

Foundry can run locally on your own machine. Foundry is also built on object storage, so it scales, with encryption at rest, and works with self-hosted models and your own inference. See [Bring Your Own Model and Foundry](https://www.helix-db.com/content/bring-your-own-model-and-foundry).

If your sources are mostly the SaaS tools Onyx lists and Foundry does not, connector coverage alone may settle it.

## Access control and traceable answers

Both tools care about who sees what and where an answer came from, but they attach those guarantees to different things.

Onyx captures permissions at ingestion and applies the same fine-grained permissions across every access point. Its Business plan lists RBAC and permission inheritance, and Enterprise adds OIDC and SAML SSO. The unit it protects is the document or passage.

Foundry attaches access to the source. Every fact and relationship in the ontology is grounded in a source, so on hosted and own-cloud setups, with RBAC and directory sync, a user who cannot see a source cannot see anything in the ontology grounded by it. The open-source local install is a different case: it is single-user on your own computer, so do not expose it. Role-based access is a hosted and own-cloud feature. Read more in [Directory Sync for an AI Ontology: Access Follows the Source](https://www.helix-db.com/content/foundry/directory-sync-for-an-ai-ontology-access-follows-the-source).

Traceability differs in kind as well. A search answer cites the passages it drew on. A Foundry answer cites the row or quote behind each individual value, shows the query that produced it, and holds conflicting values for a person to resolve rather than picking one. When a number goes into a board deck, that difference matters.

## Which to pick for agent workflows

Pick Onyx when agents need to read and summarise what people wrote; pick Foundry when agents need to act on records that have to be right.

An agent that drafts a reply from your help-center articles is a retrieval job. An agent that decides which invoices to chase, which accounts to escalate, or which contracts breach a policy is a records job. It needs the customer resolved to one entity, the rules attached, and a trail for every value, so a person can audit why it acted. That is what an ontology supplies, and Foundry exposes it to agents through the Helix MCP. For the rules angle, see [How to Make AI Agents Follow Your Business Rules](https://www.helix-db.com/content/foundry/how-to-make-ai-agents-follow-your-business-rules).

The two are not exclusive. A reasonable stack runs a search layer for documents and an ontology for the records that carry money, risk and obligations. If you have to choose one first, choose by the cost of a wrong answer. A slightly off wiki summary is cheap. A wrong renewal-risk list is not.

## Other things "onyx alternative" can mean

The search term is crowded, so here are quick answers to the other questions people land on.

**Is Markforged Onyx PA6 or PA12?** Onyx is Markforged's chopped carbon fiber filled nylon, a 3D printing material, and nothing to do with the software above.

**What are the key differences between onyx and black obsidian?** Onyx is a banded form of chalcedony quartz; black obsidian is natural volcanic glass with no crystal structure. Onyx is harder and is usually carved or polished.

**Why is onyx so valuable?** Mostly for its deep black, uniform colour and polish, plus a long history in jewellery, carving and architecture. Fine, evenly banded stone commands the premium.

**What are names similar to Onyx, and what is a nickname for Onyx?** Similar names include Jett, Raven, Ember and Obsidian. Common nicknames are Ony, Nyx and Oni.

**What is a cool celestial name?** Nova, Lyra, Orion, Vega and Astra are popular, and Nyx, a nickname for Onyx, is also the Greek goddess of the night.

## Match the tool to the shape of your questions

Onyx is the better answer when your problem is finding what is written across 50+ apps, and it has the connector breadth and chat layer to prove it. Foundry is the better answer when the answer lives in the links between a customer's invoices, usage, tickets and calls, and every value has to trace to its row or quote. Try it on your own data: run Foundry, connect Postgres or Stripe, and ask the one cross-system question your current search cannot answer. Star the repo if the cited answer is the one you wanted.
