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