# mohammadshahidbeigh/agentic-ai-projects architecture

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

- Interactive diagram: https://gitdiagram.com/mohammadshahidbeigh/agentic-ai-projects
- Repository: https://github.com/mohammadshahidbeigh/agentic-ai-projects

## Overview

This repository is a collection of agentic-AI learning demos, not one integrated application. Its principal workflows take a user query or uploaded video through an agent or agent team to a response; a separate CrewAI demo researches a topic and generates an article. The graph also preserves the PDF/vector RAG and SQL-agent projects named in the tree. Evidence is limited to the README and indexed excerpts: SQL and notebook implementations were not sampled, and the LangGraph chat UI currently returns a placeholder response.

Main entry points: [`02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py`](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py) (PDF Assistant), [`06-Content-Generation with Crew AI/app.py`](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/06-Content-Generation%20with%20Crew%20AI/app.py) (Content CLI Demo), [`03-End-To-End-Video-Summarizer-Agentic-AI-With-Phidata-And-Google-Gemini/app.py`](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/03-End-To-End-Video-Summarizer-Agentic-AI-With-Phidata-And-Google-Gemini/app.py) (Video UI), [`06-Content-Generation with Crew AI/streamlit_app.py`](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/06-Content-Generation%20with%20Crew%20AI/streamlit_app.py) (Content UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_finance["Financial Agents"]
  node_market_cli["Market CLI<br/>[financial_agent.py]"]
  node_web_agent["Web Search Agent<br/>[financial_agent.py]"]
  node_finance_agent["Finance Agent<br/>[financial_agent.py]"]
  node_playground["Agent Playground<br/>[playground.py]"]
end

subgraph group_rag["Knowledge Retrieval"]
  node_pdf_cli["PDF Assistant<br/>[pdf_assistant.py]"]
  node_pdf_source["PDF Knowledge Base<br/>[pdf_assistant.py]"]
  node_vector_store[("Vector Store<br/>[pdf_assistant.py]")]
  node_chat_storage[("Chat Storage<br/>[pdf_assistant.py]")]
  node_langgraph_ui["RAG Chat UI<br/>[app.py]"]
  node_rag_notebook["RAG Notebook<br/>[agentic_rag.ipynb]"]
end

subgraph group_video["Video Analysis"]
  node_video_ui["Video UI<br/>[app.py]"]
  node_video_agent["Video Agent<br/>[app.py]"]
end

subgraph group_content["Content Generation"]
  node_content_ui["Content UI<br/>[streamlit_app.py]"]
  node_content_crew["Content Crew<br/>[streamlit_app.py]"]
  node_researcher["Research Analyst<br/>[streamlit_app.py]"]
  node_writer["Content Writer<br/>[streamlit_app.py]"]
  node_content_cli["Content CLI Demo<br/>[app.py]"]
end

subgraph group_sql["SQL Agent"]
  node_sql_agent["SQL Agent Demo"]
  node_employee_db[("Employee Databases<br/>[employee.db]")]
end

node_user(("User"))
node_market_tools["Market Data"]
node_web_search["Web Search"]
node_gemini_video["Gemini Video API"]
node_video_search["Web Search"]
node_content_user(("User"))
node_crew_search["Search Service"]

node_market_cli -->|"delegates to"| node_web_agent
node_market_cli -->|"delegates to"| node_finance_agent
node_web_agent -->|"searches"| node_web_search
node_finance_agent -->|"queries"| node_market_tools
node_playground -->|"registers"| node_finance_agent
node_playground -->|"registers"| node_web_agent
node_user -.->|"queries"| node_playground
node_user -->|"requests analysis"| node_market_cli
node_user -->|"asks questions"| node_pdf_cli
node_pdf_cli -->|"loads"| node_pdf_source
node_pdf_cli -->|"searches"| node_vector_store
node_pdf_cli -->|"stores history"| node_chat_storage
node_user -->|"uploads video"| node_video_ui
node_video_ui -->|"uploads video"| node_gemini_video
node_video_ui -->|"requests analysis"| node_video_agent
node_video_agent -->|"can search"| node_video_search
node_user -->|"submits query"| node_langgraph_ui
node_langgraph_ui -->|"shows placeholder"| node_user
node_user -->|"sets topic"| node_content_ui
node_content_ui -->|"starts generation"| node_content_crew
node_content_crew -->|"assigns research"| node_researcher
node_content_crew -->|"assigns writing"| node_writer
node_researcher -->|"searches"| node_crew_search
node_content_ui -->|"offers download"| node_user
node_content_cli -->|"creates agent"| node_researcher
node_content_cli -->|"creates agent"| node_writer
node_content_cli -->|"configures search"| node_crew_search
node_user -.->|"asks SQL question"| node_sql_agent
node_sql_agent -.->|"queries database"| node_employee_db

click node_market_cli "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/01-Financial-Agent-With-Phidata/financial_agent.py"
click node_web_agent "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/01-Financial-Agent-With-Phidata/financial_agent.py"
click node_finance_agent "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/01-Financial-Agent-With-Phidata/financial_agent.py"
click node_playground "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/01-Financial-Agent-With-Phidata/playground.py"
click node_pdf_cli "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py"
click node_pdf_source "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py"
click node_vector_store "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py"
click node_chat_storage "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py"
click node_video_ui "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/03-End-To-End-Video-Summarizer-Agentic-AI-With-Phidata-And-Google-Gemini/app.py"
click node_video_agent "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/03-End-To-End-Video-Summarizer-Agentic-AI-With-Phidata-And-Google-Gemini/app.py"
click node_langgraph_ui "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/04-Agentic%20RAG%20with%20Langgraphh/app.py"
click node_rag_notebook "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/04-Agentic%20RAG%20with%20Langgraphh/agentic_rag.ipynb"
click node_content_ui "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/06-Content-Generation%20with%20Crew%20AI/streamlit_app.py"
click node_content_crew "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/06-Content-Generation%20with%20Crew%20AI/streamlit_app.py"
click node_researcher "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/06-Content-Generation%20with%20Crew%20AI/streamlit_app.py"
click node_writer "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/06-Content-Generation%20with%20Crew%20AI/streamlit_app.py"
click node_content_cli "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/06-Content-Generation%20with%20Crew%20AI/app.py"
click node_sql_agent "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/05-Sql-Database-Agents%20with%20Langgraph/sql_agent_with_langgraph.ipynb"
click node_employee_db "https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/05-Sql-Database-Agents%20with%20Langgraph/employee.db"

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_market_cli,node_web_agent,node_finance_agent,node_playground,node_user,node_content_user toneBlue
class node_pdf_cli,node_pdf_source,node_vector_store,node_chat_storage,node_langgraph_ui,node_rag_notebook toneAmber
class node_video_ui,node_video_agent,node_gemini_video toneMint
class node_content_ui,node_content_crew,node_researcher,node_writer,node_content_cli toneRose
class node_sql_agent,node_employee_db,node_market_tools,node_web_search,node_video_search,node_crew_search toneIndigo
```

## Components

### Financial Agents

- [Market CLI](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/01-Financial-Agent-With-Phidata/financial_agent.py): `01-Financial-Agent-With-Phidata/financial_agent.py`
- [Web Search Agent](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/01-Financial-Agent-With-Phidata/financial_agent.py): `01-Financial-Agent-With-Phidata/financial_agent.py`
- [Finance Agent](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/01-Financial-Agent-With-Phidata/financial_agent.py): `01-Financial-Agent-With-Phidata/financial_agent.py`
- [Agent Playground](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/01-Financial-Agent-With-Phidata/playground.py): `01-Financial-Agent-With-Phidata/playground.py`

### Knowledge Retrieval

- [PDF Assistant](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py): `02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py`
- [PDF Knowledge Base](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py): `02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py`
- [Vector Store](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py): `02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py`
- [Chat Storage](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py): `02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py`
- [RAG Chat UI](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/04-Agentic%20RAG%20with%20Langgraphh/app.py): `04-Agentic RAG with Langgraphh/app.py`
- [RAG Notebook](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/04-Agentic%20RAG%20with%20Langgraphh/agentic_rag.ipynb): `04-Agentic RAG with Langgraphh/agentic_rag.ipynb`

### Video Analysis

- [Video UI](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/03-End-To-End-Video-Summarizer-Agentic-AI-With-Phidata-And-Google-Gemini/app.py): `03-End-To-End-Video-Summarizer-Agentic-AI-With-Phidata-And-Google-Gemini/app.py`
- [Video Agent](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/03-End-To-End-Video-Summarizer-Agentic-AI-With-Phidata-And-Google-Gemini/app.py): `03-End-To-End-Video-Summarizer-Agentic-AI-With-Phidata-And-Google-Gemini/app.py`

### Content Generation

- [Content UI](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/06-Content-Generation%20with%20Crew%20AI/streamlit_app.py): `06-Content-Generation with Crew AI/streamlit_app.py`
- [Content Crew](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/06-Content-Generation%20with%20Crew%20AI/streamlit_app.py): `06-Content-Generation with Crew AI/streamlit_app.py`
- [Research Analyst](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/06-Content-Generation%20with%20Crew%20AI/streamlit_app.py): `06-Content-Generation with Crew AI/streamlit_app.py`
- [Content Writer](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/06-Content-Generation%20with%20Crew%20AI/streamlit_app.py): `06-Content-Generation with Crew AI/streamlit_app.py`
- [Content CLI Demo](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/06-Content-Generation%20with%20Crew%20AI/app.py): `06-Content-Generation with Crew AI/app.py`

### SQL Agent

- [SQL Agent Demo](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/05-Sql-Database-Agents%20with%20Langgraph/sql_agent_with_langgraph.ipynb): `05-Sql-Database-Agents with Langgraph/sql_agent_with_langgraph.ipynb`
- [Employee Databases](https://github.com/mohammadshahidbeigh/agentic-ai-projects/blob/main/05-Sql-Database-Agents%20with%20Langgraph/employee.db): `05-Sql-Database-Agents with Langgraph/employee.db`

### Other components

- **User**
- **Market Data**
- **Web Search**
- **Gemini Video API**
- **Web Search**
- **User**
- **Search Service**

## Connections

- Market CLI → Web Search Agent: delegates to (evidence: `01-Financial-Agent-With-Phidata/financial_agent.py`)
- Market CLI → Finance Agent: delegates to (evidence: `01-Financial-Agent-With-Phidata/financial_agent.py`)
- Web Search Agent → Web Search: searches (evidence: `01-Financial-Agent-With-Phidata/financial_agent.py`)
- Finance Agent → Market Data: queries (evidence: `01-Financial-Agent-With-Phidata/financial_agent.py`)
- Agent Playground → Finance Agent: registers (evidence: `01-Financial-Agent-With-Phidata/playground.py`)
- Agent Playground → Web Search Agent: registers (evidence: `01-Financial-Agent-With-Phidata/playground.py`)
- User → Agent Playground: queries
- User → Market CLI: requests analysis (evidence: `01-Financial-Agent-With-Phidata/financial_agent.py`)
- User → PDF Assistant: asks questions (evidence: `02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py`)
- PDF Assistant → PDF Knowledge Base: loads (evidence: `02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py`)
- PDF Assistant → Vector Store: searches (evidence: `02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py`)
- PDF Assistant → Chat Storage: stores history (evidence: `02-Multi-Agentic-AI-RAG-With-Vector-Database/pdf_assistant.py`)
- User → Video UI: uploads video (evidence: `03-End-To-End-Video-Summarizer-Agentic-AI-With-Phidata-And-Google-Gemini/app.py`)
- Video UI → Gemini Video API: uploads video (evidence: `03-End-To-End-Video-Summarizer-Agentic-AI-With-Phidata-And-Google-Gemini/app.py`)
- Video UI → Video Agent: requests analysis (evidence: `03-End-To-End-Video-Summarizer-Agentic-AI-With-Phidata-And-Google-Gemini/app.py`)
- Video Agent → Web Search: can search (evidence: `03-End-To-End-Video-Summarizer-Agentic-AI-With-Phidata-And-Google-Gemini/app.py`)
- User → RAG Chat UI: submits query (evidence: `04-Agentic RAG with Langgraphh/app.py`)
- RAG Chat UI → User: shows placeholder (evidence: `04-Agentic RAG with Langgraphh/app.py`)
- User → Content UI: sets topic (evidence: `06-Content-Generation with Crew AI/streamlit_app.py`)
- Content UI → Content Crew: starts generation (evidence: `06-Content-Generation with Crew AI/streamlit_app.py`)
- Content Crew → Research Analyst: assigns research (evidence: `06-Content-Generation with Crew AI/streamlit_app.py`)
- Content Crew → Content Writer: assigns writing (evidence: `06-Content-Generation with Crew AI/streamlit_app.py`)
- Research Analyst → Search Service: searches (evidence: `06-Content-Generation with Crew AI/streamlit_app.py`)
- Content UI → User: offers download (evidence: `06-Content-Generation with Crew AI/streamlit_app.py`)
- Content CLI Demo → Research Analyst: creates agent (evidence: `06-Content-Generation with Crew AI/app.py`)
- Content CLI Demo → Content Writer: creates agent (evidence: `06-Content-Generation with Crew AI/app.py`)
- Content CLI Demo → Search Service: configures search (evidence: `06-Content-Generation with Crew AI/app.py`)
- User → SQL Agent Demo: asks SQL question
- SQL Agent Demo → Employee Databases: queries database
