Data Analyst Agent KitPython · MIT*

Data Analyst Agent Kit

Ask questions in English, get guarded SQL, rows and a chart spec. $147, one-time. Python source, MIT with a no-resale-as-template clause.

Read-only guard

sqlglot AST check: one SELECT only. DDL, DML, data-modifying CTEs, file-reading functions all rejected.

Row + cost caps

Outer LIMIT that user SQL cannot raise; a cartesian-aware cost estimate that blocks runaway joins.

Vega-Lite output

Line, bar or point spec chosen from the result shape. Drop into any Vega-Lite viewer.

DuckDB demo

Seeded synthetic warehouse (customers, products, orders). Same seed, same data, every time.

Execution evals

Compare result sets with golden queries, not SQL text. Gate CI on accuracy.

Standalone

Vendors the agent_forge core runtime. 29 offline tests with a mock LLM, no keys.

Quickstart

pip install -e ".[dev]" && pytest
python examples/quickstart.py
python examples/run_evals.py

Not a security boundary alone: also use a read-only DB role. *License: MIT with no-resale-as-template clause.