Chowder
Chowder is an AI-native SQL engine for multimodal data analytics.
Run SQL on documents, text, images, video, audio, and more. AI inference is part of the query plan.
Quickstart
Install Chowder with uv on macOS or Linux.
uv venv --python 3.12
source .venv/bin/activate
uv pip install chowder
Start querying multimodal data with SQL. This example uses read_documents() to parse PDF pages and infer() to return a BOOLEAN answer for each page.
import chowder
SQL = """
SELECT
source,
page_number,
content, -- Parsed PDF page in Markdown
blocks, -- Layout regions with text and bounding boxes
infer(
content,
'Does this page explain the business reasons behind declining revenue?',
BOOLEAN -- Return a typed Boolean answer
) AS inference
FROM read_documents('hf://buckets/chowderai/chowder-demo/pdf/data/*.pdf')
WHERE source LIKE '%att-management-discussion-and-analysis-2020.pdf'
AND tokens(content) < 2048 -- Filter by model token count
LIMIT 5;
"""
relation = chowder.sql(SQL) # Executable query plan
# Stream Arrow batches
for batch in relation:
print(batch)
# Or materialize as a DataFrame
result = relation.to_polars()
Define the AI output schema using native SQL types such as BOOLEAN, STRUCT, ARRAY, and ENUM.
Results from infer() include field-level confidence scores.
SELECT
convo_id,
infer(
convo_transcript,
'Analyze this customer support conversation.',
STRUCT<
resolution ENUM('resolved', 'unresolved', 'escalated'), -- Constrain the allowed labels
sentiment ENUM('positive', 'neutral', 'negative'),
summary VARCHAR,
action_items ARRAY<VARCHAR>
>
).output AS analysis
FROM read_parquet('hf://datasets/chowderai/cust-convo/data/*.parquet')
WHERE convo_id = 21569;
Create embeddings from text and images in a shared vector space with embed().
SELECT
title,
embed(content).output AS embedding
FROM read_parquet('hf://buckets/chowderai/chowder-demo/parquet/data/amazon-reviews/*.parquet')
LIMIT 3;
SELECT
source,
embed(image).output AS embedding
FROM read_images('hf://buckets/chowderai/chowder-demo/image/data/amazon-products/drinking-cup/*.jpg')
LIMIT 3;
Try Chowder’s table functions on real datasets.
SELECT * FROM read_documents('hf://buckets/chowderai/chowder-demo/pdf/data/*.pdf') LIMIT 5;
SELECT * FROM read_images('hf://buckets/chowderai/chowder-demo/image/data/misc/*.jpg') LIMIT 5;
SELECT * FROM read_videos('hf://buckets/chowderai/chowder-demo/video/data/*.mp4') LIMIT 5;
SELECT * FROM read_audio('hf://buckets/chowderai/chowder-demo/audio/data/*.mp3') LIMIT 5;
SELECT * FROM read_mcap('hf://buckets/chowderai/chowder-demo/mcap/data/road-spray-car-following.mcap') LIMIT 5;
SELECT * FROM read_parquet('hf://datasets/chowderai/cust-convo/data/*.parquet') LIMIT 5;
Explore Chowder’s column functions for inference, tokenization, and vector operations, including finding each row’s nearest neighbors and clustering similar rows.
Command line
Install the Chowder CLI:
uv tool install chowder
Run SQL from a query, file, or piped input:
chowder sql "SELECT 42 AS answer"
chowder sql --file query.sql --format jsonl
echo 'SELECT 42 AS answer' | chowder sql
Run chowder --help for available commands and options.
Local MCP server
Install the Chowder CLI and add Chowder to your MCP client’s configuration:
{
"mcpServers": {
"chowder": {
"command": "chowder",
"args": ["mcp"]
}
}
}
The Chowder MCP query tool lets your AI agent run SQL using your local filesystem access and credentials.
Query data where it lives
Read data directly from local disk or remote storage using your existing credentials and permissions.
Supported remote data sources include:
- Hugging Face datasets and buckets
- Amazon S3
- Google Cloud Storage
- Azure Blob Storage
- Direct HTTPS URLs
See the data sources documentation for more details.
Why Chowder?
Chowder brings AI directly into SQL so you can analyze multimodal datasets with the query language you already know and love.
- AI is part of the query plan — Inference returns native SQL types you can filter, join, and aggregate. Chowder optimizes the query plan to avoid unnecessary AI compute.
- Local first, built to scale — Run on your machine with inference accelerated by Apple Silicon or NVIDIA GPUs. Offload AI compute to Chowder Cloud for fast and cost-efficient inference at scale.
- Your data, your control — Query data where it lives with your existing credentials and permissions. No data migration required.
- Built for analytical inference — Run task-specific models optimized for high-throughput batch inference across large datasets.
Chowder architecture
Introducing AI-native OLAP for multimodal data. Explore the architecture.
Chowder’s core engine is written in Rust and built on Apache Arrow and Apache DataFusion.
Chowder SQL functions
Table functions
| Function | Description |
|---|---|
read_documents() |
Parse PDFs into Markdown and layout blocks, one row per page |
read_images() |
Read images and their metadata, one row per image |
read_videos() |
Extract video frames and transcribe audio, one row per time window |
read_audio() |
Transcribe audio, one row per time window |
read_mcap() |
Read robotics messages and camera frames from MCAP files, one row per message |
read_parquet() |
Read Parquet files, one SQL row per source row |
read_text() |
Read text and log files, one row per line |
read_json() |
Read line-delimited JSON (.json or .jsonl), one row per JSON object |
read_csv() |
Read CSV files, one row per record |
Column functions
| Function | Description |
|---|---|
infer() |
Run a prompt on text or images and get typed responses |
embed() |
Embed text and images in a shared vector space |
tokens() |
Count tokens in text using a model’s tokenizer |
tokenize() |
Split text into tokens using a model’s tokenizer |
neighbors() |
Find each row’s nearest neighbors in vector space |
clusterize() |
Cluster similar rows in vector space |
sim() |
Compute cosine similarity between vectors |
See the models documentation for the models used in Chowder.
Chowder Cloud
Offload AI compute to dedicated GPUs for fast and cost-efficient analytical inference at scale. SQL execution and result caching stay in your application.
To enable remote compute, use the endpoint and token from your Cloud dashboard.
export CHOWDER_REMOTE=1
export CHOWDER_API_URL="<your Cloud endpoint>"
export CHOWDER_API_TOKEN="<your Cloud token>"
See the Chowder Cloud documentation for more details.
Contributing
See the contribution guidelines for source development instructions and the contributor license agreement requirement.
License and attribution
Chowder is licensed under the Apache License 2.0. Redistributed copies must preserve the applicable license and attribution notices. See NOTICE and third-party notices. Third-party components retain their own copyrights and license terms.
Copyright 2026 Queryboost Inc. DBA Chowder AI
Metadata
Release files for chowder 0.1.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chowder-0.1.0.post1-cp312-abi3-manylinux_2_28_x86_64.whl | CPython 3.12 | abi3 | Linux glibc 2.28+ x86-64 | Details for chowder-0.1.0.post1-cp312-abi3-manylinux_2_28_x86_64.whl |
| chowder-0.1.0.post1-cp312-abi3-macosx_11_0_arm64.whl | CPython 3.12 | abi3 | macOS 11.0+ ARM64 | Details for chowder-0.1.0.post1-cp312-abi3-macosx_11_0_arm64.whl |
Total release size: 157.6 MB
Release files / chowder-0.1.0.post1-cp312-abi3-manylinux_2_28_x86_64.whl
| Download URL | chowder-0.1.0.post1-cp312-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 83.7 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
e7aba52c037774e9cbc2bcb562b0a116422bd68f6d3c274699cf4370cafcb461
|
|
BLAKE2b-256 checksum How to use checksums |
fb90cf2cca180bf4c7c2b4925fbe7d522700a3f33a1e44325e6ae7fd8ab669ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / chowder-0.1.0.post1-cp312-abi3-macosx_11_0_arm64.whl
| Download URL | chowder-0.1.0.post1-cp312-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 73.9 MB |
| Tags | CPython 3.12 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1f6fe58a081b830eb4a9d631184c823763b886f3bf5292dcf39e84f22560d2a1
|
|
BLAKE2b-256 checksum How to use checksums |
4aa8316eca55db48c4ba3ef383a07cbf49a6b1aa4fd152cfbde41f2bc136ff78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for chowder 0.1.0.post1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.