Hidden GemsAgents & tools

LuthorSQL: A One-Pass Text-to-SQL Model as System 1 for a Slower LLM Agent

Ibrahim Memon, Armin Karamzade, M. Hanif Jhaveri et al. · 2026 · arXiv:2611.17780

Why it's a gem

  • Code is public (github.com/IAMIbrahimmemon/luthorsql, 1 star)
  • Concrete results in the abstract (68.03%, 3.1 points, 33.3%)
  • Clear method and findings
  • Useful to people building AI products (Agents & tools)
  • From academic or independent labs (University of California, Irvine)
  • Only 5 upvotes on Hugging Face Papers

Abstract

From the arXiv abstract, may be trimmed

Frontier LLM agents that query databases with tools are among the most accurate text-to-SQL systems, but per-query calls to a hosted model are slow, costly, and expose sensitive organizational queries to external APIs. For example, a Claude Opus 5.5 agent serving 10,000 queries a day costs over 70,000 a year at list price. To what extent can local hardware already owned by an organization offload this burden without compromising the agent's accuracy? We present LuthorSQL, a non-autoregressive 7B text-to-SQL model that serves as a rapid System 1 gate for a slower LLM agent (System 2), escalating queries only when uncertain.

Ask the paper

Answers come from the paper summary and abstract.

Ask anything about “LuthorSQL: A One-Pass Text-to-SQL Model as System 1 for a Slower LLM Agent”, or start with one of these:

Closest matches across the feed and every collection, by shared words in titles, topics and abstracts.