# nssachinnagpal/ai-engineering-hub architecture

> Architecture diagram of the GitHub repository nssachinnagpal/ai-engineering-hub, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nssachinnagpal/ai-engineering-hub
- Repository: https://github.com/nssachinnagpal/ai-engineering-hub

## Overview

AI Engineering Hub is a curated collection of independent AI projects, not one integrated runtime. Its user journey is to choose a project by difficulty or topic, study its implementation, and adapt it; the README describes a progression from beginner examples through intermediate workflows to advanced systems. The graph therefore maps representative project offerings and the major documented capability areas rather than implying calls between projects. Source excerpts cover only a few projects, so internal links for unsampled projects are omitted.

Main entry points: [`notebook-lm-clone/app.py`](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/app.py) (NotebookLM App), [`notebook-lm-clone/src/generation/rag.py`](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/generation/rag.py) (Notebook RAG), [`notebook-lm-clone/src/document_processing/doc_processor.py`](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/document_processing/doc_processor.py) (Document Processing), [`biotech-agentic-analyst/flow/science_flow.py`](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/biotech-agentic-analyst/flow/science_flow.py) (Biotech Analyst)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Learning Path"]
  node_beginner["Beginner Projects"]
  node_intermediate["Intermediate Projects"]
  node_advanced["Advanced Projects"]
end

subgraph group_rag["RAG Projects"]
  node_simple_rag["Document Chat RAG<br/>[app.py]"]
  node_github_rag["GitHub RAG<br/>[app.py]"]
  node_agentic_rag["Agentic RAG<br/>[app.py]"]
  node_deepseek_rag["DeepSeek Agentic RAG"]
  node_notebook_app["NotebookLM App<br/>[app.py]"]
  node_notebook_rag["Notebook RAG<br/>[rag.py]"]
  node_notebook_docs["Document Processing<br/>[doc_processor.py]"]
  node_notebook_embed["Embedding Generation"]
  node_notebook_store[("Milvus Vector DB")]
  node_notebook_audio["Audio Transcription"]
  node_notebook_youtube["YouTube Transcription"]
  node_notebook_memory[("Memory Layer<br/>[memory_layer.py]")]
  node_notebook_web["Web Scraping<br/>[web_scraper.py]"]
end

subgraph group_agents["Agents &amp; Workflows"]
  node_context_workflow["Context Engineering<br/>[flow.py]"]
  node_multi_research["Deep Research<br/>[flow.py]"]
  node_biotech["Biotech Analyst<br/>[science_flow.py]"]
  node_biotech_state["Analysis State<br/>[state.py]"]
  node_biotech_models["Extracted Figures<br/>[models.py]"]
  node_ocr_pipeline["Paper OCR<br/>[pipeline.py]"]
end

subgraph group_media["Media &amp; Other AI"]
  node_notebook_script["Podcast Scripting"]
  node_notebook_tts["Text to Speech<br/>[text_to_speech.py]"]
  node_podcast_generation["Podcast Generation"]
  node_audio_analysis["Audio Analysis<br/>[app.py]"]
  node_latex_ocr["LaTeX OCR<br/>[app.py]"]
end

node_learner(("Learner"))

node_learner -->|"start with"| node_beginner
node_learner -->|"progress to"| node_intermediate
node_learner -->|"then explore"| node_advanced
node_beginner -->|"offers example"| node_simple_rag
node_beginner -->|"offers example"| node_github_rag
node_beginner -->|"offers example"| node_latex_ocr
node_intermediate -->|"offers example"| node_agentic_rag
node_intermediate -->|"offers example"| node_deepseek_rag
node_intermediate -->|"offers example"| node_notebook_app
node_intermediate -->|"offers example"| node_audio_analysis
node_advanced -->|"offers example"| node_biotech
node_notebook_app -->|"uses"| node_notebook_docs
node_notebook_app -->|"uses"| node_notebook_rag
node_notebook_app -->|"uses"| node_notebook_embed
node_notebook_app -->|"uses"| node_notebook_store
node_notebook_app -->|"uses"| node_notebook_audio
node_notebook_app -->|"uses"| node_notebook_youtube
node_notebook_app -->|"uses"| node_notebook_memory
node_notebook_app -->|"uses"| node_notebook_web
node_notebook_app -->|"uses"| node_notebook_script
node_notebook_app -->|"uses"| node_notebook_tts
node_notebook_rag -->|"uses"| node_notebook_docs
node_notebook_rag -->|"uses"| node_notebook_embed
node_notebook_rag -->|"uses"| node_notebook_store
node_notebook_web -->|"uses"| node_notebook_docs
node_notebook_script -->|"uses"| node_notebook_docs
node_notebook_tts -->|"uses"| node_notebook_script
node_biotech -->|"uses"| node_biotech_state
node_biotech -->|"analyzes OCR output"| node_ocr_pipeline
node_ocr_pipeline -->|"produces figures"| node_biotech_models

