πŸ“ž +91-7667918914 | βœ‰οΈ ijarcce@gmail.com
International Journal of Advanced Research in Computer and Communication Engineering
International Journal of Advanced Research in Computer and Communication Engineering A monthly Peer-reviewed & Refereed journal
ISSN Online 2278-1021ISSN Print 2319-5940Since 2012
IJARCCE adheres to the suggestive parameters outlined by the University Grants Commission (UGC) for peer-reviewed journals, upholding high standards of research quality, ethical publishing, and academic excellence.
← Back to VOLUME 15, 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

πŸ‘ 9 viewsπŸ“₯ 1 download
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). However, LLMs have significant challenges in handling complex schema structures and long-range dependencies, as well as a tendency toward structural hallucination. 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. Our implemented system incorporates a robust AST-based Self-Correction loop, a query planning agent for chain-of-thought reasoning, and a semantic-aware Schema Linking Agent using Sentence Transformers. Experimental results on 100 examples from the Spider benchmark show that the complete four-phase system (Model C) achieves the highest Execution Accuracy at 76.0%, outperforming the monolithic zero-shot baseline (63.0%) by +13.0 percentage points. The Schema Linking Agent alone (Model A) achieves 73.0% EX, while the addition of the AST-based Self-Correction loop (Model B) reaches 75.0% EX with an average correction rate of 0.16. Semantic value mapping, dynamic schema discovery, and query complexity routing are identified as crucial paths for future enterprise deployment by a thorough gap analysis.

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 Journal of Advanced Research in Computer and Communication Engineering (IJARCCE), DOI: 10.17148/IJARCCE.2026.154272

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