DuckDB
In-process OLAP SQL database that runs inside your Python, R, or Node.js process — no server required.
DuckDB
DuckDB is a fast, in-process analytical SQL database. It runs embedded inside your application (Python, R, Java, Node.js, Rust, C++) with no separate server process, making it ideal for local analytics, data science workflows, and ETL pipelines.
Key Features
- In-process execution: Embedded OLAP engine — query Parquet, CSV, JSON, and Arrow directly without loading into memory
- Columnar-vectorized engine: Extremely fast aggregations and scans even on large files
- SQL completeness: Window functions, CTEs, PIVOT, ASOF joins, and full ANSI SQL
- Zero-copy Arrow integration: Hand off DuckDB results to Pandas, Polars, or PyArrow without copying
- Persistent or in-memory: Use as a file-based database or pure in-memory for ephemeral pipelines
- Extensions: HTTP/S3 reader, JSON, spatial (GEOMETRY), Iceberg, Delta Lake, and more
Quick Start
pip install duckdb
import duckdb
# Query a Parquet file directly — no loading step
result = duckdb.sql("""
SELECT category, COUNT(*) as n, AVG(price) as avg_price
FROM 'data/*.parquet'
GROUP BY category
ORDER BY n DESC
LIMIT 10
""").df()
Add to ai-supply
npx ai-supply add duckdb-analytics-engine
Curated mirror of the open-source DuckDB (MIT). Get it from the source.
Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.
Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).
The same gate an agent runs before installing (POST /api/v1/trust/duckdb-analytics-engine/check). Click a policy:
Consume DuckDB programmatically. Authenticate with an API key or session — see Authorize an agent.
# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/duckdb-analytics-engine
# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/duckdb-analytics-engine/check \
-H "Content-Type: application/json" \
-d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'
# CLI
npx ai-supply add duckdb-analytics-engine
# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/duckdb-analytics-engine/install \
-H "Authorization: Bearer $AIM_KEY"
# MCP tool
install_listing({ "slug": "duckdb-analytics-engine" })OpenAPI spec →Curated mirror — latest upstream source. See the repository for tagged releases.