Skip to content

Latest commit

Β 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AtlasMind banner

AtlasMind

Talk to your data. Get production-ready insights in <200 ms.

Live Demo

GitHub Stars License Node


Why AtlasMind

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.


Tech Stack (Shields)

Frontend

React Vite React Router TanStack Query Tailwind CSS Framer Motion Recharts Axios

Backend

Node.js Express MongoDB JWT Multer Jest

AI and Speech

Groq Llama 3.3 70B Kimi K2 Llama 3.1 Instant Whisper Safety Guard

DevOps and CI

GitHub Actions Docker Netlify Render


What Makes It Different

  • 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.

Architecture Snapshot

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
Loading

Documentation Portal

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

Model Roster

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

Author

Lakshman Bhukya
Full-Stack Developer and AI Enthusiast

GitHub


Built with focus

About

AtlasMind is a Natural Language to Mql Generation specially for MongoDb, Built with the help of Groq LPU for model Calling

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Contributors

Languages