Open source

Data engineering reference architectures

Open source blueprints for batch, streaming and AI data platforms, each one backed by code you can run.

Try

What is an open reference architecture?

An open reference architecture is a documented, runnable blueprint for a data platform in which every layer is open source and every interface between layers is an open format or protocol: Parquet files in an open table format such as Delta Lake or Apache Iceberg, an open catalog API such as Unity Catalog or the Iceberg REST specification, and open engine protocols such as Spark Connect or Arrow Flight SQL. Because the interfaces are open, any box in the diagram can be swapped for another project that speaks the same interface, and the whole architecture can run on a laptop, a Kubernetes cluster or any cloud.

Platform architectures

The agentic lakehouse and the pieces every pipeline leans on: one catalog for every engine, governed agents, sharing, a full local stack.

Interactive

The architecture board

Pick an architecture and an industry, switch between simplified and detailed views, select any box to inspect or swap it, then share the link or export what's on screen.

Sources

Ingestion

Open lakehouse platform

AI and agents

Engine access

Execution

Data foundation

Governance

Operations

Serving

Teams

Lit boxes are part of this architecture, with the versions its reference repo pins. Switch to Full platform to see every capability. Select any box or team for details. marks a swappable choice.

Start from the problem

Which data engineering architecture should I use?

If this sounds like youStart with
My data arrives as files or extracts every night or every hour.Batch medallion with Spark Declarative Pipelines
I need current and historical versions of rows from a database change feed.Change data capture with SCD type 2
My sources emit events and I want tables a few seconds behind them.Streaming medallion
I need a decision while the event is still in flight, in milliseconds.Real-time streaming with Spark Real-Time Mode
Different teams want Spark, DuckDB, Trino or Python on the same data.One catalog, many engines
I want AI agents to build pipelines without handing them production keys.Governed AI agents for data engineering
Partners or customers need live access to some of my tables.Open data sharing
I want to learn the whole stack, or test against it, on my laptop.The open lakehouse on a laptop

Industry lenses

Data engineering architectures by industry

An industry does not change the open stack in the middle. It changes the source systems, the exchange formats, what bronze, silver and gold mean, and which architecture each use case needs.

Resources

Open source data engineering resources

The projects, specs and runnable stacks behind these architectures, grouped by what you would look them up for. Projects link to the architectures that use them.

Runnable stacks and courses

Clone one of these and you have a working open lakehouse to learn on or test against.

  • open-lakehouse Spark, Delta Lake, Unity Catalog, Kafka, Airflow and MLflow in Docker, with an AWS path.
  • unitycatalog-playground Unity Catalog OSS with Spark, Delta and Iceberg in marimo notebooks.
  • lakehouse-masterclass A textbook course that builds an open lakehouse one service per chapter.
  • Spark Masterclass A runnable online book on Apache Spark 4.3; every number traces to a script.
  • spark-demos One runnable demo per Spark feature: metric views, Spark Connect, Real-Time Mode and more.
  • safe-spark-agents-paper A reproducible study and reference architecture for AI agents building Spark pipelines.

Open table formats

ACID tables on object storage, readable by many engines.

Catalogs

Where engines find tables, and where access is decided.

Streaming and ingestion

Getting events and database changes into the lakehouse.

Governance, lineage and policy

Who can see what, and where it came from.

ML and AI

Models, traces and agents on top of the lakehouse.

Specs and protocols

The open interfaces that make every box swappable. Read these when two projects disagree.

Answers

Frequently asked questions

What is a reference architecture in data engineering?
A reference architecture is a reusable blueprint that names the layers of a data platform (sources, ingestion, storage, table format, catalog, compute, orchestration, serving and governance), the component in each layer, and how data flows between them. Teams start from it instead of designing a platform from a blank page.
What makes a reference architecture open?
Every component is open source and every interface between components is an open format or protocol, so any box can be replaced by another project that speaks the same interface without migrating the data.
What is the best open source data engineering stack?
There is no single best stack; it depends on the workload. A common open baseline is Apache Spark for compute, Delta Lake or Apache Iceberg for tables, Unity Catalog OSS or an Iceberg REST catalog for governance, Apache Kafka for events, Apache Airflow for orchestration and MLflow for models. The architectures on this page show which combination fits batch, streaming, real-time, sharing and AI workloads.
Is there a reference architecture for an agentic lakehouse?
Yes. The governed AI agents architecture is the production shape of an agentic lakehouse: agents write Spark Declarative Pipelines as pull requests, CI dry-runs them against the real catalog, each tenant reaches Spark through an identity-pinned Spark Connect endpoint, and a governed Iceberg REST catalog authorizes every request. The agentic lakehouse and agentic data engineering guides on this site explain the concepts.
Can I run these reference architectures myself?
Yes. Every architecture links to at least one public repository with the versions it pins and the commands from its README, and most run on a laptop with Docker.
How are these different from vendor reference architectures?
Vendor reference architectures keep the vendor's platform fixed in the middle and vary the industry around it. Here the middle is also open: you can swap the table format, catalog, engine or orchestrator, and each choice is backed by code you can run.
Is there a machine-readable version?
Yes. /reference-architectures.json contains every architecture, component and industry lens, and each architecture page has a Markdown twin at the same path with a .md suffix.

Guides

Concepts behind the architectures

For agents and tools

The full catalog is published as JSON, every architecture page has a Markdown twin, and all of it is indexed in llms.txt. Last updated 2026-11-21.