skardi
High-performance query engine for AI and agents, powered by Apache DataFusion.
Query files, databases, data lakes, and vector stores with SQL — and serve results as parameterized pipelines.
Modules
| Module | Description |
|---|---|
engine |
SQL query execution engine backed by DataFusion |
pipeline |
Declarative SQL pipelines with parameter inference |
model |
ONNX model loading and inference (behind onnx feature) |
sources |
Data source connectors: CSV, Parquet, PostgreSQL, MySQL, SQLite, MongoDB, Redis, Iceberg, Lance |
Installation
[]
= "0.1"
# With ONNX model inference
= { = "0.1", = ["onnx"] }
Quick Start
Execute a SQL query
use DataFusionEngine;
use Engine;
use *;
async
Load and run a pipeline
use ;
use *;
use Arc;
async
A pipeline YAML looks like this:
metadata:
name: product-search
version: 1.0.0
query: |
SELECT name, price FROM products
WHERE ({brand} IS NULL OR brand = {brand})
AND price < {max_price}
LIMIT {limit}
Parameters are automatically inferred from {placeholders} in the SQL.
Feature Flags
| Feature | Description |
|---|---|
onnx |
Enables ONNX model inference via the model module |
Further Reading
- API Reference — full rustdoc for all modules
- GitHub Repository — server, CLI, demos, and deployment guide
- Crate Page
License
Apache-2.0