Building a Text-to-SQL Agent That Actually Works on Enterprise Data
LLMs score 85%+ on public SQL benchmarks but collapse to 39–61% on real enterprise schemas. I built a multi-stage data agent for a life insurance data warehouse to close that gap — here’s what 18 months of iteration taught me about why the approach matters more than the model.