Skip to content
nebourocketPublic

Latest commit

Β 

History

87 Commits

Folders and files

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

Repository files navigation

LLUMINAI Hero Banner

🧠 LLUMINAI β€” Advanced LLM & Agentic AI Research Lab

Comprehensive, Reproducible Research Playground for LLM Pretraining, Knowledge Graph RAG, Multi-Agent LangGraph Architectures, & ColPali Visual Retrieval.

Overview β€’ Research Modules β€’ Code Architecture β€’ System Pipeline β€’ Structure β€’ Quick Start β€’ License

Python 3.11+ PyTorch LangGraph FastAPI Docker License


πŸ“Œ Overview

LLUMINAI is an extensive, reproducible experimental laboratory containing 20+ specialized modules exploring the frontier of Large Language Models and Autonomous AI Agents. Covering everything from scratch transformer pretraining and scaling law dynamics to stateful LangGraph multi-agent coordination, GraphRAG knowledge structures, ColPali vision-language multi-vector retrieval, and quantitative RAGAS evaluation.


✨ Research Modules & Capabilities

Module Primary Focus Outcome & Real Proof
πŸš€ LLM Pretraining & Scaling Modules 11–13, 16 Scratch tokenization, causal transformer pretraining loops, and empirical compute scaling analysis
πŸ•ΈοΈ Knowledge Graph & Advanced RAG Modules 25, 34, 42, 43 GraphRAG entity-relationship extraction, Memo-RAG memory hierarchies, and cache-optimized vector search
πŸ‘οΈ ColPali Visual Document RAG Module 34 Multi-vector patch-level visual embedding for dense charts, tables, and complex PDF layouts
πŸ€– Multi-Agent Orchestration Modules 5, 6, 30, 36 Stateful LangGraph multi-agent cyclic graphs with SQLite checkpoints, human-in-the-loop, and tool routing
🎬 Multimodal VLM & Video Analysis Modules 27, 53 Vision-language keyframe reasoning, automated semantic video cutting, and narrative arc deconstruction
βš–οΈ RAGAS Quantitative Evaluation Modules 28, 29, 48 Automated evaluation of faithfulness, answer relevancy, context recall, and reinforcement fine-tuning logs

πŸ”¬ Code Architecture & Implementation

πŸ“ Technical Highlights Across Core Modules

  • 5_2025_11_21_langgraph/main.py: Builds stateful StateGraph(AgentState) workflows connecting research agents, tool execution nodes (ToolNode), and conditional router edges with SQLite-backed thread checkpoints (SqliteSaver).
  • 34_2026_1_28_colpali_rag/: Implements vision-based multi-vector document retrieval using ColPali / Byaldi architectures, indexing raw PDF page image tokens directly without brittle OCR text extraction.
  • 25_2026_1_7_graphrag/: Extracts entity-relation triplets using structured LLM schemas and builds query-time sub-graph communities for global semantic synthesis.
  • 53_2026_3_11_vlm_video_cut/: Combines OpenCV frame difference metrics with Vision-Language Models to detect scene boundaries and generate timestamped editing EDL cuts.
  • Container Infrastructure (Dockerfile, docker-compose.yml): Unified PyTorch + CUDA development stack with mounted live volume mapping and automated environment bootstrapping.

πŸ“Š System Pipeline

graph TD
  subgraph Ingestion [πŸ“š Multimodal Ingestion Layer]
    Doc[πŸ“„ Complex PDFs / Excel] --> ColPali[πŸ‘οΈ ColPali Visual Vectorizer]
    Text[πŸ“ Raw Texts & Transcripts] --> Graph[πŸ•ΈοΈ GraphRAG Entity Builder]
    Video[πŸ“Ή Video MP4] --> VLM[🎬 VLM Semantic Scene Cutter]
  end

  subgraph Reasoning [🧠 Multi-Agent LangGraph Core]
    ColPali & Graph & VLM --> Storage[(πŸ—„οΈ Hybrid Vector & Knowledge Graph DB)]
    Storage --> Orchestrator[πŸšͺ LangGraph StateGraph Orchestrator]
    Orchestrator --> AgentA[πŸ€– Researcher Agent]
    Orchestrator --> AgentB[✍️ Synthesis & Code Agent]
  end

  subgraph Validation [βš–οΈ Quantitative Benchmark]
    AgentA & AgentB --> RAGAS[πŸ“Š RAGAS Evaluation Engine]
    RAGAS --> Output((πŸ† Verified Scientific Output))
  end

  classDef primary fill:#a855f7,stroke:#7c3aed,stroke-width:2px,color:#fff;
  classDef accent fill:#38bdf8,stroke:#0284c7,stroke-width:2px,color:#fff;
  classDef gold fill:#f59e0b,stroke:#d97706,stroke-width:2px,color:#fff;
  class Ingestion,Storage primary;
  class Orchestrator,AgentA,AgentB accent;
  class RAGAS,Output gold;
Loading

πŸ“ Repository Directory Layout

lluminai/
β”œβ”€β”€ πŸ“ assets/                 # High-resolution SVG banners
β”‚   └── 🎨 hero.svg
β”œβ”€β”€ πŸ“ 1_2025_11_7_deep_ideation...    # Autonomous research idea generator
β”œβ”€β”€ πŸ“ 5_2025_11_21_langgraph...       # Stateful multi-agent graph workflows
β”œβ”€β”€ πŸ“ 11_2025_12_5_llm_pretraining_1..# Scratch causal transformer training
β”œβ”€β”€ πŸ“ 25_2026_1_7_graphrag...         # Knowledge graph RAG implementation
β”œβ”€β”€ πŸ“ 34_2026_1_28_colpali_rag...     # Multi-vector vision-language RAG
β”œβ”€β”€ πŸ“ 53_2026_3_11_vlm_video_cut...   # Vision-language video segmentation
β”œβ”€β”€ 🐳 Dockerfile & docker-compose.yml # Containerized GPU environment
└── πŸ“„ README.md                       # Complete research documentation

πŸš€ Quick Start

1. Docker Compose (GPU Accelerated)

# 1. Start GPU-accelerated workspace
docker compose up -d

# 2. Access JupyterLab environment at http://localhost:8888

2. Standalone Module Execution

# Navigate to specific experimental module
cd 5_2025_11_21_langgraph
pip install -r requirements.txt
python main.py

Released under the MIT License. Crafted with ❀️ by LoNebula

Releases

Packages

Contributors

Languages