Skip to main content
Guide
An ontology holds the types, links and rules that describe your data, with its versions and loads. Each one is bound to one Helix database, which its loads write into. A workspace can have several ontologies, one per database, and each reads the workspace’s data and documents its versions pick.

Create an ontology step by step, with its first draft.

The Ontologies panel

In Ontologies, the panel beside the sidebar lists the workspace’s ontologies, each with its database and a dot for the status of its last load. The open ontology’s row holds its pages: Overview, which also lists its schema versions and data loads, and Documents, with how many it reads and the sets they’re in. Owners and admins create an ontology with + in the panel’s head. From eight ontologies, a filter finds one by name or database.
The Ontologies panel listing Customer contracts on the contracts database, open on its pages, and Renewals on the subscriptions database
Ontologies in the sidebar opens the ontology you last opened in this browser, or the first one.

Create one

Select New ontology. A workspace without an ontology opens on the same page, as Create your first ontology, with Set up with your agent above it to hand the steps to your agent through the Helix MCP. The page walks through five steps, one at a time: each step you finish shrinks to a line saying what you chose, with Edit to change it. Select Continue to go on, or Skip on an optional step you leave empty. Your choices are kept in the browser tab until you create the ontology or select Cancel, and the step is in the page’s address, so going back or reloading keeps your place.
1

Name

Give the ontology a name, such as “Customer contracts”.
2

Database

Use an existing one lists the live databases in the workspace’s Helix projects. A database another ontology uses is greyed out. Loads write beside anything the database already holds, and Foundry never deletes it.
The New ontology page at its Database step, with the name Orders done and the orders database chosen; contracts and subscriptions are used by other ontologies
Create a new one makes a database in a project you choose, or a new project, on Helix’s shared cluster, under the workspace’s Helix plan. Its address is the name you give it, with a short suffix when another database already has it.
The Database step creating a database named orders-graph in the Staging project
3

Connect your data or upload documents

Choose what the agent drafts from. Any of these will do, and you need at least one:
  • Tables: the connectors whose synced tables it reads; every table a chosen connector has synced goes in. Connectors are grouped by kind, as in Generate.
  • API sources: the API sources it reads, each through structured mappings or by entity extraction.
  • Documents: the document sets the first version reads, up to 20.
A generation reads at most 50 tables, synced tables and table files together. If a source isn’t connected yet, select Add data to connect it without leaving the page; its first sync shows in its row, and you can continue once it has synced. New API source makes an API source in place. Upload documents uploads files into General or the oldest set, and the upload button on a set’s row uploads into that set; the set the files went into is then chosen.
The step Connect your data or upload documents, with the Stripe and Shop database connectors and the General document set chosen, Add data and Upload documents
4

Goal (optional)

Say what the ontology should serve: the questions people will ask of it, in your words, up to 2,000 characters. The goal names the generation. Copy prompt for your agent has your own AI assistant help you write it, as on Generate.
5

Review and create

Check what you chose, then select Create and generate. Foundry makes the new database if you asked for one, creates the ontology, and asks its agent for a first draft. The generation’s page opens and follows it.
The Review and create step, with Orders, the orders database, Stripe and Shop database, General and a goal chosen, and Create and generate
You review the draft before it is used: make it current to load it. If you leave before then, the ontology’s overview picks up where you stopped. If the ontology was created but its generation couldn’t start, the ontology opens saying why, with Try again, which opens Generate with your choices.
A new database comes with a first API key. Foundry never keeps or shows its token; right after you create the ontology, the page says so once and links to the database’s keys in the Helix dashboard, where you can revoke it or make your own.
A new database takes a few minutes to start. Until it answers, the ontology’s pages say it is starting and read it again by themselves, and a load waits for it. Creating a database needs a Helix plan on the workspace. Without one, the review step links to billing in the Helix dashboard and offers the databases you already have.

The overview

Until an ontology is set up, its overview carries the setup on, so you can always continue from there. Set it up lists the steps with the ones done ticked: Name and Database, then Connect your data or upload documents, Goal (optional), Generate a draft, Review and make a version current, Load it and Explore or ask. The first step not done is open, and Set up with your agent copies a prompt that carries on from there:
  • Before a draft, the data and goal steps are the same as on New ontology, with Add data and Upload documents in place, then Generate.
  • While the agent drafts, the step follows it; if the draft failed, it says why, with Try again.
  • A draft to review offers Review and Make current.
  • A current version not loaded yet offers Load data.
  • Once loaded, Explore or ask opens the Explorer or Ask.
The Renewals overview with Set it up, 5 of 7 required steps done: its name, database, data, goal, draft and current version ticked, Load it open with Version 1 isn't loaded yet and Load data, and Set up with your agent
Members see the same steps, without the pickers or anything that changes the ontology. Once the ontology has been loaded and explored or asked about, the overview is its current version as a schema: each type as a card with its key and the table that fills it, joined by its links. Select a card to open that type; point at a link to read what it means. Above it, the overview follows a generation or load that is running, and says when a newer version is ready to review or the current one isn’t loaded yet.
The Customer contracts overview, loaded: its database, last load and creation date, and version 3's schema with Contract, Customer and Invoice joined by Signed with and Billed to
Its header names the database and its Helix project, the status of the last load and when the ontology was created. It links to the documents the ontology reads, and offers Generate once the ontology has a draft and, once the current version can be loaded, Load data. Below the schema, Schema versions lists every version and Data loads the loads kept. The Explorer and Ask are sections of their own, which open the ontology you last opened.

Delete an ontology

Select the bin on the overview. Foundry deletes the ontology, its versions and loads, and, in the background, everything its loads wrote into the database, including links your own data added to those records. The database and its other data stay, and so do the workspace’s documents. The database can take a new ontology once that removal finishes.

Who can do what

Owners and admins create and delete ontologies, and need write access to the database’s Helix project to do so. Members see every ontology. A member who can’t read the database’s project sees the ontology without its database’s details or contents.

Next steps

Generate and version

Review the draft, make it current, and draft new versions.

Upload documents

Add the files a load reads for names, facts and tables.