arxiv-2609-22917 SRC-0517 · paperAn Iterative LangGraph Agent for Text-to-SQL: Natural Language Access to the Chicago Crime Database
Created: 2026-09-19 · Ingested: 2026-10-17
https://arxiv.org/abs/2609.22917(opens in a new tab)Non-technical stakeholders frequently cannot write the SQL needed to extract insights from operational databases. We built and evaluated a Text-to-SQL agent that closes this gap end to end: a six-node LangGraph StateGraph checks question relevance, fetches the live schema, generates PostgreSQL, validates it with a dry run, retries on failure, executes the query, and narrates the result set in plain English. The agent uses prompt engineering only; no model was fine-tuned. We evaluated it on the Chicago Crime dataset (approximately 8.5 million records, 22 attributes) against a hand-built benchma
Referenced by
Claims in this catalog that draw on this source, and whether as support or counterpoint.