@georgecurtiss: I just KILLED Palantir! Foundry lets you build your own company ontology. It uses @helixdb for the s3-backed ontology a…
Summary
Helix Foundry 是一个开源的本地优先数据工作空间,基于 HelixDB 和 DuckDB 构建,可将公司各种数据源连接成统一的本体(ontology),被推广为 Palantir Foundry 的开源替代方案。
View Cached Full Text
Cached at: 10/09/26, 08:33 PM
I just KILLED Palantir!
Foundry lets you build your own company ontology. It uses @helixdb for the s3-backed ontology and @duckdb for transforming and analysing the data.
It’s open source so check it out: https://t.co/MzbyQS017U https://t.co/FvneX9nWpZ
HelixDB/helix-foundry
Source: https://github.com/HelixDB/helix-foundry
Your company's data, connected into one ontology, on your own computer.
Helix Foundry is a local-first data workspace built on HelixDB and DuckDB. Connect the tools your company already runs on, such as your database, Stripe, WorkOS, PostHog, files and APIs, and it suggests one connected ontology across them that you can explore and ask questions of. There are no accounts and nothing to host: it runs on your computer, and AI runs locally by default.
Get started with your coding agent
You need Docker installed and running. The first run downloads several GB, so give it a few minutes.
Paste this prompt into Claude Code, Codex, Cursor or any coding agent that can run terminal commands:
Set up Helix Foundry on this computer.
Clone https://github.com/helixdb/helix-foundry.git (or use the copy I already
have), cd into it, then read AGENTS.md and follow it to install, start and
verify the app. Ask me before doing anything that deletes data or stops
something that is already running. When it is ready, give me the URL and
tell me what to do next.
Your agent will ask you to approve git, docker and network commands as it goes. Approve them one at a time rather than allowing every docker command up front; the runbook asks before anything that deletes data.
What your agent will do
- Check that Docker is running and that the app’s port (3001 by default) is free, and pick another port if it is not.
- Generate local encryption keys in
.envwithscripts/setup.sh. - Build and start the stack with Docker Compose, including a local AI model. On a Mac where Ollama is already running, it uses that instead.
- Wait for the health check to pass, then give you the URL.
What you do next
- Open the URL (http://localhost:3001 by default). There is no account to create.
- Guided setup takes you through AI → Data → Ontology. Choose Local, Claude or OpenAI. Connect your data, or choose Continue with sample data. Then confirm the suggested ontology.
- Home opens with your key metrics. Ask anything about your data from the box at the top.
You enter Claude or OpenAI keys and database credentials yourself, in the browser. Your agent never needs them.
Manual quick start
You need Docker with Compose v2 (see requirements).
git clone https://github.com/helixdb/helix-foundry.git
cd helix-foundry
./scripts/setup.sh --compose
setup.sh writes fresh keys to .env if it does not exist yet, then builds and starts the app, a background worker, the DuckDB executor, HelixDB and Ollama. The first run builds the image and downloads HelixDB, Ollama and the qwen3:4b model (roughly 2.5 GB), so give it several minutes.
It is ready when the health check answers:
curl -fsS http://localhost:3001/api/health
# {"ok":true,"service":"helix-foundry"}
Then open http://localhost:3001. The model keeps downloading in the background, and you can start setup before it finishes.
Port 3001 already in use? Create .env first, then set the port and the matching origin together:
./scripts/setup.sh # creates .env with fresh keys
echo 'PUBLIC_PORT=3005' >> .env
echo 'PUBLIC_ORIGIN=http://localhost:3005' >> .env
./scripts/setup.sh --compose
Add the two lines once; if .env already has them, change their values instead. Always change both. If only the port changes, pages load but every save fails with 403 Origin is not allowed.
Apple Silicon. Docker cannot use Metal, so local AI is faster with native Ollama. Start Ollama, then run the stack without the bundled model:
./scripts/setup.sh
grep -q '^MODEL_ENDPOINT=' .env || echo 'MODEL_ENDPOINT=http://host.docker.internal:11434' >> .env
docker compose up -d --build
This relies on Docker Desktop, which provides host.docker.internal. With another Docker runtime, use the default command above.
Requirements
- Docker with the Compose v2 plugin (
docker compose, notdocker-compose). Checked with Compose 2.29. - git, bash and openssl for the setup scripts.
- Disk: several GB for the first run: the app image (about 0.9 GB), HelixDB, Ollama and the
qwen3:4bmodel. - Memory: local AI was developed and benchmarked on a 16 GB machine. Give Docker enough memory for the model, or choose Claude or OpenAI during setup.
- Node.js 24 and pnpm 10.7, only for local development.
Helix Foundry is developed and validated on macOS with Apple Silicon, and CI runs on Linux. Windows is untested, and the scripts need bash.
What you get
- Connectors for Neon, Supabase, PlanetScale, PostgreSQL, MySQL, Stripe, WorkOS, PostHog, REST APIs, S3-compatible storage, file uploads (CSV, JSON, JSONL, Parquet) and an ingestion API.
- Automatic sync through native PostgreSQL and MySQL change capture where the database allows it, and scheduled snapshot refreshes otherwise.
- A suggested ontology that matches the same customers and records across sources, stored as real objects and relationships in HelixDB.
- Versioned data: immutable Parquet snapshots with profiles, schema-drift review and history, queried by isolated DuckDB processes.
- Home and Analyst: key metrics, and answers to your questions backed by executed SQL with snapshot citations.
- Your choice of AI: local
qwen3:4bthrough Ollama by default, or Claude or OpenAI. AI-proposed changes are tested and wait for your review. - Developer access: OpenAPI at
/api/docs, a TypeScript SDK, scoped API tokens, and backup and restore scripts.
The full feature list, connector details and architecture are in the guide.
Everyday commands
Run these from the repository. If you use native Ollama, leave out --profile local.
docker compose --profile local ps -a # status
docker compose --profile local logs -f app worker # follow logs (Ctrl+C to stop)
docker compose --profile local stop # stop
docker compose --profile local up -d # start again
The stack starts again with Docker unless you stopped it.
Upgrade. Back up first, then pull and rebuild:
./scripts/backup.sh ~/helix-foundry-backups/$(date +%Y%m%d-%H%M%S)
git pull
docker compose --profile local up -d --build
Back up and restore. ./scripts/backup.sh PATH briefly stops the services, archives the HelixDB and data volumes, and copies .env as config.env. Keep backups private and outside the repository, because config.env holds your encryption key. ./scripts/restore.sh PATH --replace replaces the current data and .env with a backup.
Never run docker compose down -v unless you mean to delete everything. It removes all workspaces, imported data and stored credentials. See operations for upgrades, change capture and limits.
Local development
Use Node.js 24 and pnpm 10.7. Run HelixDB in Docker and the app natively:
pnpm install
./scripts/setup.sh
docker run -d --name helix-foundry-dev -p 127.0.0.1:6996:8080 \
-e HELIX_DATA_DIR=/var/lib/helix -v helix-foundry-dev:/var/lib/helix \
ghcr.io/helixdb/helixdb:v0.0.6@sha256:94b29942658ebdca0a91bf15edffe921a46da3e26e1223ea333ccce58c6212dd
pnpm dev
Open http://localhost:5173. pnpm dev runs the API on 3001, the executor on 3002 and the web app on 5173. Local AI also needs Ollama on port 11434 (ollama serve). Before opening a pull request, run the same checks as CI: pnpm typecheck, pnpm test and pnpm build. The guide covers tests, ports and the SDK.
Security model
Helix Foundry is built for one person on their own computer. There are no accounts and no sign-in, so anyone who can reach the app controls every workspace.
- The app is published on
127.0.0.1only. Never expose it with a reverse proxy, tunnel or port forward, and never publish the internal HelixDB, executor or Ollama ports. - The API rejects requests whose
Hostis not this computer, and browser changes from any other origin, with403. - Connector and AI credentials are encrypted with
ENCRYPTION_KEYfrom.env. Keep.envand backups private and out of git. If you lose the key, stored credentials cannot be recovered. Do not try to rotate it by replacing the value. - Generated SQL runs in a separate DuckDB executor on an internal network with no internet access, no connector credentials, no Linux capabilities, and memory and process limits.
- Scripts and the SDK use workspace-scoped API tokens from Settings → Developer tools. Tokens are read-only unless you grant write access.
Documentation
| Document | What it covers |
|---|---|
| AGENTS.md | Runbook for coding agents: preflight, setup, verification and troubleshooting |
| docs/GUIDE.md | Features, connectors, AI and review, architecture, development and testing |
| docs/onboarding.md | Onboarding API routes, SDK methods and import limits |
| docs/OPERATIONS.md | Install profiles, diagnostics, change capture, backup, restore, upgrades, limits |
| docs/HOSTING.md | Neon, Supabase and PlanetScale sign-in, scopes and permissions |
| docs/API.md | REST API reference, authentication and the TypeScript SDK |
| docs/VALIDATION.md | Test results, benchmarks and known limits from the September 2026 validation runs |
Similar Articles
@QingQ77: A local-first data workbench built on top of HelixDB and DuckDB, connecting your company's existing databases, Stripe, …
Helix Foundry 是一个基于 HelixDB 和 DuckDB 的本地优先数据工作台,可连接公司现有的数据库、Stripe、WorkOS、PostHog、文件和 API,并自动生成跨数据源的统一本体,全部在本地运行且默认使用本地 AI。
@fankaishuoai: Understanding Palantir is more valuable than any AI analysis report. Its AIP platform is today's agent platform like Claude Code / Codex. Its Ontology (knowledge graph) is the enterprise Wiki — Markdown…
The article analyzes the architecture of Palantir's AIP platform, arguing that its combination of ontology knowledge base, agent platform, and forward deployed engineers represents the future of the software industry. It points out that the platform achieved a breakthrough in 2023 by integrating LLMs (such as Claude), and this model has been copied by Anthropic and OpenAI.
@indigox: Palantir's AIP platform provides a great example of an end-to-end Agent architecture! Ontology is the core of enterprise Know-How; without it, it's just a large-scale system deployment company. With ontology, it becomes a knowledge-awareness system for enterprises, governments, or militaries, and it's also a system that can learn and evolve through feedback...
The article analyzes how Palantir's AIP platform serves as an example of an end-to-end Agent architecture, emphasizing the importance of ontology as the core enterprise knowledge for building an evolvable intelligence system.
@undefinedKi: Palantir's AI platform runs inside some of the most secure organisations on earth. Their architecture docs show what an…
Palantir's AI platform architecture for secure organizations highlights ontology-based tools, model agnosticism, and rigorous logging and evaluations for agent systems.
@berryxia: Holy crap, this project is absolutely insane! If you didn't know, you'd think it's from the CIA! Someone just dropped an open-source Palantir on Reddit. It's called Osiris. I was dumbfounded after watching the demo. On a real-time 3D globe: Over 10,000 commercial, military, and private planes flying in real time, 2,000+ satellites including the ISS…
Someone posted an open-source project called Osiris on Reddit. It's like a public version of Palantir, integrating tens of thousands of planes, satellites, CCTV feeds, and a bunch of OSINT tools on a real-time 3D globe, all running in the browser.