Electoral Analyst Bot
A LangGraph agent that answers natural-language questions about Mexican elections (2018–2024). Intent router, LLM SQL generation, semantic validation guards, an iterative corrector, and an evaluation suite over a PostgreSQL star schema (~1.2M rows). The guards reject incorrect SQL before it runs — deterministic quality control on top of an LLM.