Project case study

ProactiveAI — Enterprise NL-to-SQL Platform

Conversational analytics platform that lets business teams ask questions in plain English and get verified SQL queries and interactive charts across 300+ ERP tables.

Outcome

Cut new client onboarding from weeks to ~12 minutes, improved table-retrieval accuracy by +20.9% (0.950 MRR), and reduced context noise by 30%.

  1. Business question
  2. Generate SQLSelect relevant tables and proven joins
    Approved schema knowledgeHuman-reviewed table and join evidence
  3. Check querySQL validation and role permissions
  4. ERP databaseExecute the checked query
  5. Answer and chartUse rows returned by the database
Fig. 01 / Simplified system architecture

The schema knowledge guides table and join selection. The connected ERP database executes the checked SQL and returns the rows used for the answer and chart.

Engineering details

Problem

Across hundreds of ERP tables, basic search pulled dozens of irrelevant tables per question—leading to wrong joins, unreliable answers, and weeks of manual setup for each new client.

Approach

Built an automated schema-knowledge pipeline that maps business terms to verified table joins, combines hybrid search with strict SQL safety guardrails, and enforces human review before publishing.

Implementation

Schema-commitment solver (slot coverage + proven join graphs), 13-agent LangGraph knowledge pipeline with HITL staging/publication gates, Celery/MySQL vector outbox syncing per-tenant Qdrant hybrid search (dense + BM25 RRF), MetaKB catalog sync with advisory locks, and sqlglot AST/RBAC guardrails.

Technology stack

All projects

Dharshan Athiaman’s résumé

Résumé page 1 of 2. Skills, professional experience, and projects.Résumé page 2 of 2. Publications, grants, and education.