spiceai: the readme says one config filename and the repository ships another
Add a real-time analytics node to your operational database. Spice is a portable, accelerated SQL query, search, and LLM-inference engine in Rust for data-grounded AI apps and agents.
At a glance
- What is it?
- Spice is a Rust data and AI engine that federates queries across sources, optionally keeps accelerated copies, and serves SQL, search and inference over standard APIs, with the vendor selling managed and enterprise distributions of the same tree. Its build file is where the interesting details are: a PDF engine nobody mentions, architecture flags applied to one target only, and a feature flag that cancels itself.
- Who is it for?
- Spice suits a team that wants one query and inference surface across several stores without writing federation glue, and the local-copy option is the part that actually buys latency, since unaccelerated datasets are queried in place at the source.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly Rust, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.
Star history
- spiceai/spiceai3,132 ★ · +52
| Repository | 2026-09-11 | 2026-11-22 |
|---|---|---|
| spiceai/spiceai | 3.1k | 3.1k |
52 Stars in the last 72 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The prose says one config filename and the repository ships another
The connect step of the how-it-works section says datasets are declared in one YAML file, and gives its name as spicepod.yaml. The top level of the repository contains a file called spicepod.yml. So the extension differs between the instruction and the artefact, which on a case-insensitive filesystem still works and on a case-sensitive one does not, and which makes the canonical name ambiguous for anyone writing a script that has to find the file. It is a small thing on its own and a useful signal about how much of the documentation is maintained against the tree. The tree is otherwise unusually well instrumented for the question, with a directory that looks like JSON schemas, a formatter configuration for TOML files, a pinned toolchain file, a version file, a vendored dependency directory and a file of third-party acknowledgements.
The readme says no Debezium is required and ships a Debezium example
Two of the page's most prominent lines are a promise about what you do not need. The Spice 2.0 callout says sub-second queries with roughly two second freshness and zero analytical load on production, followed by no ETL, no Debezium, no Kafka required. The first entry in the benefits list repeats it, adding that the replication is native, naming the write ahead logs and binary logs and change streams it reads instead. The repository's examples directory contains a directory whose name is ingesting with Debezium. So the marketing twice says the tool does not need a component, and the examples include one built around it. Both can be true, since a native path and an external path can coexist, but the page does not say which one the example demonstrates or when you would choose it.
A PDF engine is copied into the image and never mentioned
The container build ends its compile step by copying two files out of the build directory: the server binary, and the first shared library matching a particular name that the search finds anywhere under the build tree. That library is the PDF engine the project uses. Nothing in the readme's feature list, in the ten benefits, in the interfaces section or in the description mentions documents, PDFs or rendering. So the shipped container carries a third-party PDF library that the documentation does not account for, which matters for two reasons: it is a licensing and provenance question for anyone auditing the image, and it is a size and attack-surface question for anyone who did not expect it. The same build also installs nine system development packages, including a protobuf compiler and ODBC headers, which is a wider build surface than a query engine alone would suggest.
The build flags the x86 image and not the arm one
The compile step branches on the target architecture to choose compiler flags, and the branches are not symmetric. For the 64-bit ARM target it exports an optimisation flag plus three code-generation flags. For the 64-bit x86 target it exports those same four and adds a fifth that pins the code to a specific instruction set baseline. Every other architecture falls through to the first set, with no architecture flag at all. So the x86 binary is deliberately held to a baseline and the ARM binary is left to whatever the base toolchain targets, and a reader comparing performance between the two builds is comparing binaries compiled under different constraints. The variable being branched on is supplied by the container builder rather than by the file, which is why the first line of the file pins a Dockerfile syntax version: without a builder that provides it, the branch simply never matches.
No default features plus features default
The build has two branches and one of them can undo itself. The build argument for extra features defaults to the word default, and the branch taken when the argument saying not to use default features is true still appends a features clause if that argument is non-empty, which by default it is. So invoking the build with the no-default-features flag set, and nothing else, produces a command carrying both the flag that disables the default feature set and a clause enabling a feature set called default. Whether that is harmful depends on whether the crate's default feature is itself named that, and the visible part of the manifest does not say. The other branch is well formed and falls back to the default set when the argument is empty.
The dependency cleanup step removes the dpkg database
After installing its build dependencies the file removes four directories at once, and one of them is the package manager's own database rather than a cache. The standard cleanup for a Debian layer removes the list directory that holds the downloaded package indexes, not the directory a package manager uses to record what is installed. Both sit under the same parent, so a single recursive delete catches the intended target and the unintended one. Because this is a build stage that only the compiled artefacts are copied out of, the shipped image is unaffected and the build will behave identically. It is worth knowing about anyway, because the pattern reads as a copy of the familiar line with a broader glob, and anyone adapting this file into their own image may well copy the glob rather than the intent. The line itself is short enough to quote:
rm -rf /var/lib/{apt,dpkg,cache,log}The architecture branch is equally short, and the x86 case is the only one that adds an instruction set flag:
*) export CFLAGS="-O3 -ffunction-sections -fdata-sections -fPIC" ;;A local sign-off status gates the merge queue and can skip the Rust checks
The build file documents a local attestation step that is not a build at all. Its comment describes a developer sign-off that compares the current branch against the trunk branch, skips the Rust lint, build and tests entirely when the branch touches no Rust-affecting files, otherwise lints only the changed crates before running the full lint and unit tests, and then posts a commit status named sign-off on the head commit so that the pull request can enter the merge queue. Two things follow. The local gate is not the hosted gate: the readme's badge row surfaces six workflow runs, and a change that passes sign-off may still be measured by all of them. And the skip is a file-classification decision, so a change that alters behaviour without touching a classified file can be merged without a Rust check ever running locally.
Four benchmark numbers against four different comparators
The benefits list makes several speed and memory claims and each one has its own baseline, its own benchmark and no method. The distributed engine is said to be under three times faster than a single-node engine on one benchmark and to use eight times less memory than a different system entirely. The acceleration engine, which the page calls generally available, is said to be one and a half times faster than an embedded database with three times less memory on one benchmark, twenty six times faster than the project's own previous major version on a different benchmark, and a hundred times faster on random access against a columnar file format. Those five numbers cannot be compared with each other, none states a machine, a configuration or a dataset size, and the twenty six times figure is a comparison against the project's own earlier line rather than against anything a user could run. The page's one methodological sentence is about the scaling section of a different project.
Editorial conclusion
Spice suits a team that wants one query and inference surface across several stores without writing federation glue, and the local-copy option is the part that actually buys latency, since unaccelerated datasets are queried in place at the source. It is a poor fit if you need the millisecond claims to apply to everything you query, because the readme scopes them to accelerated working sets, and a poor fit if your build pipeline is one binary, because the workspace has roughly sixty crates and five pluggable checkpoint stores. Before you adopt it, read the configuration filename the repository actually ships rather than the one the prose uses, and check what the default features do before assuming the accelerated path is on.
Frequently asked questions
what is spice ai
Spice is an open-source data and AI engine written in Rust on Apache DataFusion, Apache Arrow and Vortex. It federates queries across databases, warehouses, data lakes and APIs, optionally keeps an accelerated copy of chosen datasets locally refreshed by change data capture or a schedule, and serves SQL, search and language model inference through standard interfaces. This repository holds the runtime and the command line tool; managed and enterprise distributions are built on it.
What is Spice AI used for?
The page positions it as a way to build data-grounded applications and agents in minutes rather than months, without writing pipelines or glue: you declare datasets from thirty or more sources in one configuration file, optionally accelerate the ones you query often, and then query with SQL over several wire protocols, search with vector, full text or hybrid search, and call language models through an OpenAI-compatible interface or the model context protocol. Unaccelerated datasets are queried in place at the source with query push-down.
Which databases can Spice AI connect to?
The page says thirty or more sources and names PostgreSQL, MySQL, Snowflake, Databricks, Iceberg, Delta Lake, S3, Spark, MSSQL, DynamoDB, MongoDB, GitHub, SharePoint and Kafka. That list mixes relational databases, an object store, a table format, a compute engine, an issue tracker and a document store, so the count is broader than the word database suggests.
Does Spice AI need Debezium or Kafka?
The page says no, twice, once in the launch announcement and once in the first benefit, describing native reading of write ahead logs, binary logs and change streams instead. The repository's examples directory nonetheless contains an example named for ingesting with Debezium, and the page does not explain when one would use that example rather than the native path.
Is Spice AI safe to use?
The page describes two commercial distributions built on the same tree, secret store integrations, mutual TLS and read-only API keys, and states that the engine can write to an open table format through standard insert statements. It gives no threat model and does not describe what an unauthenticated instance exposes, and it claims production use by named companies with no reference or case study on the page.
Who created Spice AI?
This page does not say. It describes what the software does, what it is built on, which distributions are sold on top of it and which standards it targets, but it names no author, team or company on the visible page.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/spiceai-spiceai)Star history chart for your README
[](https://hysenlabs.com/projects/spiceai-spiceai)Was this useful?