What it is for
Spice.ai is a portable, accelerated SQL query, search, and LLM-inference engine written in Rust for data-grounded AI apps and agents. It acts as a real-time analytics node for operational databases by connecting to existing sources like databases, warehouses, and APIs. The engine serves this data to applications through standard interfaces, offering features such as local acceleration via Change Data Capture (CDC) for sub-second queries, built-in vector and full-text search, and integrated LLM inference capabilities without requiring complex ETL pipelines.
How to use it
- Declare datasets from supported sources (e.g., PostgreSQL, MySQL, Snowflake, S3) in a `spicepod.yaml` configuration file.
- Configure optional dataset acceleration to materialize data in memory or on local disk with scheduled refreshes or real-time CDC.
- Run the Spice runtime (`spiced`) as a single binary or container, either as a sidecar next to your application or as a standalone service.
- Execute SQL queries using standard APIs such as HTTP, Arrow Flight SQL, JDBC, ODBC, or ADBC.
- Perform searches using built-in functions for vector, full-text, or hybrid search over the federated data.
- Invoke LLM inference through OpenAI-compatible APIs or the Model Context Protocol (MCP) server/gateway.
Requirements
Requires installation of the Spice runtime (`spiced`) or CLI (`spice`). Supports Linux, macOS, and Windows. Users need basic knowledge of YAML configuration to define data sources and acceleration strategies.
Limits and missing details
Performance claims (e.g., millisecond latency, 2.9x faster than DataFusion) are attributed to official source documentation and have not been independently verified. Advanced distributed cluster features may require specific architectural setups. The list of supported connectors may vary by version.
AI-organized from captured source material; not independently tested. The source has changed; this introduction awaits an update.