What is Featureform?
Featureform is an open-source virtual feature store. It lets data scientists define, manage and serve the features their machine-learning models consume — values such as "a user's average purchase price" — without adopting a new storage system. It sits in the Data Wrangling category of the Data & Labeling tools and is open-source, written in Go and licensed MPL-2.0.
Overview

Featureform is an open-source virtual feature store. It lets data scientists define, manage and serve the features their machine-learning models consume — values such as "a user's average purchase price" — without adopting a new storage system. Instead of holding the data itself, Featureform sits on top of the infrastructure a team already runs and orchestrates it to behave like a traditional feature store.

The core idea is that a feature's definition is normally scattered across a data source, transformation code, an inference store and a training store. Featureform lets you declare the feature once in its logical form, as Python resources — providers, sources, transformations, features, labels and training sets — and then drives the underlying systems to reach that desired state. The computation itself is offloaded to your existing engines, such as SQL in Postgres or PySpark, so the project describes itself as closer to a framework and workflow than an extra piece of data infrastructure.
Every registered resource is immutable and versioned through named variants, with metadata such as owner and lineage, so a team can share and reuse definitions without logic changing underneath them. Featureform also adds role-based access control, audit logs and dynamic serving rules for compliance, and it was built with embeddings in mind: vector databases can act as inference and training stores, and transformer models can be used as transformations so embedding tables are versioned and reproducible. It runs locally in Docker or on Kubernetes, the server is written in Go, and it is licensed under MPL-2.0.
What it does
- Virtual feature store: orchestrates the databases, warehouses and compute you already run instead of replacing them
- Python definitions for providers, sources, SQL and DataFrame transformations, features, labels and training sets, applied with one CLI command
- Immutable, versioned resources with named variants, lineage and owner metadata for safe reuse across a team
- Serves features for inference from an online store such as Redis and streams training sets in batches for model training
- Built-in role-based access control, audit logs and dynamic serving rules for governance
- Native embeddings support: vector databases as inference and training stores, transformer models as transformations
- Runs from a single Docker container on a laptop to a Kubernetes deployment over heterogeneous cloud infrastructure
Getting started
The Featureform docker quickstart starts the server plus demo Postgres and Redis containers, registers a fraud-detection example and serves it. These steps follow docs.featureform.com/deployment/quickstart-docker.
Install the Featureform CLI
The CLI and Python client ship as one package on PyPI.
pip install featureformStart Featureform in Docker
The quickstart flag launches Featureform alongside example Postgres and Redis containers, then point the CLI at the local server.
featureform deploy docker --quickstart
export FEATUREFORM_HOST=localhost:7878Define providers, sources and a transformation
In `definitions.py`, register Postgres as the offline store and Redis as the inference store, register a source table and a SQL transformation over it.
import featureform as ff
postgres = ff.register_postgres(
name="postgres-quickstart",
host="host.docker.internal",
port="5432",
user="postgres",
password="password",
database="postgres",
)
redis = ff.register_redis(
name="redis-quickstart",
host="host.docker.internal",
port=6379,
)
transactions = postgres.register_table(
name="transactions",
table="transactions",
)
@postgres.sql_transformation()
def average_user_transaction():
return "SELECT CustomerID as user_id, avg(TransactionAmount) " \
"as avg_transaction_amt from {{transactions.default}} GROUP BY user_id"Declare the feature, label and training set
An entity class ties a feature and a label to a user; the training set joins them.
@ff.entity
class User:
avg_transactions = ff.Feature(
average_user_transaction[["user_id", "avg_transaction_amt"]],
type=ff.Float32,
inference_store=redis,
)
fraudulent = ff.Label(
transactions[["customerid", "isfraud"]], variant="quickstart", type=ff.Bool
)
ff.register_training_set(
"fraud_training",
label=("fraudulent", "quickstart"),
features=["avg_transactions"],
)Apply the definitions
Featureform orchestrates Postgres and Redis to materialise the resources; check the training set until it reports READY.
featureform apply quickstart/definitions.py --insecure
featureform get training-set fraud_training quickstart --insecureServe features and stream the training set
The Python client fetches a feature for one entity at inference time and iterates over the training set in batches.
from featureform import Client
client = Client(insecure=True)
user_feat = client.features([("avg_transactions", "quickstart")], {"user": "C1214240"})
print(user_feat)
dataset = client.training_set("fraud_training", "quickstart")
for i, batch in enumerate(dataset):
print(batch)
if i > 25:
breakTear down
Stop the quickstart containers when you are done.
featureform stop dockerCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Give a data-science team one shared, versioned catalogue of features and training sets instead of copies scattered across notebooks
- Serve the same feature definitions to an online model from Redis and to training jobs from the offline store, so training and inference stay consistent
- Add a feature-store layer on top of an existing Postgres, Spark or warehouse stack without migrating data into a new system
- Version and regenerate embedding tables by registering a transformer model as a transformation with a vector database as the store
- Enforce access rules, audit logs and region-specific serving rules on features for compliance
How Featureform compares
Featureform alongside other open-source data wrangling tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Hugging Face Datasets | ★ 22.2k | An Apache Arrow-backed Python library that loads datasets from the Hugging Face Hub or local files in one line and maps, filters and streams them without holding them in RAM. |
| Rerun | ★ 11.9k | A data layer for physical AI that logs, visualises and queries multi-rate multimodal streams — images, point clouds, transforms, joint states, video — and streams them straight into training. |
| Datasette | ★ 11.8k | An open source multi-tool that points at a SQLite file and serves it as a browsable website with a JSON API, plus commands for publishing the result online. |
| ChatLab | ★ 7.7k | A local-first desktop app that imports chat exports from eight messaging platforms into one normalized store, then queries them with SQL and tool-calling AI agents. |
| Lance | ★ 7.4k | An open lakehouse format for multimodal AI: one dataset holding images, video, audio, text and embeddings, with 100x faster random access than Parquet, vector and full-text indices, and zero-copy versioning. |
| Daft | ★ 5.9k | High-performance data engine for AI: process images, audio, video and embeddings alongside structured data in one Python dataframe, with a Rust core that scales from a laptop to a Ray or Kubernetes cluster. |
| sqlite-utils | ★ 2.3k | A Python CLI and library that turns JSON, CSV and TSV into SQLite databases, creating schemas automatically and adding full-text search, table transforms and migrations. |
| Featureform | — | A virtual feature store that turns your existing data infrastructure into a feature store |
