How youssefamdouni/genai-agent-starter works
This is a hands-on collection of LangChain and LangGraph learning examples, not one integrated application. Its workflows demonstrate prompt/model/parser and memory use, chained and retrieval-based Q&A, tool-using conversations, and increasingly capable graph agents—including persistence, human approval, data analysis, product recommendations, and multi-agent document drafting. Each script is a separate runnable example. Edges reflect only relationships visible in the excerpts or README; some specialized behavior is represented at the script level because its implementation was not fully sampled.
Main entry points: L6_Multi_Agents.py Research and drafting · L3-QnA-over-docs.py Document Q&A · L5_Recommnedation_Agent.py Product recommender · L1_building_simple_agent.py Simple graph agent
Components 20
LangChain examples
- Models and memory
01-LangChain-for-LLM-Application-Development-main/L1-Model_prompt_parser_memory.py - Prompt chains
01-LangChain-for-LLM-Application-Development-main/L2-Chains.py - Tool agents
01-LangChain-for-LLM-Application-Development-main/L4-Agents.py
Retrieval and conversation
- Document Q&A
01-LangChain-for-LLM-Application-Development-main/L3-QnA-over-docs.py - Clothing catalog
01-LangChain-for-LLM-Application-Development-main/ClothingCatalog.csv - Conversational agent
01-LangChain-for-LLM-Application-Development-main/L5_Conversational_Agent.py
LangGraph agents
- Simple graph agent
02-Agents-LangGraph/L1_building_simple_agent.py - Persistent-memory agent
02-Agents-LangGraph/L2_sync_memory.py - Human-reviewed agent
02-Agents-LangGraph/L3_human_in_the_loop.py
Specialized workflows
- Data analyst agent
02-Agents-LangGraph/L4_Data_Analyst_Agent.py - Product recommender
02-Agents-LangGraph/L5_Recommnedation_Agent.py - Product dataset
02-Agents-LangGraph/amazon-products.pkl - Research and drafting
02-Agents-LangGraph/L6_Multi_Agents.py - Design document
02-Agents-LangGraph/AIGenerated/design_document.md
Other components
- Learner
- LLM service
- Web search
- Vector index
- SQLite checkpoint
- Pinecone index
Connections 29
- Learner → Models and memory: runs examples
README.md - Learner → Prompt chains: runs examples
README.md - Learner → Document Q&A: asks questions
01-LangChain-for-LLM-Application-Development-main/L3-QnA-over-docs.py - Clothing catalog → Document Q&A: loads rows
01-LangChain-for-LLM-Application-Development-main/L3-QnA-over-docs.py - Document Q&A → Vector index: indexes documents
01-LangChain-for-LLM-Application-Development-main/L3-QnA-over-docs.py - Document Q&A → LLM service: queries model
01-LangChain-for-LLM-Application-Development-main/L3-QnA-over-docs.py - Learner → Conversational agent: chats with
01-LangChain-for-LLM-Application-Development-main/L5_Conversational_Agent.py - Clothing catalog → Conversational agent: builds catalog index
01-LangChain-for-LLM-Application-Development-main/L5_Conversational_Agent.py - Conversational agent → LLM service: calls model
01-LangChain-for-LLM-Application-Development-main/L5_Conversational_Agent.py - Learner → Tool agents: submits query
01-LangChain-for-LLM-Application-Development-main/L4-Agents.py - Tool agents → LLM service: invokes agent
01-LangChain-for-LLM-Application-Development-main/L4-Agents.py - Learner → Simple graph agent: submits query
02-Agents-LangGraph/L1_building_simple_agent.py - Simple graph agent → Web search: invokes tool
02-Agents-LangGraph/L1_building_simple_agent.py - Simple graph agent → LLM service: invokes model
02-Agents-LangGraph/L1_building_simple_agent.py - Learner → Persistent-memory agent: submits query
02-Agents-LangGraph/L2_sync_memory.py - Persistent-memory agent → SQLite checkpoint: checkpoints state
02-Agents-LangGraph/L2_sync_memory.py - Persistent-memory agent → Web search: invokes tool
02-Agents-LangGraph/L2_sync_memory.py - Learner → Human-reviewed agent: submits query
02-Agents-LangGraph/L3_human_in_the_loop.py - Human-reviewed agent → LLM service: invokes model
02-Agents-LangGraph/L3_human_in_the_loop.py - Learner → Data analyst agent: asks analysis
02-Agents-LangGraph/L4_Data_Analyst_Agent.py - Data analyst agent → LLM service: invokes model
02-Agents-LangGraph/L4_Data_Analyst_Agent.py - Learner → Product recommender: requests products
02-Agents-LangGraph/L5_Recommnedation_Agent.py - Product recommender → Pinecone index: searches products
02-Agents-LangGraph/L5_Recommnedation_Agent.py - Product dataset → Product recommender: loads product data
- Product recommender → LLM service: uses model
- Learner → Research and drafting: requests document
02-Agents-LangGraph/L6_Multi_Agents.py - Research and drafting → Web search: searches research
02-Agents-LangGraph/L6_Multi_Agents.py - Research and drafting → LLM service: generates and critiques
02-Agents-LangGraph/L6_Multi_Agents.py - Research and drafting → Design document: saves draft
02-Agents-LangGraph/L6_Multi_Agents.py