click node_simple_rag "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/document-chat-rag/app.py"
click node_github_rag "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/github-rag/app.py"
click node_agentic_rag "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/agentic_rag/app.py"
click node_deepseek_rag "https://github.com/nssachinnagpal/ai-engineering-hub/tree/main/agentic_rag_deepseek/src/agentic_rag"
click node_notebook_app "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/app.py"
click node_notebook_rag "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/generation/rag.py"
click node_notebook_docs "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/document_processing/doc_processor.py"
click node_notebook_embed "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/embeddings/embedding_generator.py"
click node_notebook_store "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/vector_database/milvus_vector_db.py"
click node_notebook_audio "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/audio_processing/audio_transcriber.py"
click node_notebook_youtube "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/audio_processing/youtube_transcriber.py"
click node_notebook_memory "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/memory/memory_layer.py"
click node_notebook_web "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/web_scraping/web_scraper.py"
click node_notebook_script "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/podcast/script_generator.py"
click node_notebook_tts "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/podcast/text_to_speech.py"
click node_context_workflow "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/context-engineering-workflow/src/workflows/flow.py"
click node_multi_research "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/multiplatform_deep_researcher/flow.py"
click node_biotech "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/biotech-agentic-analyst/flow/science_flow.py"
click node_biotech_state "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/biotech-agentic-analyst/flow/state.py"
click node_biotech_models "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/biotech-agentic-analyst/models.py"
click node_ocr_pipeline "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/biotech-agentic-analyst/mistral_ocr_pipeline/pipeline.py"
click node_podcast_generation "https://github.com/nssachinnagpal/ai-engineering-hub/tree/main/ai-podcast-generation/src/podcast"
click node_audio_analysis "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/audio-analysis-toolkit/app.py"
click node_latex_ocr "https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/LaTeX-OCR-with-Llama/app.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_beginner,node_intermediate,node_advanced toneBlue
class node_simple_rag,node_github_rag,node_agentic_rag,node_deepseek_rag,node_notebook_app,node_notebook_rag,node_notebook_docs,node_notebook_embed,node_notebook_store,node_notebook_audio,node_notebook_youtube,node_notebook_memory,node_notebook_web toneAmber
class node_context_workflow,node_multi_research,node_biotech,node_biotech_state,node_biotech_models,node_ocr_pipeline toneMint
class node_notebook_script,node_notebook_tts,node_podcast_generation,node_audio_analysis,node_latex_ocr toneRose
class node_learner toneIndigo
```

## Components

### Learning Path

- **Beginner Projects**
- **Intermediate Projects**
- **Advanced Projects**

### RAG Projects

- [Document Chat RAG](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/document-chat-rag/app.py): `document-chat-rag/app.py`
- [GitHub RAG](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/github-rag/app.py): `github-rag/app.py`
- [Agentic RAG](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/agentic_rag/app.py): `agentic_rag/app.py`
- [DeepSeek Agentic RAG](https://github.com/nssachinnagpal/ai-engineering-hub/tree/main/agentic_rag_deepseek/src/agentic_rag): `agentic_rag_deepseek/src/agentic_rag`
- [NotebookLM App](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/app.py): `notebook-lm-clone/app.py`
- [Notebook RAG](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/generation/rag.py): `notebook-lm-clone/src/generation/rag.py`
- [Document Processing](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/document_processing/doc_processor.py): `notebook-lm-clone/src/document_processing/doc_processor.py`
- [Embedding Generation](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/embeddings/embedding_generator.py): `notebook-lm-clone/src/embeddings/embedding_generator.py`
- [Milvus Vector DB](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/vector_database/milvus_vector_db.py): `notebook-lm-clone/src/vector_database/milvus_vector_db.py`
- [Audio Transcription](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/audio_processing/audio_transcriber.py): `notebook-lm-clone/src/audio_processing/audio_transcriber.py`
- [YouTube Transcription](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/audio_processing/youtube_transcriber.py): `notebook-lm-clone/src/audio_processing/youtube_transcriber.py`
- [Memory Layer](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/memory/memory_layer.py): `notebook-lm-clone/src/memory/memory_layer.py`
- [Web Scraping](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/web_scraping/web_scraper.py): `notebook-lm-clone/src/web_scraping/web_scraper.py`

### Agents & Workflows

- [Context Engineering](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/context-engineering-workflow/src/workflows/flow.py): `context-engineering-workflow/src/workflows/flow.py`
- [Deep Research](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/multiplatform_deep_researcher/flow.py): `multiplatform_deep_researcher/flow.py`
- [Biotech Analyst](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/biotech-agentic-analyst/flow/science_flow.py): `biotech-agentic-analyst/flow/science_flow.py`
- [Analysis State](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/biotech-agentic-analyst/flow/state.py): `biotech-agentic-analyst/flow/state.py`
- [Extracted Figures](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/biotech-agentic-analyst/models.py): `biotech-agentic-analyst/models.py`
- [Paper OCR](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/biotech-agentic-analyst/mistral_ocr_pipeline/pipeline.py): `biotech-agentic-analyst/mistral_ocr_pipeline/pipeline.py`

### Media & Other AI

- [Podcast Scripting](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/podcast/script_generator.py): `notebook-lm-clone/src/podcast/script_generator.py`
- [Text to Speech](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/notebook-lm-clone/src/podcast/text_to_speech.py): `notebook-lm-clone/src/podcast/text_to_speech.py`
- [Podcast Generation](https://github.com/nssachinnagpal/ai-engineering-hub/tree/main/ai-podcast-generation/src/podcast): `ai-podcast-generation/src/podcast`
- [Audio Analysis](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/audio-analysis-toolkit/app.py): `audio-analysis-toolkit/app.py`
- [LaTeX OCR](https://github.com/nssachinnagpal/ai-engineering-hub/blob/main/LaTeX-OCR-with-Llama/app.py): `LaTeX-OCR-with-Llama/app.py`

### Other components

- **Learner**

## Connections

- Learner → Beginner Projects: start with (evidence: `README.md`)
- Learner → Intermediate Projects: progress to (evidence: `README.md`)
- Learner → Advanced Projects: then explore (evidence: `README.md`)
- Beginner Projects → Document Chat RAG: offers example (evidence: `README.md`)
- Beginner Projects → GitHub RAG: offers example (evidence: `README.md`)
- Beginner Projects → LaTeX OCR: offers example (evidence: `README.md`)
- Intermediate Projects → Agentic RAG: offers example (evidence: `README.md`)
- Intermediate Projects → DeepSeek Agentic RAG: offers example (evidence: `README.md`)
- Intermediate Projects → NotebookLM App: offers example (evidence: `README.md`)
- Intermediate Projects → Audio Analysis: offers example (evidence: `README.md`)
- Advanced Projects → Biotech Analyst: offers example (evidence: `README.md`)
- NotebookLM App → Document Processing: uses (evidence: `notebook-lm-clone/app.py`)
- NotebookLM App → Notebook RAG: uses (evidence: `notebook-lm-clone/app.py`)
- NotebookLM App → Embedding Generation: uses (evidence: `notebook-lm-clone/app.py`)
- NotebookLM App → Milvus Vector DB: uses (evidence: `notebook-lm-clone/app.py`)
- NotebookLM App → Audio Transcription: uses (evidence: `notebook-lm-clone/app.py`)
- NotebookLM App → YouTube Transcription: uses (evidence: `notebook-lm-clone/app.py`)
- NotebookLM App → Memory Layer: uses (evidence: `notebook-lm-clone/app.py`)
- NotebookLM App → Web Scraping: uses (evidence: `notebook-lm-clone/app.py`)
- NotebookLM App → Podcast Scripting: uses (evidence: `notebook-lm-clone/app.py`)
- NotebookLM App → Text to Speech: uses (evidence: `notebook-lm-clone/app.py`)
- Notebook RAG → Document Processing: uses (evidence: `notebook-lm-clone/src/generation/rag.py`)
- Notebook RAG → Embedding Generation: uses (evidence: `notebook-lm-clone/src/generation/rag.py`)
- Notebook RAG → Milvus Vector DB: uses (evidence: `notebook-lm-clone/src/generation/rag.py`)
- Web Scraping → Document Processing: uses (evidence: `notebook-lm-clone/src/web_scraping/web_scraper.py`)
- Podcast Scripting → Document Processing: uses (evidence: `notebook-lm-clone/src/podcast/script_generator.py`)
- Text to Speech → Podcast Scripting: uses (evidence: `notebook-lm-clone/src/podcast/text_to_speech.py`)
- Biotech Analyst → Analysis State: uses (evidence: `biotech-agentic-analyst/flow/science_flow.py`)
- Biotech Analyst → Paper OCR: analyzes OCR output (evidence: `biotech-agentic-analyst/app.py`)
- Paper OCR → Extracted Figures: produces figures (evidence: `biotech-agentic-analyst/mistral_ocr_pipeline/pipeline.py`)
