# mdalamin5/end-to-end-agentic-ai-automation-lab architecture

> Architecture diagram of the GitHub repository mdalamin5/end-to-end-agentic-ai-automation-lab, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mdalamin5/end-to-end-agentic-ai-automation-lab
- Repository: https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab

## Overview

This repository is an educational lab of independent agent, RAG, MCP, and deployment projects—not one application with a single end-to-end runtime. Its principal user-to-result pattern is task or chat input, model/agent orchestration with tools or retrieval, and a streamed or otherwise returned result; individual projects add persistence, memory, or human approval. The graph preserves the major documented capability branches and several concrete products. Relationships are limited to README statements and source-index references; unsampled projects are represented only at supported directory paths.

Main entry points: [`28-Intorduction-to-deep-and-Agents-Harness`](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/28-Intorduction-to-deep-and-Agents-Harness) (Agent harness), [`18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/00-vanila-catbot`](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/00-vanila-catbot) (Chat RAG), [`24-SynapseAI-parsitence-chatbot/app/api/chat.py`](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/24-SynapseAI-parsitence-chatbot/app/api/chat.py) (Synapse chat API), [`18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/04-Knowledge-based/rag_backend.py`](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/04-Knowledge-based/rag_backend.py) (PDF knowledge base)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_agent["Agent frameworks"]
  node_agent_harness["Agent harness"]
  node_langgraph["LangGraph workflows"]
  node_autogen["AutoGen teams"]
  node_hitl["Human approval"]
  node_deep_agents["Deep agents"]
end

subgraph group_retrieval["RAG and data"]
  node_rag_intro["RAG exercises"]
  node_vanilla_chat["Chat RAG"]
  node_chat_store[("Chat persistence<br/>[database.py]")]
  node_pdf_rag["PDF knowledge base<br/>[rag_backend.py]"]
  node_tool_chat["Tool-enabled chat"]
  node_production_rag["Production RAG"]
end

subgraph group_products["End-to-end products"]
  node_synapse_api["Synapse chat API<br/>[chat.py]"]
  node_synapse_memory["Long-term memory<br/>[memory_service.py]"]
  node_synapse_db[("Postgres and Redis<br/>[database.py]")]
  node_analyser["Data analyzer"]
  node_interviewer["AI interviewer"]
  node_ats["Production ATS"]
  node_blog_agents["Research and writing"]
end

subgraph group_platform["Serving and deployment"]
  node_llm_serving["vLLM serving"]
  node_finetuning["LoRA and Unsloth"]
end

subgraph group_extensions["MCP and automation"]
  node_mcp["MCP integrations"]
  node_mcp_servers["Custom MCP servers"]
  node_browser["Browser automation"]
  node_workflow_tools["n8n and LangFlow"]
end

node_user(("User"))
node_external_model{{"LLM provider"}}
node_web_tools{{"Web and APIs"}}

node_user -->|"submits task"| node_agent_harness
node_agent_harness -->|"builds context"| node_external_model
node_agent_harness -->|"runs tools"| node_web_tools
node_user -.->|"starts workflow"| node_langgraph
node_user -.->|"starts task"| node_autogen
node_user -.->|"asks question"| node_rag_intro
node_user -->|"sends message"| node_vanilla_chat
node_vanilla_chat -->|"loads threads"| node_chat_store
node_vanilla_chat -->|"ingests PDF"| node_pdf_rag
node_user -->|"uploads PDF"| node_pdf_rag
node_pdf_rag -->|"streams answer"| node_user
node_user -->|"asks question"| node_tool_chat
node_user -->|"sends chat"| node_production_rag
node_production_rag -->|"streams response"| node_user
node_user -.->|"sends chat"| node_synapse_api
node_synapse_api -->|"uses persistence"| node_synapse_db
node_synapse_api -->|"uses memory"| node_synapse_memory
node_synapse_memory -->|"reads and writes"| node_synapse_db
node_user -->|"requests analysis"| node_analyser
node_analyser -->|"configures model"| node_external_model
node_user -.->|"starts interview"| node_interviewer
node_user -.->|"submits candidate"| node_ats
node_user -.->|"requests article"| node_blog_agents
node_autogen -->|"uses MCP tools"| node_mcp
node_mcp -.->|"searches web"| node_web_tools
node_user -.->|"invokes service"| node_mcp_servers
node_agent_harness -.->|"automates browser"| node_browser
node_user -->|"builds workflows"| node_workflow_tools
node_user -.->|"requests inference"| node_llm_serving
node_finetuning -->|"prepares models"| node_llm_serving
node_hitl -->|"approves actions"| node_agent_harness
node_deep_agents -->|"uses framework"| node_langgraph

