JavaScript framework for natural-language data exploration, SQL analysis, and chart generation across files and databases, built for AI agents.
Overview
AVA (Visual Analytics) is a technology framework from AntV for AI-native, automated visual analytics in JavaScript and TypeScript. It is positioned similarly to natural-language analytics stacks: users and agents ask questions in prose, and AVA loads data, profiles it, runs analysis, and produces visualizations with inspectable queries and results.
The workflow covers loading sources such as CSV, JSON, Parquet, Excel, text, SQLite, MySQL, PostgreSQL, MongoDB, Supabase, ClickHouse, and other connectors listed in the docs, often via DuckDB for joined queries. Steps include schema inspection, profiling, suggested questions, analyze calls that translate intent to SQL, and chart output powered by GPT-Vis. Execution can be configured to run locally with a chosen model endpoint.
Agent integration is a first-class path: an official Agent Skill, CLI usage, and TypeScript SDK let coding agents delegate the data workflow while the agent handles reasoning. Published benchmarks such as DataBench and BIRD are cited on the project site under stated model and engine conditions.
Node.js 22.13 or newer is required to install from npm. The project is MIT-licensed and documents direct versus loop analysis strategies, semantic context for higher accuracy, and community extensions including MCP servers and AI SDK tool wrappers.
Key features
- Natural-language data analysis
- Multi-source data joins via DuckDB
- Inspectable SQL and result trails
- Automatic chart recommendations
- Local execution engine choice
- Official agent Skill and CLI
- Semantic context for analysis accuracy
- GPT-Vis chart rendering
Use cases
- Agent-driven sales and ops questions
- Verifiable analytics in product UIs
- Cross-database exploratory analysis
- Embedding NL analytics in Node apps