# sajal2692/building_ai_agents_with_langgraph architecture

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

- Interactive diagram: https://gitdiagram.com/sajal2692/building_ai_agents_with_langgraph
- Repository: https://github.com/sajal2692/building_ai_agents_with_langgraph

## Overview

This repository is a hands-on course, not a shared application runtime: learners launch Jupyter and run individual notebooks to explore agent-building patterns. The notebooks cover a from-scratch ReAct agent, LangChain applications, LangGraph agents and chatbots, human approval and editing, planning, reflection, and financial-analysis multi-agent systems. Notebook contents were not provided, so the graph shows only the documented learner-to-notebook relationship; it does not infer internal calls or service integrations.

Main entry points: [`notebooks/module_2/lesson_1_and_2_react_agent_from_scratch.ipynb`](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_2/lesson_1_and_2_react_agent_from_scratch.ipynb) (ReAct from scratch), [`notebooks/module_4/lesson_1_llm_application_with_langchain.ipynb`](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_1_llm_application_with_langchain.ipynb) (LangChain application), [`notebooks/module_4/lesson_2_prebuilt_react_agent_with_langgraph.ipynb`](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_2_prebuilt_react_agent_with_langgraph.ipynb) (Prebuilt ReAct agent), [`notebooks/module_4/lesson_3_building_chatbot_agent_in_langgraph.ipynb`](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_3_building_chatbot_agent_in_langgraph.ipynb) (Agent chatbot)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Agent foundations"]
  node_react_scratch["ReAct from scratch"]
  node_langchain_app["LangChain application"]
end

subgraph group_langgraph["LangGraph agents"]
  node_prebuilt_react["Prebuilt ReAct agent"]
  node_chatbot["Agent chatbot"]
  node_approval["Human approval"]
  node_edit_actions["Edit agent actions"]
  node_wait_input["Wait for input"]
end

subgraph group_workflows["Agent workflows"]
  node_plan_execute["Plan and execute"]
  node_reflection["Reflection report"]
  node_financial_analysis["Financial analysis"]
end

node_learner(("Learner"))

node_learner -->|"runs"| node_react_scratch
node_learner -->|"runs"| node_langchain_app
node_learner -->|"runs"| node_prebuilt_react
node_learner -->|"runs"| node_chatbot
node_learner -->|"runs"| node_approval
node_learner -->|"runs"| node_edit_actions
node_learner -->|"runs"| node_wait_input
node_learner -->|"runs"| node_plan_execute
node_learner -->|"runs"| node_reflection
node_learner -->|"runs"| node_financial_analysis

click node_react_scratch "https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_2/lesson_1_and_2_react_agent_from_scratch.ipynb"
click node_langchain_app "https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_1_llm_application_with_langchain.ipynb"
click node_prebuilt_react "https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_2_prebuilt_react_agent_with_langgraph.ipynb"
click node_chatbot "https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_3_building_chatbot_agent_in_langgraph.ipynb"
click node_approval "https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_4_a_human_in_the_loop_approval.ipynb"
click node_edit_actions "https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_4_b_human_in_the_loop_edit_agent_actions.ipynb"
click node_wait_input "https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_4_c_human_in_the_loop_wait_for_input.ipynb"
click node_plan_execute "https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_6_plan_and_execute_system.ipynb"
click node_reflection "https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_7_reflection_report_writing_system.ipynb"
click node_financial_analysis "https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_8_multi_agent_system_financial_analysis.ipynb"

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_react_scratch,node_langchain_app toneBlue
class node_prebuilt_react,node_chatbot,node_approval,node_edit_actions,node_wait_input toneAmber
class node_plan_execute,node_reflection,node_financial_analysis toneMint
class node_learner toneIndigo
```

## Components

### Agent foundations

- [ReAct from scratch](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_2/lesson_1_and_2_react_agent_from_scratch.ipynb): `notebooks/module_2/lesson_1_and_2_react_agent_from_scratch.ipynb`
- [LangChain application](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_1_llm_application_with_langchain.ipynb): `notebooks/module_4/lesson_1_llm_application_with_langchain.ipynb`

### LangGraph agents

- [Prebuilt ReAct agent](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_2_prebuilt_react_agent_with_langgraph.ipynb): `notebooks/module_4/lesson_2_prebuilt_react_agent_with_langgraph.ipynb`
- [Agent chatbot](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_3_building_chatbot_agent_in_langgraph.ipynb): `notebooks/module_4/lesson_3_building_chatbot_agent_in_langgraph.ipynb`
- [Human approval](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_4_a_human_in_the_loop_approval.ipynb): `notebooks/module_4/lesson_4_a_human_in_the_loop_approval.ipynb`
- [Edit agent actions](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_4_b_human_in_the_loop_edit_agent_actions.ipynb): `notebooks/module_4/lesson_4_b_human_in_the_loop_edit_agent_actions.ipynb`
- [Wait for input](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_4_c_human_in_the_loop_wait_for_input.ipynb): `notebooks/module_4/lesson_4_c_human_in_the_loop_wait_for_input.ipynb`

### Agent workflows

- [Plan and execute](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_6_plan_and_execute_system.ipynb): `notebooks/module_4/lesson_6_plan_and_execute_system.ipynb`
- [Reflection report](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_7_reflection_report_writing_system.ipynb): `notebooks/module_4/lesson_7_reflection_report_writing_system.ipynb`
- [Financial analysis](https://github.com/sajal2692/building_ai_agents_with_langgraph/blob/main/notebooks/module_4/lesson_8_multi_agent_system_financial_analysis.ipynb): `notebooks/module_4/lesson_8_multi_agent_system_financial_analysis.ipynb`

### Other components

- **Learner**

## Connections

- Learner → ReAct from scratch: runs (evidence: `README.md`)
- Learner → LangChain application: runs (evidence: `README.md`)
- Learner → Prebuilt ReAct agent: runs (evidence: `README.md`)
- Learner → Agent chatbot: runs (evidence: `README.md`)
- Learner → Human approval: runs (evidence: `README.md`)
- Learner → Edit agent actions: runs (evidence: `README.md`)
- Learner → Wait for input: runs (evidence: `README.md`)
- Learner → Plan and execute: runs (evidence: `README.md`)
- Learner → Reflection report: runs (evidence: `README.md`)
- Learner → Financial analysis: runs (evidence: `README.md`)
