← Projects
StellarMIND — Chat-to-SQL with RAG

Live Application Interface
Problem
Business users need to query databases without knowing SQL. Existing tools lack context-aware query generation and safety guarantees.
Business Impact
Data democratization requires non-technical users to access insights without engineering bottlenecks. Raw LLM-to-SQL is unreliable. RAG with schema context fixes this.
System Approach
- Spring Boot MCP server with Tool interface for executeDataQuery
- pgvector for storing schema knowledge chunks and embeddings
- Spring AI for LLM integration (provider-agnostic — works with OpenAI, Anthropic, etc.)
- Chain-of-Thought (CoT) web interface for query debugging and transparency
- Read-only SQL enforcement via query parsing (only SELECT, WITH allowed)
Key Decisions & Trade-offs
- Read-only restriction limits use cases but ensures database safety
- pgvector requires PostgreSQL — not database-agnostic, but worth the trade-off
- MCP transport (stdio) over HTTP for better AI assistant integration
- Separate stellarmind-server and stellarmind-client for modularity
Current Status
Core query flow working. CoT UI functional. Newman test suite passing.
Roadmap
- Add support for streaming responses
- Implement query history and favorites
- Add schema auto-discovery
What I'd Improve Next
- Could add query result visualization
- Consider supporting multiple database connections
Work with me on an AI system
If you need help building or integrating a system like StellarMIND — Chat-to-SQL with RAG, choose the scope that fits your team:
- Hire a Forward Deployed Engineer (AI) — Work embedded with your users and engineers, from workflow discovery through integration, evaluation and rollout.
- Freelance AI Engineer & AI Architect — Scope an AI feature or reserve ongoing engineering time for architecture, implementation, evaluation and handover.
Explore More
- ClinicAI — WhatsApp AI Clinic Assistant — India has 12 lakh+ small clinics running on phone calls and paper diaries.
- MicroItinerary — AI Travel Planner — Travel apps optimize for proximity and ratings.
- SanatanApp — Hindu Devotional App — Devotional users in India juggle 5+ separate apps for Chalisa, Gita, Aarti, Ramayan, and Mahabharat.
- SynFlow — Enterprise Intelligence Platform — Private deal networks rely on manual introductions and spreadsheets.
- All 47 projects — the full catalogue, with live links and repos.