RubikSQL-HB: Agentic Text-to-SQL with Knowledge in the Loop
On the map: LLM agents and tool use → Web, search, and research agents
Abstract (arXiv)
Database agents need more than schema structure: business meanings, stored values and reference queries supply knowledge that becomes relevant at different points in reasoning. We introduce RubikSQL-HB, which exposes these materials through queryable, database-specific knowledge workspaces built on the HeavenBase platform. Its knowledge interface remains available as an agent constructs and investigates an answer. Candidate agents interleave knowledge access with SQL construction and execution; a downstream Judge can reuse the same interfaces to investigate disagreements. A two-stage example interface separates discovering a reference question from expanding its SQL. On a 500-question BIRD Mini-Dev evaluation, the full pipeline reaches 75.2% execution accuracy, against 71.2% for first-candidate selection and 70.4% for execution-majority voting, with a correct candidate available on 79.0% of questions. The raw-knowledge condition, which also regenerates candidates without the built workspace, is 3.0 points lower, and adjudication with tools and revision accounts for most of the gain over selection baselines. A recorded execution probe shows how continued investigation resolves a candidate disagreement. Separate archived runs show semantic revision recovering answers absent from their original candidate pools. A versioned development study further illustrates how recurring corrections become reusable execution checks. The system and results connect knowledge-interface design to agent decision quality: queryable knowledge supports the construction of useful alternatives, and evidence-aware adjudication connects those alternatives to a final answer. Keeping knowledge in the loop lets agents acquire relevant observations as their reasoning develops.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 26 of its 27 references that are in the map. Submitted 24 Nov 2026, announced 25 Nov 2026.
Builds on
26 of 27 references.
Closest ancestors · 4
Same direction, newest first
- 2025RubikSQL: Lifelong Learning Agentic Knowledge Base as an Industrial NL2SQL System25 Aug
- 2025ReFoRCE: A Text-to-SQL Agent with Self-Refinement, Consensus Enforcement, and Column Exploration2 Feb
- 2024MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQL15 Aug
- 2023MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQL18 Dec
Other references · 22
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,205
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 747
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 503
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 446
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 432
- 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 407
- 2024Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflowscited by 267
- 2019Towards Complex Text-to-SQL in Cross-Domain Database with Intermediate Representationcited by 216
- 2023RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQLcited by 204
- 2024CHESS: Contextual Harnessing for Efficient SQL Synthesiscited by 181
- 2023C3: Zero-shot Text-to-SQL with ChatGPTcited by 172
10 more
- 2024CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQLcited by 151
- 2020Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsingcited by 139
- 2020Semantic Evaluation for Text-to-SQL with Distilled Test Suitescited by 137
- 2020SmBoP: Semi-autoregressive Bottom-up Semantic Parsingcited by 99
- 2018Robust Text-to-SQL Generation with Execution-Guided Decodingcited by 57
- 2024RSL-SQL: Robust Schema Linking in Text-to-SQL Generationcited by 55
- 2025XiYan-SQL: A Novel Multi-Generator Framework For Text-to-SQLcited by 47
- 2026PV-SQL: Synergizing Database Probing and Rule-based Verification for Text-to-SQL Agentscited by 7
- 2026DPC: Training-Free Text-to-SQL Candidate Selection via Dual-Paradigm Consistencycited by 6
- 2026Replacing Training with Memory: Listwise Selection for Text-to-SQLcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026QUIETT: Query-Independent Table Transformation for Robust Reasoning
- 2026A Cost-Aware Agentic Architecture for NL-to-SQL over Nested Enterprise Schemas, with a New Benchmark
- 2025RAISE: Reasoning Agent for Interactive SQL Exploration
- 2026A Semantic-Layer-Mediated Agent for Natural Language to SQL over Heterogeneous Enterprise Databases
- 2026APEX-SQL: Talking to the data via Agentic Exploration for Text-to-SQL
- 2026AgentSM: Semantic Memory for Agentic Text-to-SQL
- 2025AGENTIQL: An Agent-Inspired Multi-Expert Framework for Text-to-SQL Generation
- 2025JudgeSQL: Reasoning over SQL Candidates with Weighted Consensus Tournament