Skip to content

AI & machine learning

Use models, embeddings, and vector search from SQL.

19 extensions

AI functions for SQL — completions, classification, extraction, embeddings, and read-only SQL generation across local and hosted model providers

Haybarn 1.5.5Linux · macOS · Windows

Multi-modal product similarity search for manufacturing supply chain planning. Find similar materials by BOM component overlap (Jaccard), graph-structural similarity (Weisfeiler-Lehman kernel), text embeddings, and transactional patterns, with predecessor detection and cold-start analog matching for demand forecasting.

Haybarn 1.5.5Linux · macOS · WASM · Windows

Zero-shot tabular machine learning inside DuckDB — classification, regression, synthetic-data generation and imputation with real tabular foundation models (Mitra, TabPFN v2/2.5/3, TabICL, Orion-BiX, TabFM) on ONNX Runtime, no training loop

Haybarn 1.5.5Linux · macOS · Windows

Model Context Protocol (MCP) extension for DuckDB that enables seamless integration between SQL databases and MCP servers. Provides both client capabilities for accessing remote MCP resources via SQL and server capabilities for exposing database content as MCP resources.

Haybarn 1.5.5Linux · macOS · WASM · Windows

Call LLM APIs (OpenAI, Gemini, Cloudflare) directly from SQL with structured output support.

Haybarn 1.5.5Linux · macOS · WASM · Windows

Lightweight, columnar-native ML for DuckDB — train + inference, 34 algorithms, zero Python deps

Haybarn 1.5.5Linux · macOS · Windows

Picture-to-vector — image embeddings from SQL via tract-onnx (Rust). Bundles Meta's EUPE ViT-T/16; works with any ONNX vision model.

Haybarn 1.5.5Linux · macOS · Windows

ROCKET random convolutional kernel features for time-series classification

Haybarn 1.5.5Linux · macOS · WASM · Windows

Compressed vector search for DuckDB — Google TurboQuant quantization, IVF indexing, incremental CRUD, cosine/L2/dot

Haybarn 1.5.5Linux · macOS · Windows

Availability checked September 9, 2026. WASM availability means a binary is published; individual features may require a native environment.