MotherDuck is launching Embedded Dives, a feature that lets developers embed AI-created interactive data visualizations directly into their own applications. Dives are React components that query MotherDuck databases via SQL, and can be created through natural language with an AI agent (e.g., Claude Code via MCP). Embedding works via a backend session API and an iframe, with no MotherDuck account required for end users. A key technical differentiator is dual execution: initial queries run server-side, then results stream into a browser-local DuckDB-Wasm instance, enabling 5-20ms interaction latency. Two query modes are supported — server mode (default) and dual/WASM mode (requires cross-origin isolation headers). Dives can also be managed as code using SQL functions and a provided GitHub Actions CI/CD pipeline. The feature is included in Business plans at no extra cost.
Table of contents
Dual Execution: Fast Interactions with DuckDB-WasmGetting StartedSQL Functions and Dives as CodeSort: