AtlasMind is a conversational BI platform for MongoDB that combines:
- Natural language analytics
- Voice-to-insight pipelines
- Read-only safety enforcement
- Fast chart-first exploration
You ask a question in plain English. AtlasMind profiles schema context, generates aggregation logic, validates it for safety, executes the query, and returns a visual answer with explanation.
- Schema-aware prompting: generated pipelines are grounded in profiled collection/field metadata.
- Safety-first query execution: blocked stages/operators are rejected before execution.
- Session-based security: httpOnly JWT cookie for protected analytics routes.
- Voice-to-query support: upload audio and get chartable results in one flow.
- Persistent dashboard pins: save and refresh important query snapshots.
flowchart TD
subgraph CLIENT["π₯οΈ Client Layer"]
direction TB
U("π€ User")
UI("β‘ React + Vite UI")
VOICE("ποΈ Voice Upload")
PIN("π Pin to Dashboard")
end
subgraph GATEWAY["π API Gateway Β· Express + JWT"]
direction TB
AUTH("π Auth Β· httpOnly Cookie")
ROUTE("π Route Β· /query /voice /pin")
SCHEMA("ποΈ Schema Profiler Β· Field & Collection Metadata")
FEWSHOT("π§ Few-Shot Retriever Β· Cosine Similarity")
end
subgraph AI["π€ AI Pipeline Β· Groq LPU"]
direction TB
LLM("β‘ LLM Β· gpt-oss-120b / compound / qwen3.8")
GUARD("π‘οΈ Safety Guard Β· Read-Only Enforcer")
WHISPER("π§ Whisper Β· whisper-large-v3-turbo")
end
subgraph DATA["ποΈ Data Layer Β· MongoDB"]
direction TB
AGG("βοΈ Aggregation Executor")
RESULT("π Charts + Explanation")
DASH("ποΈ Dashboard Store")
end
U -- "Text Query" --> UI
U -- "Audio File" --> VOICE
UI --> AUTH
VOICE --> AUTH
AUTH --> ROUTE
ROUTE --> SCHEMA
SCHEMA --> FEWSHOT
FEWSHOT --> LLM
VOICE -- "Buffer" --> WHISPER
WHISPER -- "Transcript" --> LLM
LLM --> GUARD
GUARD -- "β
Safe MQL" --> AGG
GUARD -- "π« Blocked" --> ROUTE
AGG --> RESULT
RESULT --> UI
RESULT --> PIN
PIN --> DASH
classDef clientNode fill:#1e293b,stroke:#6366f1,color:#e2e8f0,rx:8
classDef gatewayNode fill:#1e293b,stroke:#0ea5e9,color:#e2e8f0,rx:8
classDef aiNode fill:#1e293b,stroke:#f59e0b,color:#e2e8f0,rx:8
classDef dataNode fill:#1e293b,stroke:#22c55e,color:#e2e8f0,rx:8
class U,UI,VOICE,PIN clientNode
class AUTH,ROUTE,SCHEMA,FEWSHOT gatewayNode
class LLM,GUARD,WHISPER aiNode
class AGG,RESULT,DASH dataNode
| Guide | Purpose |
|---|---|
| Architecture | System design, flows, and technical patterns |
| Setup | Local installation and configuration |
| Features | Product capabilities and usage ideas |
| API | Endpoint contracts and response shapes |
| Development | Workflow, tests, and conventions |
| Deployment | Netlify + Render deployment path |
| Troubleshooting | Common failures and fixes |
AtlasMind supports dynamic model switching from the chat UI. The active Groq model lineup is:
| Model | Provider | Role | Speed |
|---|---|---|---|
openai/gpt-oss-120b |
OpenAI Community | Default β flagship precision MQL generation & schema reasoning | Balanced |
openai/gpt-oss-20b |
OpenAI Community | Lightweight ultra-fast MQL prototyping | Fastest |
groq/compound |
Groq Labs | Multi-model agentic router with safety validation | Sub-150ms |
qwen/qwen3.8-27b |
Alibaba Cloud | Frontier coder architecture for complex nested Mongo queries | Fast |
qwen/qwen3.6-27b |
Alibaba Cloud | Structured data reasoning for relational joins and aggregations | Fast |
whisper-large-v3-turbo |
OpenAI | Voice transcription (audio β text) | Realtime |
Lakshman Bhukya
Full-Stack Developer and AI Enthusiast
