Helix Foundry Lets Developers Query All Their Business Data on a Laptop
Helix Foundry lets you wire databases, SaaS tools, and files into a single company ontology that runs entirely on your laptop.
Takeaways
- HelixDB released Helix Foundry, an Apache 2.0 open source alternative to Palantir Foundry.
- Connects databases, Stripe, WorkOS, PostHog, S3, and files into one company ontology stored as a graph.
- Runs fully local via Docker Compose with HelixDB for the ontology and DuckDB for analytics.
- Ships with a local qwen3:4b model via Ollama, or optional Claude and OpenAI keys for AI queries.
- Includes change data capture, Parquet snapshots, OpenAPI, a TypeScript SDK, and scoped API tokens.
- Single-user security model: no accounts, bound to localhost, not meant to be exposed over the network.
The team behind HelixDB has released Helix Foundry, an open source platform for connecting databases and SaaS tools, modeling their records as a shared graph, and querying the result with SQL or natural language.
Released under the Apache 2.0 license and written in TypeScript, the project runs as a Docker Compose stack on a single machine. It requires no Helix account or hosted control plane. Imported data and credentials stay in the local deployment, while the bundled Ollama model keeps inference on the host. Choosing Claude or OpenAI sends the prompts and context used for those requests to the selected provider.
A graph over local snapshots
In Foundry, an ontology is a common model for business entities such as customers, invoices, users, and support tickets, along with the relationships between them. The software examines connected sources, proposes entities and identity matches, and lets the user review the resulting model.
| Component | Role |
|---|---|
| HelixDB | Stores ontology objects and relationships as a graph. |
| Parquet snapshots | Preserve imported source rows in immutable, versioned files. |
| DuckDB | Transforms snapshots and executes analytical SQL in isolated processes. |
| Language model | Proposes the ontology and translates natural-language questions into SQL. |
| Web interface and API | Expose metrics, query results, workspace controls, and developer access. |
The query executor has no internet access or source credentials. Generated SQL runs only against the imported snapshots, limiting what a faulty or adversarial query can reach.
Sources in, SQL out
Built-in ingestion spans relational databases, selected SaaS products, object storage, file uploads, and a generic API. Sync behavior depends on the source: PostgreSQL and MySQL can use native change capture when configuration and permissions allow it, while other sources use scheduled snapshot refreshes.
- Databases: PostgreSQL, MySQL, Neon, Supabase, and PlanetScale.
- SaaS services: Stripe, WorkOS, and PostHog.
- Other inputs: REST APIs, S3-compatible storage, an ingestion API, and CSV, JSON, JSONL, or Parquet uploads.
- Product views: a Home view for key metrics and an Analyst view for natural-language questions.
- Developer access: OpenAPI documentation at
/api/docs, a TypeScript SDK, scoped API tokens, and backup and restore scripts. - Data controls: versioned snapshots and review of schema changes before updated data enters the model.
The cross-system query it targets
A question such as “Which enterprise accounts opened a support ticket after their latest Stripe invoice failed?” usually requires records from billing, product, authentication, and support systems. Those systems often use different identifiers, leaving a developer to build ingestion jobs, warehouse tables, transformations, and identity-resolution logic before writing the final query.
Foundry imports the relevant data, proposes links between fields such as stripe.customer.email and auth.users.email, and materializes the matched entities in its graph. A natural-language request becomes SQL executed against DuckDB. The response includes the generated query and snapshot citations, allowing users to inspect both the calculation and its source data. Since the identity matches and SQL are model-generated, they still require review before they drive operational decisions.
From clone to first query
A local installation requires Git, Docker, several gigabytes of disk space, and enough memory for the selected model. The repository includes a setup script for launching the Compose stack:
git clone https://github.com/helixdb/helix-foundry.git
cd helix-foundry
./scripts/setup.sh --compose
On first run, the script builds the application image and downloads HelixDB, Ollama, and the qwen3:4b model. The model download is roughly 2.5 GB, so initial setup can take several minutes. When http://localhost:3001/api/health reports a healthy service, the web interface guides the user through AI, data-source, and ontology configuration.
Local inference was developed and benchmarked on a machine with 16 GB of memory. Docker needs enough assigned memory to hold the model and application services. Apple Silicon users can run Ollama directly on the host for Metal acceleration because Docker cannot access Metal. Claude and OpenAI are available when local inference is too slow or memory is constrained.
Strong prototype, narrow deployment model
Helix Foundry currently assumes one user operating one local installation. That design supports fast exploration and keeps infrastructure small, while placing clear limits on access control, collaboration, and scale.
| Area | Current behavior |
|---|---|
| Access control | There are no accounts or sign-in. Anyone who can reach the application can control every workspace. |
| Network exposure | The project advises against publishing the service through a reverse proxy or tunnel. |
| Scale | Queries run against laptop-hosted Parquet snapshots with DuckDB. Large shared workloads and petabyte-scale warehouses fall outside the current design. |
| Secrets | Credentials are encrypted on disk with a key stored in .env. Security therefore depends on protecting the host and its configuration files. |
| Platforms | Development and validation focus on macOS with Apple Silicon. Continuous integration runs on Linux. Windows remains untested because the scripts require Bash. |
| Collaboration | The project has no multiuser roles, approval workflows, or shared governance controls. |
The current feature set fits customer-data exploration, internal operations prototypes, support analysis, and other moderate workloads where inspectable SQL and local storage matter. A shared production deployment would require authentication, network controls, monitoring, resource management, and a stronger secrets boundary.
A smaller Foundry-shaped system
Palantir Foundry popularized the combination of data pipelines, an ontology, analytical tools, and operational applications. Palantir’s platform also includes enterprise governance, collaboration, deployment controls, lineage, workflow tooling, and support. Comparisons with Helix Foundry describe the shared ontology pattern; the products differ substantially in scope and operating model.
Other open source projects pursue the same broad pattern with heavier infrastructure. OpenFoundry, for example, uses a microservice-oriented architecture aimed at Kubernetes environments. Helix Foundry packages its graph database, snapshot layer, query engine, and language model into a laptop-scale Compose deployment.
Faster tests for ontology-driven apps
Helix Foundry gives developers a practical way to test whether a connected business ontology can answer useful questions before committing to a warehouse program or enterprise data platform. Its combination of local inference, versioned Parquet snapshots, DuckDB, and a graph model can support a customer 360 prototype or internal operations console within a single development environment.
The main tradeoff is explicit: the same local, single-user design that reduces setup also limits security, collaboration, and scale. For individual developers and small research projects, the repository provides a concrete starting point with inspectable queries and portable components.