Cross-source analytics for AI agents with DuckDB and AVA
TL;DR: How AVA uses embedded DuckDB to query files and databases together and preserve the SQL and result for review.
| Guide | Connect multiple data sources |
| Engine | DuckDB in AVA |
| Source code | AntV AVA |
AVA is a TypeScript framework and Node.js CLI for data analysis by applications and AI agents. It embeds DuckDB as its default Node.js engine and exposes tables from named files and databases in one query session. For example, an agent can join PostgreSQL orders with a Parquet export and apply a saved net revenue definition when aggregating by channel.
The Agent Skill lets an existing agent run SQL and produce an interactive report with the executed SQL and returned data. The engine guide covers read-only execution and resource limits for model-generated queries.