Built and run by one person.

What are the common mistakes when building text-to-SQL agents?

From over a year of live, multi-user text-to-SQL projects, the recurring mistakes and their fixes:

Result across projects: cost per 100 queries from $20+ to under $2, latency from 2 min+ to 10-30s, error rate from ~30% to under 5%. Full writeup: https://www.tigzig.com/post/mistakes-i-made-building-text-to-sql-agents-live-projects-2025-learnings. Live open-source app: https://www.tigzig.com/analyzer. Field guides: https://www.tigzig.com/database-landing.

Building something like this? How I work covers the rates, the availability and what I take on.

← All Agents FAQ