helix-foundry README

README проекта с github.com/HelixDB/helix-foundry. Одним файлом markdown: 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)

Ищем в базе…

Что это?Helix Foundry — рабочее пространство данных с приоритетом локальности (local-first), которое связывает инструменты вашей компании (базы данных, Stripe, WorkOS, PostHog, файлы, API) в единую предлагаемую онтологию, хранящуюся в HelixDB, и позволяет исследовать данные и задавать о них вопросы.
Это хостинговый сервис или всё работает целиком на моей машине?Он работает целиком на вашем компьютере через Docker Compose, без создания аккаунтов и без удалённого хостинга; AI по умолчанию тоже работает локально.
Как это запустить?Вставьте установочный промпт в кодинг-агента вроде Claude Code, Codex или Cursor — он проверит Docker, сгенерирует ключи шифрования и соберёт/запустит стек Docker Compose; как вариант, запустите ручной быстрый старт через scripts/setup.sh самостоятельно.
Что должно быть установлено перед стартом?Нужны Docker с плагином Compose v2, а также git, bash и openssl для установочных скриптов; первый запуск дополнительно скачивает несколько гигабайт, включая HelixDB, Ollama и модель qwen3:4b.
Будет ли это работать на Windows или Mac с Intel?Windows не тестировалась, потому что скриптам нужен bash, а на Apple Silicon Docker не может использовать Metal, поэтому для более быстрого локального AI рекомендуется нативная Ollama вместо модели из Docker.
Покидают ли мою машину мои данные или использование AI?Нет, по умолчанию всё остаётся локальным: приложение слушает только 127.0.0.1, отклоняет запросы с других origin, а AI работает локально через Ollama, если вы сами сознательно не выберете Claude или OpenAI и не введёте свои ключи.
К каким источникам данных он может подключаться?Поддерживаются Neon, Supabase, PlanetScale, PostgreSQL, MySQL, Stripe, WorkOS, PostHog, REST API, S3-совместимые хранилища, загрузка файлов (CSV, JSON, JSONL, Parquet) и универсальный API приёма данных.
Как он поддерживает данные в актуальном состоянии?Он использует нативный захват изменений для PostgreSQL и MySQL там, где это поддерживается, а для прочих источников переключается на запланированное обновление снапшотов, храня версионированные неизменяемые Parquet-снапшоты с историей дрейфа схемы.
Какие варианты AI доступны, чтобы задавать вопросы о моих данных?При настройке вы выбираете Local, Claude или OpenAI; локальный вариант использует модель qwen3:4b через Ollama, а Claude и OpenAI требуют ввести собственные API-ключи в браузере.
Могут ли разработчики встроить Helix Foundry в другие инструменты?Да, он отдаёт OpenAPI-спецификацию на /api/docs, TypeScript SDK и API-токены с ограниченной областью действия, по умолчанию с доступом только на чтение, из Settings → Developer tools.
Какие есть похожие проекты?semantica, pentagi, airbyte, m_flow, WeKnora, sim, supoclip, MemoryBear
Автор
HelixDB
Размер
30.7 MB
Звёзды
2.2K
Обновлён
КоммитNov 17
Возраст
1 мес
Коммиты · 90 дней