Remix.run Logo
Show HN: Building a SQL analyst agent from scratch(raminmousavi.dev)
6 points by ramin2nt2 a day ago

I built a SQL analyst agent based on a simple idea: generating SQL is not the same as doing analysis.

Most text-to-SQL tools stop at producing a query. But real analysis is iterative. You explore the schema, run queries, adjust, and refine.

This project tries to model that loop instead of treating a query as the final output.

I wrote about the approach, challenges, and tradeoffs here: https://raminmousavi.dev/blog/building-a-sql-analyst-agent

Github repo: https://github.com/raminious/sql-analyst-ai-agent