DocMind Architecture

Research · data analysis · cross-doc reasoning

100% README
Entry
User
Browser session
Frontend
Next.js + BFF
React 19 · Clerk · SSE client
Backend
FastAPI
REST + Server-Sent Events
Control plane
Intent Router
Heuristic + LLM classify

✦ AI Services click to collapse

▾
Agent
Research Agent
Service
Retrieval
Service
Embeddings
Service
Prompt Builder
Service
Memory
Pipeline
Summarization
Outline · MMR · map-reduce
Pipeline
Quiz Agent
Context · Topic scopes
Transport
Streaming
Agent
Data Analysis
Tables · Charts · Insights
External
OpenRouter
Gemini 2.5
External
OpenAI
Embeddings
External
Qdrant
Chunks + Nodes
External
MongoDB
State & history
External
Cloudinary
PDF binaries
Output
Response
SSE → UI
Drag to pan · Scroll to zoom · Click a node for details · Collapse AI Services to focus the stack