click node_agent_harness "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/28-Intorduction-to-deep-and-Agents-Harness"
click node_langgraph "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/03-LangGraph-Introduction"
click node_autogen "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/05-Autogen-Introduction"
click node_hitl "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/06-Autogen-HITL-and-Agentic-Orchestrator/01-Human-in-the-Loop"
click node_deep_agents "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/13-e2e-Project-Deep-Agents-With-LangGraph"
click node_rag_intro "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/02-LangChain-Basics"
click node_vanilla_chat "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/00-vanila-catbot"
click node_chat_store "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/00-vanila-catbot/src/database.py"
click node_pdf_rag "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/04-Knowledge-based/rag_backend.py"
click node_tool_chat "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/2.5-catbot-with-tools/langgraph_backend.py"
click node_production_rag "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/19-Productions-RAG/backend/app/graph"
click node_synapse_api "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/24-SynapseAI-parsitence-chatbot/app/api/chat.py"
click node_synapse_memory "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/24-SynapseAI-parsitence-chatbot/app/services/memory_service.py"
click node_synapse_db "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/24-SynapseAI-parsitence-chatbot/app/core/database.py"
click node_analyser "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/07-End-To-End-Projects-Autogen/01-analyser-GPT-Modular-architecture"
click node_interviewer "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/07-End-To-End-Projects-Autogen/02-Ai-Interviewer"
click node_ats "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/20-e2e-Productions-grade-ATS"
click node_blog_agents "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/23-e2e-multi-agent-plan-research-write-blog"
click node_mcp "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/10-MCP-All-You-Need"
click node_mcp_servers "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/11.5-Advanced-MCP-ownMCPs"
click node_browser "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/15-Browser-Automations-Through-AI-Agent"
click node_workflow_tools "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/04-LangGraph-Agentic-Workflows"
click node_llm_serving "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/21-LLM-Deployment-vLLM"
click node_finetuning "https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/22-LLM-FineTune-Deployment"

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_agent_harness,node_langgraph,node_autogen,node_hitl,node_deep_agents,node_user toneBlue
class node_rag_intro,node_vanilla_chat,node_chat_store,node_pdf_rag,node_tool_chat,node_production_rag toneAmber
class node_synapse_api,node_synapse_memory,node_synapse_db,node_analyser,node_interviewer,node_ats,node_blog_agents,node_web_tools toneMint
class node_llm_serving,node_finetuning toneRose
class node_mcp,node_mcp_servers,node_browser,node_workflow_tools,node_external_model toneIndigo
```

## Components

### Agent frameworks

- [Agent harness](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/28-Intorduction-to-deep-and-Agents-Harness): `28-Intorduction-to-deep-and-Agents-Harness`
- [LangGraph workflows](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/03-LangGraph-Introduction): `03-LangGraph-Introduction`
- [AutoGen teams](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/05-Autogen-Introduction): `05-Autogen-Introduction`
- [Human approval](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/06-Autogen-HITL-and-Agentic-Orchestrator/01-Human-in-the-Loop): `06-Autogen-HITL-and-Agentic-Orchestrator/01-Human-in-the-Loop`
- [Deep agents](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/13-e2e-Project-Deep-Agents-With-LangGraph): `13-e2e-Project-Deep-Agents-With-LangGraph`

### RAG and data

- [RAG exercises](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/02-LangChain-Basics): `02-LangChain-Basics`
- [Chat RAG](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/00-vanila-catbot): `18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/00-vanila-catbot`
- [Chat persistence](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/00-vanila-catbot/src/database.py): `18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/00-vanila-catbot/src/database.py`
- [PDF knowledge base](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/04-Knowledge-based/rag_backend.py): `18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/04-Knowledge-based/rag_backend.py`
- [Tool-enabled chat](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/2.5-catbot-with-tools/langgraph_backend.py): `18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/2.5-catbot-with-tools/langgraph_backend.py`
- [Production RAG](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/19-Productions-RAG/backend/app/graph): `19-Productions-RAG/backend/app/graph`

### End-to-end products

- [Synapse chat API](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/24-SynapseAI-parsitence-chatbot/app/api/chat.py): `24-SynapseAI-parsitence-chatbot/app/api/chat.py`
- [Long-term memory](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/24-SynapseAI-parsitence-chatbot/app/services/memory_service.py): `24-SynapseAI-parsitence-chatbot/app/services/memory_service.py`
- [Postgres and Redis](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/blob/main/24-SynapseAI-parsitence-chatbot/app/core/database.py): `24-SynapseAI-parsitence-chatbot/app/core/database.py`
- [Data analyzer](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/07-End-To-End-Projects-Autogen/01-analyser-GPT-Modular-architecture): `07-End-To-End-Projects-Autogen/01-analyser-GPT-Modular-architecture`
- [AI interviewer](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/07-End-To-End-Projects-Autogen/02-Ai-Interviewer): `07-End-To-End-Projects-Autogen/02-Ai-Interviewer`
- [Production ATS](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/20-e2e-Productions-grade-ATS): `20-e2e-Productions-grade-ATS`
- [Research and writing](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/23-e2e-multi-agent-plan-research-write-blog): `23-e2e-multi-agent-plan-research-write-blog`

### Serving and deployment

- [vLLM serving](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/21-LLM-Deployment-vLLM): `21-LLM-Deployment-vLLM`
- [LoRA and Unsloth](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/22-LLM-FineTune-Deployment): `22-LLM-FineTune-Deployment`

### MCP and automation

- [MCP integrations](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/10-MCP-All-You-Need): `10-MCP-All-You-Need`
- [Custom MCP servers](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/11.5-Advanced-MCP-ownMCPs): `11.5-Advanced-MCP-ownMCPs`
- [Browser automation](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/15-Browser-Automations-Through-AI-Agent): `15-Browser-Automations-Through-AI-Agent`
- [n8n and LangFlow](https://github.com/mdalamin5/end-to-end-agentic-ai-automation-lab/tree/main/04-LangGraph-Agentic-Workflows): `04-LangGraph-Agentic-Workflows`

### Other components

- **User**
- **LLM provider**
- **Web and APIs**

## Connections

- User → Agent harness: submits task (evidence: `README.md`)
- Agent harness → LLM provider: builds context (evidence: `README.md`)
- Agent harness → Web and APIs: runs tools (evidence: `README.md`)
- User → LangGraph workflows: starts workflow
- User → AutoGen teams: starts task
- User → RAG exercises: asks question
- User → Chat RAG: sends message (evidence: `18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/00-vanila-catbot/server.py`)
- Chat RAG → Chat persistence: loads threads (evidence: `18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/00-vanila-catbot/server.py`)
- Chat RAG → PDF knowledge base: ingests PDF (evidence: `18-e2e-chatbot-mem0-tools-HITL-MCP-RAG/00-vanila-catbot/server.py`)
- User → PDF knowledge base: uploads PDF
- PDF knowledge base → User: streams answer
- User → Tool-enabled chat: asks question
- User → Production RAG: sends chat
- Production RAG → User: streams response
- User → Synapse chat API: sends chat
- Synapse chat API → Postgres and Redis: uses persistence (evidence: `24-SynapseAI-parsitence-chatbot/app/api/chat.py`)
- Synapse chat API → Long-term memory: uses memory (evidence: `24-SynapseAI-parsitence-chatbot/app/api/chat.py`)
- Long-term memory → Postgres and Redis: reads and writes (evidence: `24-SynapseAI-parsitence-chatbot/app/services/memory_service.py`)
- User → Data analyzer: requests analysis (evidence: `07-End-To-End-Projects-Autogen/01-analyser-GPT-Modular-architecture/main.py`)
- Data analyzer → LLM provider: configures model (evidence: `07-End-To-End-Projects-Autogen/01-analyser-GPT-Modular-architecture/main.py`)
- User → AI interviewer: starts interview
- User → Production ATS: submits candidate
- User → Research and writing: requests article
- AutoGen teams → MCP integrations: uses MCP tools (evidence: `10-MCP-All-You-Need/build-mcp-for-web-serach/server.py`)
- MCP integrations → Web and APIs: searches web
- User → Custom MCP servers: invokes service
- Agent harness → Browser automation: automates browser
- User → n8n and LangFlow: builds workflows (evidence: `README.md`)
- User → vLLM serving: requests inference
- LoRA and Unsloth → vLLM serving: prepares models (evidence: `README.md`)
- Human approval → Agent harness: approves actions (evidence: `README.md`)
- Deep agents → LangGraph workflows: uses framework (evidence: `README.md`)
