SelectStar.
Talk to your database in plain English.
An open-source agentic database analyst. Ask a question in plain English and six specialised agents write the SQL, profile the data, build the charts and run the models.
- Role
- Product, interface, front-end, agent UX
- Stack
- Next.js 16 · TypeScript · Prisma · SQLite / Postgres · Vega-Lite
- Status
- Live · Open source, MIT
- Live
- Visit SelectStar
SelectStar / landing screen
task success, versus ~72% for a ReAct loop
end-to-end, from question to streamed answer
fewer tokens through scoped agent context
agents under one graph orchestrator
01 / The problem
A chat box was the wrong shape.
Most AI data tools wrap a language model around a ReAct loop. The model decides which tool to call, over and over, until it thinks it is done. It is flexible, and it is exactly wrong for a database. Queries wander. Writes are gated by a prompt. A missing join can look like a confident answer.
- Unbounded reasoning is hard to diagnose when an answer is wrong.
- Write safety cannot depend on the model remembering a rule.
- Full history on every step makes latency and token cost climb.
02 / The build
A graph, not a loop.
SelectStar classifies intent before any SQL is written. The Router reads the question once, picks the agents that are actually needed, and hands them a deterministic path. EDA, Viz and ML fork-join in parallel after a SELECT. Synthesis is the only agent allowed to write prose. One retry on failure, then a clean error.
- The SQL agent is the only agent that can touch the database.
- Zen mode intercepts writes at the graph edge and waits for a person.
- Every turn leaves typed artifacts in the canvas: tables, charts, SQL, models.
03 / The interface
The answer is more than a paragraph.
A question about orders can produce a query, a profile, a chart and a forecast. We designed the canvas as a working surface, not a chat log. Each artifact is typed, exportable and sits beside the answer that references it. In Classic Mode, a spreadsheet and its in-memory SQLite tables are the same object, so editing a cell changes the next query live.
04 / The result
Discipline beats improvisation.
On the same questions, the graph completes more tasks, finishes almost twice as fast and spends fewer tokens than the ReAct baseline. More importantly, its failure modes are legible: an error has a place to live, and a write has a person in front of it.



The outcome
SelectStar is live and open source. The graph is the product: a small team can read the path an answer took, and a database owner can see exactly where a write stops.
