How youssefhosni/hands-on-langchain works
This repository is a hands-on educational collection, not a single deployed application: the learner runs chapter notebooks to explore LangChain and related tools. The chapters cover model I/O, document-based QA, agents, memory, and tracing, among other topics. The README identifies the chapter capabilities and sample-data usage; the prompt file documents its use by the email and memory chapters. Notebook internals were not excerpted, so the graph shows documented entry points and relationships rather than inferred runtime pipelines.
Main entry points: prompts.py Shared Prompts · data Sample Data · 17-baseline-email-agent.ipynb Email Agent · 18-semantic-memory.ipynb Semantic Memory
Components 22
LLM Foundations
Document QA
- Document Loading
notebooks/06-document-loading.ipynb - Document Splitting
notebooks/07-document-splitting.ipynb - Vector Retrieval
notebooks/08-vector-stores-and-retrieval.ipynb - Document QA
notebooks/09-question-answering-over-documents.ipynb - Sample Data
data
Agents and Memory
- Building Agents
notebooks/11-building-agents.ipynb - Agentic Web Search
notebooks/12-agentic-web-search.ipynb - Persistence and Streaming
notebooks/13-persistence-and-streaming.ipynb - Human in Loop
notebooks/14-human-in-the-loop.ipynb - Multi-Agent Essays
notebooks/15-multi-agent-essay-writer.ipynb - Email Agent
notebooks/17-baseline-email-agent.ipynb - Semantic Memory
notebooks/18-semantic-memory.ipynb - Episodic Memory
notebooks/19-episodic-memory.ipynb - Procedural Memory
notebooks/20-procedural-memory.ipynb - Shared Prompts
notebooks/prompts.py
Evaluation and Observability
- Evaluation
notebooks/05-evaluation.ipynb - LangSmith Tracing
notebooks/22-tracing-with-langsmith.ipynb - Playground and Prompts
notebooks/23-playground-and-prompts-hub.ipynb
Other components
- Learner
Connections 25
- Learner → Model I/O: runs
README.md - Learner → Chains: runs
README.md - Learner → Memory: runs
README.md - Learner → Document Loading: runs
README.md - Learner → Document Splitting: runs
README.md - Learner → Vector Retrieval: runs
README.md - Learner → Document QA: runs
README.md - Learner → Building Agents: runs
README.md - Learner → Agentic Web Search: runs
README.md - Learner → Persistence and Streaming: runs
README.md - Learner → Human in Loop: runs
README.md - Learner → Multi-Agent Essays: runs
README.md - Learner → Email Agent: runs
README.md - Learner → Semantic Memory: runs
README.md - Learner → Episodic Memory: runs
README.md - Learner → Procedural Memory: runs
README.md - Learner → Evaluation: runs
README.md - Learner → LangSmith Tracing: runs
README.md - Learner → Playground and Prompts: runs
README.md - Sample Data → Document Loading: provides examples
README.md - Sample Data → Document QA: provides examples
README.md - Email Agent → Shared Prompts: imports prompts
notebooks/prompts.py - Semantic Memory → Shared Prompts: imports prompts
notebooks/prompts.py - Episodic Memory → Shared Prompts: imports prompts
notebooks/prompts.py - Procedural Memory → Shared Prompts: imports prompts
notebooks/prompts.py