helix-foundry README

The project's README from github.com/HelixDB/helix-foundry. As one markdown file: README.md.

Helix Foundry

Your company's data, connected into one ontology.

Try it on Helix Cloud · Docs · Run it on your computer · Apache 2.0

Connect your databases, tools and documents, let an agent draft an ontology over them, and load it into HelixDB as one connected graph. Explore it, follow every value back to the row or quote it came from, and ask questions with cited answers. Use it hosted at foundry.helix-db.com, or run it on your own computer with one command.

Try it on Helix Cloud, no install

Opens a sample company's data, ontology and Analyst, free. Connect your own when you're ready.

The Helix Foundry Explorer: customers, invoices and contracts as one connected graph, with the selected customer's properties and relationships beside it

Get started with your coding agent

On Helix Cloud. Paste this into Claude Code, Codex, Cursor or any agent that can run commands:

Set up Helix Foundry with me: https://foundry.new

The agent adds the Helix MCP, signs you up through it if you don't have an account yet, and builds your first ontology with you. You never need the Helix dashboard: the agent sends you a link only to sign in or to enter a password or key.

On your computer. With Docker running, paste this into your agent:

Set up Helix Foundry on this computer.

Clone https://github.com/helixdb/helix-foundry.git (or use the copy I
already have), then follow its README.md and local/README.md to start it
with Docker Compose and check that it is up. Ask me before deleting data,
removing Docker volumes or stopping anything that is already running.
When it is ready, give me the URL and tell me what to do next.

Approve its git and docker commands one at a time rather than all docker commands up front. You enter API keys and database passwords in Foundry, in your browser: your agent never needs them.

Run it on your computer

You need Docker with Compose v2, ports 3000 and 8333 free, and room for a few GB of images on the first start. Rather not install anything? Helix Cloud runs the same build, with a sample company to try first.

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

Open http://localhost:3000. Foundry creates My workspace for you. No sign-in is required.

AI: Foundry uses the ANTHROPIC_API_KEY or OPENAI_API_KEY of the shell that ran docker compose up, else a local model in Ollama or LM Studio (docker compose --profile ollama up -d runs Ollama beside Foundry). Open Settings › AI models to see the selected provider or choose another. Until there is one, drafting, uploading documents and asking wait for it.

See the local setup guide for what runs, where data lives, AI providers, ports and connecting to databases on your computer.

What you do next

  1. No data to hand? Under Get started’s two cards, click Or look around a sample company first: Acme Corp, a made-up software company, as a PostgreSQL database (customers, subscriptions, invoices, support tickets, usage) and documents (contracts, call notes, an incident report). It walks you through the data, the goal, a ready-made ontology, its load and a question, in about a minute, once Foundry has an AI provider.
  2. Otherwise, connect your data or upload documents, say what you want to know, and let the ontology agent draft the ontology.
  3. Review the draft, make it current and load it into HelixDB.
  4. Explore the graph and its records, or ask the Analyst.

The Analyst answering a question about a customer contract, with a chart of the largest invoices and numbered sources for every claim

What you get

Everyday commands

Run these from the repository.

docker compose ps                         # status
docker compose logs -f site foundry       # follow logs (Ctrl+C to stop)
docker compose stop                       # stop
docker compose up -d --wait               # start again
git pull && docker compose up -d --wait   # upgrade to the latest release

Foundry starts again with Docker unless you stopped it. Your data lives in Compose volumes, which docker compose down keeps. Never run docker compose down -v unless you mean to delete everything: it removes your data and the key that seals every password and API key you gave Foundry.

Security model

The local install is for one person on their own computer. There is no sign-in, so anyone who can reach it controls it.

Documentation

Document What it covers
Helix Foundry docs Using Foundry, hosted or on your computer
local/README.md The local install: what runs, AI providers, Ollama, images, ports, databases on this machine
AGENTS.md The repository's guide for contributors and coding agents: layout, rules, each area
backend/README.md Foundry's Go backend: build, test and run it

Develop

The site, the Foundry app and its same-origin API proxy (Next.js), is at the root. It needs Node 24 and pnpm.

pnpm install
pnpm dev:mock        # the hosted site against a mock API, on http://localhost:3000
pnpm dev:mock:local  # the local build against the mock

The mock stands in for the API and sign-in, so no account or secret is needed. Before sending a change, run pnpm typecheck, pnpm lint, pnpm test and pnpm e2e (Playwright; needs pnpm exec playwright install chromium). AGENTS.md describes the layout and the rules.

backend/ is Foundry's backend, the Go module github.com/helixdb/helix-foundry/backend: the API, the workers that sync data, draft ontologies, load them into HelixDB and answer questions, and their MySQL store. backend/README.md says how to build, test and run it. Hosted Helix runs the same code as a library.

License

Everything in this repository, the site and the backend, is Apache 2.0, and so are Foundry's three images: foundry-site and foundry, built from it, and ontology-agent, the ontology agent's. HelixDB, which local/compose.yaml runs beside them, is Apache 2.0 too.

helix-foundry (HelixDB/helix-foundry)

Searching Database…

What is this?Helix Foundry is a local-first data workspace that connects your company's tools (databases, Stripe, WorkOS, PostHog, files, APIs) into one suggested ontology stored in HelixDB, letting you explore and ask questions about your data.
Is this a hosted service or does it run entirely on my machine?It runs entirely on your own computer via Docker Compose, with no accounts to create and nothing to host remotely; AI runs locally by default too.
How do I get it running?Paste the setup prompt into a coding agent like Claude Code, Codex or Cursor and it will check Docker, generate encryption keys, and build/start the Docker Compose stack; alternatively run the manual quick start with scripts/setup.sh yourself.
What do I need installed before I start?You need Docker with the Compose v2 plugin, plus git, bash and openssl for the setup scripts; the first run also downloads several GB including HelixDB, Ollama and the qwen3:4b model.
Will this work on Windows or an Intel Mac?Windows is untested because the scripts need bash, and on Apple Silicon Docker can't use Metal so native Ollama is recommended for faster local AI instead of the bundled Docker model.
Does my data or AI usage leave my machine?No, by default everything stays local: the app only listens on 127.0.0.1, rejects requests from other origins, and AI runs locally through Ollama unless you deliberately choose Claude or OpenAI and enter your own keys.
What data sources can it connect to?It supports Neon, Supabase, PlanetScale, PostgreSQL, MySQL, Stripe, WorkOS, PostHog, REST APIs, S3-compatible storage, file uploads (CSV, JSON, JSONL, Parquet) and a generic ingestion API.
How does it keep data up to date?It uses native change capture for PostgreSQL and MySQL where supported, and falls back to scheduled snapshot refreshes for other sources, storing versioned, immutable Parquet snapshots with schema-drift history.
What AI options are available for asking questions about my data?You choose Local, Claude or OpenAI during setup; the local option uses the qwen3:4b model through Ollama, while Claude and OpenAI require you to supply your own API keys in the browser.
Can developers integrate Helix Foundry into other tools?Yes, it exposes an OpenAPI spec at /api/docs, a TypeScript SDK, and scoped API tokens that default to read-only access from Settings → Developer tools.
What are similar projects?semantica, pentagi, airbyte, m_flow, WeKnora, sim, supoclip, MemoryBear
Creator
HelixDB
Size
30.7 MB
Stars
2.2K
Updated
CommitNov 17
Age
1mo
Commits · 90 Days