
Spice.ai OSS
A single-binary SQL engine in Rust, built on DataFusion and Arrow, that federates queries across databases, warehouses and lakes, keeps hot datasets in a local accelerated copy, and adds search and LLM APIs on top.
- What it is
- Query engines
- Type
- Open source
- Made by
- Spice AI, Inc.
- License
- Apache 2.0
- Facts checked
- 6 October 2026
What it is
Spice runs as one Rust binary (spiced) next to an application, as a sidecar, a standalone service or a cluster. You list datasets in a YAML file, spicepod.yaml: a PostgreSQL table, Parquet files in S3, an Iceberg catalog, a Databricks or Snowflake table, and so on from about 30 connectors. Applications then query them all with SQL over HTTP, Arrow Flight SQL, JDBC, ODBC or ADBC. Apache DataFusion, which works on Apache Arrow’s in-memory columnar format, plans and runs the queries. For a dataset left in place, Spice pushes as much of the query as it can down to the source. That keeps the data where it is, but the slowest source sets the latency of a join.
The main idea is acceleration. For any dataset you can turn on a local copy, held in memory as Arrow, in an embedded DuckDB or SQLite file, or in Spice Cayenne, its own engine built on the Vortex columnar format. Spice keeps that copy fresh by reloading it on a schedule (full), appending new rows (append) or applying change data capture (changes). It reads the PostgreSQL write-ahead log, the MySQL binlog, MongoDB change streams or DynamoDB Streams directly, with no Kafka or Debezium in between. Queries then hit the local copy instead of the source, and a results cache answers repeated queries from memory. The project describes this as an active cache, or a CDN for databases.
On top of the data it adds AI features: an OpenAI-compatible API in front of hosted or local models, embeddings, vector, full-text and hybrid search as SQL table functions, text-to-SQL, and a Model Context Protocol (MCP) server. Version 1.0 was declared stable in January 2025 and 2.0 in June 2026, which made distributed queries on Apache Ballista and the Cayenne accelerator generally available; v2.3.2 came out in September 2026. The runtime is Apache 2.0. Spice AI, Inc. builds it and sells Spice Cloud, a managed service, and Spice.ai Enterprise, and a few connectors (ODBC, ScyllaDB, NFS, Elasticsearch) ship only in Enterprise builds unless you compile them in yourself.
Why teams pick it
- One SQL endpoint over many sources, with query push-down, so an application doesn’t need a driver and a pipeline per database
- Hot data served from a local copy next to the app, in memory or on disk, kept fresh by refreshes or direct CDC from PostgreSQL, MySQL, MongoDB or DynamoDB
- Small enough to run one instance per application or tenant: a single binary of about 140 MB, configured in one YAML file
- Retrieval, search and LLM calls in the same engine as the data, through OpenAI-compatible and MCP interfaces
Watch out for
- Uneven maturity: core connectors are stable, but Kafka, Spark and SQL Server are beta, GCS and ClickHouse alpha, the SQLite accelerator a release candidate, and the vector engines alpha
- Accelerated copies need memory or disk (the docs suggest at least 1.5 times the dataset size), and if a source’s schema changes while Spice is running, refreshes fail until it restarts or schema detection is turned on
- Federated joins across many sources slow down, since the slowest source bounds the query; the docs recommend accelerating such joins instead
- A young, single-vendor project whose headline benchmarks (for example against DuckDB and Spark) are the company’s own
Alternatives
What all query engines have in common →
Amazon AthenaAWSAWS’s serverless SQL engine for data in S3: no cluster to run, and on-demand queries cost $5 per TB scanned.
Apache CalciteOpen sourceA Java framework with everything a database needs to understand a query (SQL parser, validator, relational algebra and a rule-based, cost-based optimizer) but no storage of its own, which Hive, Flink, Druid, Dremio, Beam and many other systems embed as their SQL front end and planner.
Apache ZeppelinOpen sourceA self-hosted web notebook where each paragraph runs through an interpreter: Spark, Flink, JDBC, Python and more. Maintained, but behind Jupyter and Databricks in reach.
GizmoSQLOpen sourceA database server that wraps DuckDB (or SQLite) and serves it to many clients over Arrow Flight SQL, with TLS and authentication.
HotdataCommercialA managed SQL engine for AI agents, built in Rust on Apache DataFusion and Arrow: each agent gets short-lived “instant databases” to load data into, then runs read-only SQL, vector, full-text and geospatial queries over an HTTP API or CLI.
IbisOpen sourceA Python dataframe API that compiles to SQL, so the same code runs on DuckDB on a laptop and on BigQuery, Snowflake, PostgreSQL or more than 20 other engines.
VeloxOpen sourceMeta’s open-source C++ execution engine library: it takes an already-optimized query plan and runs it with vectorized operators, and it is the engine inside Presto’s C++ workers (Prestissimo) and Apache Gluten’s native Spark.How it fits with other technologies
What Spice.ai OSS uses
- Spice.ai OSSplans and runs SQL queries withApache DataFusion
- Spice.ai OSSaccelerates datasets in memory asApache Arrow
- Spice.ai OSScan accelerate datasets inDuckDB
- Spice.ai OSScan accelerate datasets inSQLite
- Spice.ai OSSstores Cayenne accelerations asVortex
- Spice.ai OSSfederates and replicates, via CDC, fromPostgreSQL
- Spice.ai OSSfederates and replicates, via CDC, fromMySQL
- Spice.ai OSSreplicates collections, via CDC, fromMongoDB
- Spice.ai OSSreplicates tables, via Streams, fromAmazon DynamoDB
- Spice.ai OSSqueries Parquet and CSV files inAmazon S3
- Spice.ai OSSqueries and writes tables inApache Iceberg
- Spice.ai OSSqueries tables inDelta Lake
- Spice.ai OSSfederates queries toDatabricks
What uses Spice.ai OSS
spicepod.yaml: accelerate Parquet files from S3, and replicate a PostgreSQL table by CDC · yaml
version: v1
kind: Spicepod
name: shop
datasets:
- from: s3://acme-lake/events/2026/
name: events
params:
file_format: parquet
acceleration:
enabled: true # in-memory Arrow by default
- from: postgres:public.orders
name: orders
params:
pg_connection_string: postgresql://spice:${secrets:pg_pass}@db.internal:5432/shop
acceleration:
enabled: true
engine: duckdb
refresh_mode: changes # stream the PostgreSQL WAL
primary_key: id
on_conflict:
id: upsertSee it in a real stack
No architecture uses Spice.ai OSS yet. Drop it into the playground and wire it up yourself.Open playground →Where it came from2021–2026
Luke Kim and Phillip LeBlanc, who had built developer tools at Microsoft and GitHub, founded Spice AI in 2021. Kim said that while at Microsoft he had become convinced decision-making AI would matter to many applications, yet developers had no platform for it. The first Spice.ai, released as an alpha in August 2021, was an “open source runtime and distribution system for time series AI”: a runtime written in Go and Python that learned from streams of time-series data and served recommendations to apps over HTTP.
In February 2024, with version 0.7, the company replaced it with an all-new implementation in Rust. The new runtime dropped the built-in AI training engine and dashboard, which moved to the hosted Spice.ai platform, and became a SQL engine instead: Apache DataFusion for queries, plus local acceleration of datasets in Arrow or DuckDB. The company introduced it publicly in March 2024 as a SQL query engine to materialize and accelerate data from any database, warehouse or lake.
Over 2024 the project added search, model serving and an OpenAI-compatible API, and declared version 1.0 stable in January 2025, citing production use at Twilio and Barracuda Networks. Spice 2.0, in June 2026, moved beyond a single node with distributed queries on Apache Ballista, made the Vortex-based Cayenne accelerator generally available, and added direct CDC replication from operational databases.
Why it’s built this way
- Build on DataFusion instead of writing a query engine
- The Rust rewrite embedded Apache DataFusion from its first release (v0.7) for fast, standards-based SQL across sources. The company could then spend its effort on connectors, acceleration and AI features rather than on a planner and executor.
- Materialize the working set next to the application
- Engines such as Trino and Dremio run as central clusters that many applications share. Spice usually runs one instance per application or tenant and keeps the data that app uses locally, trading extra copies for lower latency and less load on the source systems.
- Let each dataset pick its accelerator
- No single storage engine suits every workload, so a dataset can use Arrow, DuckDB or Cayenne for analytical scans, or SQLite for transactional-style lookups, all behind the same SQL interface.
- Drop model training from the open-source runtime
- The 2021 runtime bundled its own training engine. Version 0.7 removed it and the dashboard, leaving those to the hosted platform, so the open-source engine could focus on serving data to applications and models.
Timeline
- 2021
Spice AI founded; first alpha of a Go and Python runtime for time-series AI in August
- 2024
Version 0.7 rewrites the runtime in Rust on DataFusion, in February
- 2025
Version 1.0 declared stable in January
- 2026
Version 2.0 in June: distributed queries on Ballista, Cayenne generally available, direct CDC
- Protocol Labs blog: Meet Spice AI (May 2024)
- Spice.ai README at v0.1.0-alpha.4 (Aug 2021): runtime for time series AI
- Spice.ai README at v0.6-alpha (Feb 2022): runtime written in Golang and Python
- Spice v0.7-alpha release on GitHub: all-new implementation in Rust on DataFusion (Feb 2024)
- Spice AI blog: Announcing Spice.ai Open Source 1.0-stable (Jan 2025)
- Spice v1.0.0 release on GitHub (Jan 2025)
- Spice v2.0.0 release on GitHub (Jun 2026)
- Spice AI blog: Spice 2.0 is now available (2026)
- Spice.ai docs: FAQ (comparison with Trino, Presto and Dremio; one instance per application)
Sources10 · facts checked 6 October 2026
- Spice.ai README on GitHub: architecture, connectors and accelerators with their status, Enterprise-only connectors
- Spice.ai docs: FAQ (APIs, ~140 MB binary, push-down, federated joins, active cache)
- Spice.ai docs: Data acceleration (storage sizing, schema changes)
- Spice.ai docs: Refresh modes
- Spice.ai docs: PostgreSQL logical replication (native CDC)
- Spice.ai docs: Spice Cayenne data accelerator (Vortex)
- Spice.ai docs: S3 data connector
- Spice AI blog: Spice 2.0 is now available (Ballista and Cayenne generally available, CDC, benchmarks)
- Spice v2.3.2 release on GitHub (Sep 2026)
- Spice AI pricing: open source, Cloud and Enterprise