📞 +91-7667918914 | ✉️ iarjset@gmail.com
International Advanced Research Journal in Science, Engineering and Technology
International Advanced Research Journal in Science, Engineering and Technology A Monthly Peer-Reviewed Multidisciplinary Journal
ISSN Online 2393-8021ISSN Print 2394-1588Since 2014
IARJSET aligns to the suggestive parameters by the latest University Grants Commission (UGC) for peer-reviewed journals, committed to promoting research excellence, ethical publishing practices, and a global scholarly impact.
← Back to VOLUME 13, ISSUE 4, APRIL 2026

Multi-Agent Orchestration for Enhanced Text-to-SQL Generation: A Schema-Aware Approach with Self-Correction

Vijay M. Rakhade, Parth Gosavi, Chirag Kotkar, Pranav Kashmire, Siddharth Tripathi

👁 1 view📥 0 downloads
Share: 𝕏 f in ✈ ✉
Abstract: The unification of the functionality of databases and natural language processing Databases has traditionally only provided a means to be able to write SQL queries, however there is an ongoing challenge of converting NL (Natural Language) queries into Structured Query Language(SQL) [1].However, LLMs have significant challenges in handling complex schema structures and long-range dependencies, as well as a tendency toward structural hallucination [3]. This paper presents a novel multi-agent architecture based on LangGraph with the aim to close the gap between NL and SQL through specialized decomposed reasoning [7]. Our implemented system incorporates a robust AST-based Self- Correction loop [19], a query planning agent for chain-of-thought reasoning, and a semantic-aware Schema Linking Agent using Sentence Transformers. The Schema Linking Agent alone achieves (94.0%), according to experimental results on 50 examples from the Spider benchmark. Execution Accuracy: +2.0 percentage points better than the monolithic zero-shot baseline (92.0%). With an average correction rate of 0.06, the complete four-phase system achieves 88.0% EX, indicating that chain-of-thought planning significantly lowers structural hallucinations. Semantic value mapping, dynamic schema discovery, and query complexity routing are identified as crucial paths for future enterprise deployment by a thorough gap analysis. [10], [11].

Keywords: Text-to-SQL, Multi-Agent Systems, Large Language Models, Schema Evolution, Self-Correction, Vector Search, Cross-Database Reasoning.

How to Cite:

[1] Vijay M. Rakhade, Parth Gosavi, Chirag Kotkar, Pranav Kashmire, Siddharth Tripathi, “Multi-Agent Orchestration for Enhanced Text-to-SQL Generation: A Schema-Aware Approach with Self-Correction,” International Advanced Research Journal in Science, Engineering and Technology (IARJSET), DOI: 10.17148/IARJSET.2026.13418

Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License.