GraphLens AI System Architecture

GraphLens AI System Architecture An architecture diagram generated by Archify. Client Web UI · Chat dashboard & file manager · Architecture component Client Web UI Chat dashboard & file manager Ingest Controller · POST /api/ingest/ & /upload/ · Controller Tier (Django REST) · Multipart Parser Ingest Controller POST /api/ingest/ & /upload/ Multipart Parser Chat Controller · POST /api/chat/ (DRF) · Controller Tier (Django REST) · Session & Tenant Scoped Chat Controller POST /api/chat/ (DRF) Session & Tenant Scoped File Controller · GET /api/files/, DELETE :id · Controller Tier (Django REST) File Controller GET /api/files/, DELETE :id Ingestion Pipeline · PyMuPDF & TextSplitter · Architecture component · Chunk & Embed Ingestion Pipeline PyMuPDF & TextSplitter Chunk & Embed LangGraph Supervisor · Intent routing & state coordination · LangGraph Multi-Agent Orchestration Layer · Supervisor Node LangGraph Supervisor Intent routing & state coordination Supervisor Node Document RAG Agent · Tenant-scoped vector retrieval · LangGraph Multi-Agent Orchestration Layer · RAG Specialist Document RAG Agent Tenant-scoped vector retrieval RAG Specialist Web Researcher Agent · Autonomous search & scrape loop · LangGraph Multi-Agent Orchestration Layer · ReAct Loop Web Researcher Agent Autonomous search & scrape loop ReAct Loop Workspace File Agent · File CRUD & auto re-indexing · LangGraph Multi-Agent Orchestration Layer · Auto-sync Index Workspace File Agent File CRUD & auto re-indexing Auto-sync Index Email Dispatch Agent · Attachment resolution & SMTP · LangGraph Multi-Agent Orchestration Layer · Sender Auth Email Dispatch Agent Attachment resolution & SMTP Sender Auth LLM Inference Engine · Groq Llama-3.3 / Local Ollama · Architecture component LLM Inference Engine Groq Llama-3.3 / Local Ollama Web Search & Scrape · DuckDuckGo API & Jina Reader · Architecture component Web Search & Scrape DuckDuckGo API & Jina Reader SMTP Relay Server · Central relay with Reply-To · Architecture component · TLS :587 SMTP Relay Server Central relay with Reply-To TLS :587 Vector Database · Pinecone Serverless / ChromaDB · Persistence & Repository Layer · Embeddings Index Vector Database Pinecone Serverless / ChromaDB Embeddings Index File Storage Vault · AWS S3 Bucket & Local Media Cache · Persistence & Repository Layer · Prefix users/{id}/ File Storage Vault AWS S3 Bucket & Local Media Cache Prefix users/{id}/ Relational Database · SQLite / PostgreSQL (Django ORM) · Persistence & Repository Layer · UserFile Model Relational Database SQLite / PostgreSQL (Django ORM) UserFile Model User Query (POST /chat) Upload PDF File Actions Extract & Split Index Chunks Invoke Workflow Workspace File Ops RAG Intent Web Intent File Intent Email Intent Scoped Query Synthesize Response Search & Scrape Web Summary CRUD Bytes Sync UserFile Tool ReAct Loop Auto-sync Vectors Deliver Mail Read Attachment Extract Params Controller Tier (Django REST) LangGraph Multi-Agent Orchestration Layer Persistence & Repository Layer Legend Frontend Backend Database Cloud External