ADA: the math arm for LLMs

⭐ Star ADA if it saves you an afternoon ·
Try it in the browser ·
Docs ·
What's new in 0.8.0
Read this in 中文 · 日本語 · 한국어 · Español · Português · Deutsch · Français · Русский
ADA (Automated Data Analyst) is the part of a language model that does the
math. Point it at CSV or Excel data and ask in plain words: it computes the
answer with pandas, SciPy and statsmodels and returns the number with its
calculation and the rows behind it, or refuses with the reason. It checks
numbers stated about the data too: verified, or unverified with the reason
and the one question that would settle it.
A model never has to do arithmetic in its head again. That helps Claude and
Codex, and it helps open-source models most: a small local model run with
Ollama, llama.cpp, vLLM or LM Studio only has to pick the tool and read the
answer. ADA is a Python package, a command line and a set of tool
definitions any model with function calling can use.
pip install automated-data-analyst # Python 3.11 or newer
Give a language model a math arm
Chat with a local model. With Ollama running:
ollama pull qwen3:1.7b # any model with tool calling works
ada chat penguins.csv # ask in plain words; the model asks ADA for every number
$ ada chat penguins.csv
ADA chat: qwen3:1.7b at http://localhost:11434/v1, reading penguins.csv. Ask about the data; Ctrl-D or 'exit' leaves.
> Which species has the longest bills on average?
ADA ada_ask(path="penguins.csv", question="average bill_length_mm by species")
-> answered: Chinstrap has the highest average bill_length_mm of any species, at 48.83 (n = 68). The species groups do differ (Welch ANOVA, p < 0.001; η² = 0.71). Based on the 342 rows with bill_length_mm recorded, of 344 rows. Each: Chinstrap 48.83; Gentoo 47.50; Adelie 38.79.
The species with the longest average bill length is **Chinstrap**, with an average of **48.83 mm** (n = 68). This result is based on the mean calculation of `bill_length_mm` grouped by species, sorted in descending order. The data spans 342 rows, and the values are as follows:
- **Chinstrap**: 48.83 mm
- **Gentoo**: 47.50 mm
- **Adelie**: 38.79 mm
The p-value indicates significant differences between species (p < 0.001), confirming the observed trends.
The model, 1.4 GB on four processor cores with no GPU, picked the tool; ADA
computed every number and showed how. Each tool call and its result are
printed above the answer.
Add ADA to an app that takes MCP servers: LM Studio, Jan, Claude Desktop,
Cursor, VS Code, Cline and others. Put this in its mcp.json:
{"mcpServers": {"ada": {"command": "uvx", "args": ["automated-data-analyst", "mcp"]}}}