Skip to content
Conference

MANA (Modular Agentic NoSQL Architecture): Robust NL-to-NoSQL Querying at Enterprise Scale

Jul 2026 · Annual International Computer Software and Applications Conference · pp. 1-10 · 0 citations · 27 references
Computer Science

Abstract

Databases are a crucial part of modern information systems, but interacting with them has traditionally required users to have some level of expertise in formal query languages. This barrier prevents non-technical users from getting the most out of the data that is stored. In this work, we propose a robust production oriented natural language interface that enables users to query document oriented Not Only SQL (NoSQL) databases (MongoDB) using natural language without requiring knowledge of complex query syntax. Unlike NL-to-SQL approaches, NL-to-MongoDB translation must handle evolving, nested document schemas and multi-stage aggregation pipelines, making schemaconsistent query generation and appropriate operator selection (e.g., match, group, lookup) error-prone. Our system addresses this via a modular agent pipeline comprising a Query Builder, Query Runner, and Response Synthesizer, combined with dual dynamic retrieval of relevant schema fragments and similar examples. This architecture allows for self-correction and efficient query generation at the enterprise scale. We evaluate our system on public NL-to-MongoDB benchmarks, including DocSpider and TEND, as well as proprietary datasets. Across DocSpider and TEND, our pipeline improves execution accuracy over prior baselines by up to 40% on DocSpider and 23% on TEND. These findings highlight the potential of our approach as an accessible and effective solution for natural language querying of document oriented NoSQL databases.

View source

Similar papers

#artificial intelligence Preprint Sep 2026

A Cost-Aware Agentic Architecture for NL-to-SQL over Nested Enterprise Schemas, with a New Benchmark

Natural-language-to-SQL systems have ad- vanced rapidly on academic benchmarks, yet production enterprise schemas exhibit graph- like, semi-structured, deeply nested structure that current benchmarks do not measure. We make two complementary contributions. First, we introduce the DevRev NL2SQL bench- mark: 900 executio...

Yoga Sri Varshan Varadharajan, Ajay Yadav, Ritesh Goru et al. · 0 citations
Open access May 2026

SafeQL: Search-based Refinement for Safe and Efficient LLM-based Text-to-SQL

SafeQL is proposed, a search-based refinement paradigm that redefines the role of the DBMS as an active guide in the refinement process, and significantly improves execution accuracy and efficiency compared to regeneration-based methods.

Geonho Lee, Min-Soo Kim · 0 citations

MedSQLX: Translation of Medical Queries into UDF-Centric SQL

An agentic framework that leverages Large Language Models (LLMs) for generating UDF-centric queries from natural language task descriptions in the medical domain is presented, demonstrating that structured tool orchestration with verification loops substantially improves generation quality.

Catlynh Nguyen · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.