Manifold
Mfd is an open Streamhouse engine that captures data continuously from your sources — databases, files, streams, and SaaS APIs — and lands open Apache Iceberg tables in your object store. It runs on your own machines, as the mfd command or as the mfd Python package. Both run the same engine.
You describe a pipeline once in mfd.yml: where data comes from, and where it should land. Mfd does the rest:
- Discovers the schema and evolves in-stream. It samples the source and infers field names and types, including nested structures. When upstream schemas drift, destination tables follow in-stream without breaking existing queries.
- Zero vendor lock-in. Tables land as open Apache Iceberg on Parquet in your bucket. Query live stream plus history together in Manifold (
SELECTover Iceberg ∪ WAL;STREAMtails that same SQL). Other engines such as Athena, Snowflake, DuckDB, or notebooks can query the same Iceberg tables. See Stream SQL. - Does not lose committed data. Mfd commits each batch before landing. Whether a retry can duplicate a row depends on the destination — see Exactly-once delivery.
- Replicates database changes. Change data capture keeps destination tables at the source's current state, including updates and deletes.
Connectors download on first use from install.manifold.soundingworks.uk, so the engine stays small and each connector updates on its own.
Who it is for
- Developers and analysts who want source data in a warehouse they can query, without writing extraction code.
- Operators who install, schedule, monitor, and recover pipelines on their own infrastructure.
Install
Mfd runs on macOS arm64 and Linux x86_64. Use Homebrew or the install script for the mfd command, or pip for the Python package.
brew tap sounding-works/tap
brew install mfd
mfd --versioncurl -sL https://raw.githubusercontent.com/sounding-works/manifold/main/install.sh | sh
mfd --versionpip install mfd
python -c "import mfd; print(mfd.Session)"The pip package gives you the Python API (import mfd). It does not add the mfd command. See Install for user-local installs, pinned versions, and fixes for common problems.
If a code agent is writing the pipeline, add Manifold MCP at https://mcp.manifold.soundingworks.uk/mcp. It returns mfd connect argv. It does not run mfd for you.
Your first pipeline in 5 minutes
Read public sample JSON from S3, discover its schema, sync it, and count the rows with SQL. You do not need a warehouse: without a destination, Mfd keeps the data in its local WAL and you can query it there.
You need AWS credentials that can read S3. Any AWS account works.
mkdir mfd-first-pipeline && cd mfd-first-pipeline
export AWS_ACCESS_KEY_ID="your-access-key-id"
export AWS_SECRET_ACCESS_KEY="your-secret-access-key"
export AWS_DEFAULT_REGION="us-east-1"1. Describe the pipeline. Each tab writes the same mfd.yml in the current directory.
from mfd import Config, DataSourceS3, LocalStorage, Pipeline
cfg = Config().workspace("quickstart").storage(LocalStorage())
sample = cfg.data_source(
"sample",
DataSourceS3(s3_bucket="mfd-public-sample-data", s3_prefix="bike-hire"),
)
cfg.pipeline("bikehire", Pipeline(data_source=sample))
cfg.save("mfd.yml")mfd --workspace quickstart --storage-mode local connect data-source s3 \
--pipeline bikehire \
--name sample \
--s3-bucket mfd-public-sample-data \
--s3-prefix bike-hiremfd:
workspace: quickstart
mfd_el_storage_mode: local
pipelines:
bikehire:
data_source: data_sources.sample
data_sources:
sample:
S3:
s3_bucket: mfd-public-sample-data
s3_prefix: bike-hireLocalStorage() (mfd_el_storage_mode: local) keeps Mfd's state in ./data, so you do not need a state bucket to try it out.
2. Discover, sync, and query.
import mfd
s = mfd.Session(mfd.Config.discover().get_pipeline("bikehire"))
s.discover()
s.sync(once=True)
print(s.query("SELECT count(*) FROM bikehire"))mfd discover --pipeline bikehire
mfd schema --pipeline bikehire
mfd sync --pipeline bikehire --once
mfd query --plain --sql "SELECT count(*) FROM bikehire"discover samples the JSON and records every field and its type. schema prints what it found. sync --once reads the source in a single pass and exits; without --once, sync keeps running and picks up new objects. The query returns the number of rows Mfd ingested.
Where to go next
- Land data in a warehouse: S3 to Athena, Snowflake, PostgreSQL, or BigQuery.
- Use Mfd from Python: Python.
- Understand what happens to your data: How Mfd works, Stream SQL, Materialised views, and Schema discovery and evolution.
- Connect your own systems: browse data sources and the
mfd.ymlreference. - Run it in production: WAL and buffering, Manifold Store, Transforms,
mfd migrate, ALTER operations, Logging, and Troubleshooting. - Look up a command: CLI reference.
