NirDiamant/GenAI_Agents
50+ tutorials and implementations for Generative AI Agent techniques, from basic conversational bots to complex multi-agent systems.
About NirDiamant/GenAI_Agents
NirDiamant/GenAI_Agents is an open-source project on GitHub, mainly written in Jupyter Notebook. 50+ tutorials and implementations for Generative AI Agent techniques, from basic conversational bots to complex multi-agent systems. It currently holds 25,129 stars and 4,205 forks with 21 open issues, and was last pushed on 2026-11-24 (repository created 2024-09-09).
Project Overview
AI Homed tracks it on the Today's Trending board, currently at rank #72 with 8 new stars today.
GitHub Repository Details
README
_AI Agents Made Simple_ reached #1 in Software Development, Software Engineering and Software Design Tools on Amazon.com's Kindle Store.
A decision guide to building AI agents that work: 28 chapters, 148 illustrations, no code.
Get the book on Amazon →
GenAI Agents: Comprehensive Repository for Development and Implementation 🚀
Welcome to one of the most extensive and dynamic collections of Generative AI (GenAI) agent tutorials and implementations available today. This repository serves as a comprehensive resource for learning, building, and sharing GenAI agents, ranging from simple conversational bots to complex, multi-agent systems.
📖 The companion book
AI Agents Made Simple - the decision guide to building agents that work: 28 chapters on what each pattern does, what breaks, what it costs, and when it is overkill. No code.
🏆 Sponsors
Recently added: Thinking Budgets From Scratch, Reflection From Scratch, Plan Then Execute From Scratch, Skills From Scratch, Designing Tools for Agents | 64 tutorials and growing
📫 Stay Updated!
The AI That Knows the Answer Before It Speaks [Jev Explained] a chatbot that is 100% sure and wrong, and the model that tells you when it isn't sure — run it |
🚀 Cutting-edge Updates |
💡 Expert Insights |
🎯 Top 0.1% Content |
Join over 50,000 AI enthusiasts getting unique cutting-edge insights and free tutorials! Plus, subscribers get exclusive early access and special 33% discounts on my books!
🎬 Prefer video?
I break these ideas down into short, one-idea-per-episode explainers on YouTube.
🆕 Why AI Uses So Much Energy (It's Not the Thinking)
a power meter on an AI: reading a whole story is cheap, writing the answer is where the energy goes — measure it on your machine
AI Agents Are Just While Loops. That's the Scary Part. the smallest real agent, the trap it builds for itself, and where a rule has to live — run it |
How LLMs Actually Work (and Why AI Makes Things Up) recalling a fact and inventing one are literally the same move |
Context Is the New Code the shift from writing the code to shaping what the model sees |
Stop Thinking Claude Code Is Magic. Here's How It Works what the agent loop is actually doing on every turn |
Introduction
Generative AI agents are at the forefront of artificial intelligence, revolutionizing the way we interact with and leverage AI technologies. This repository is designed to guide you through the development journey, from basic agent implementations to advanced, cutting-edge systems.
📚 Learn to Build Your First AI AgentYour First AI Agent: Simpler Than You Think This detailed blog post complements the repository by providing a complete A-Z walkthrough with in-depth explanations of core concepts, step-by-step implementation, and the theory behind AI agents. It's designed to be incredibly simple to follow while covering everything you need to know to build your first working agent from scratch. 💡 Plus: Subscribe to the newsletter for exclusive early access to tutorials and special discounts on my books! |
Our goal is to provide a valuable resource for everyone - from beginners taking their first steps in AI to seasoned practitioners pushing the boundaries of what's possible. By offering a range of examples from foundational to complex, we aim to facilitate learning, experimentation, and innovation in the rapidly evolving field of GenAI agents.
Furthermore, this repository serves as a platform for showcasing innovative agent creations. Whether you've developed a novel agent architecture or found an innovative application for existing techniques, we encourage you to share your work with the community.
Related Projects
🔍 RAG Techniques - 40+ notebooks on retrieval-augmented generation.
🚀 Agents Towards Production - code-first tutorials for shipping production-grade agents.
🖋️ Prompt Engineering Techniques - prompting strategies from basics to advanced.
🧠 Agent Memory Techniques - 30 notebooks on agent memory: vector stores, graphs, Mem0, Zep.
Join the community
Contributions make this better - propose ideas, share techniques, or give feedback via CONTRIBUTING.md.
r/EducationalAI · Discord · LinkedIn
Key Features
- 🎓 Learn to build GenAI agents from beginner to advanced levels
- 🧠 Explore a wide range of agent architectures and applications
- 📚 Step-by-step tutorials and comprehensive documentation
- 🛠️ Practical, ready-to-use agent implementations
- 🌟 Regular updates with the latest advancements in GenAI
- 🤝 Share your own agent creations with the community
GenAI Agent Implementations
Below is a comprehensive overview of our GenAI agent implementations, organized by category and functionality. Each implementation is designed to showcase different aspects of AI agent development, from basic conversational agents to complex multi-agent systems.
Updated 2026-10-31: most of the use-case notebooks below were contributed in late 2024. They now import cleanly on LangChain 1.x and LangGraph 1.x, and model IDs that providers have retired or scheduled for retirement (gpt-3.5-turbo, gpt-4, gpt-4o, gpt-4o-mini, DALL-E 3, Gemini 1.5, Claude 3, older Groq Llama models) were replaced with current ones. Each notebook still needs its own API keys, and not every notebook was run end to end against live services.
🧭 Start here: the 2026 core patterns
New to agents, or coming back after the 2024 notebooks? These teach one pattern each, in the order a build needs them, and most are plain Python plus one SDK, so they keep running when frameworks change. The newest ones score every run against planted answers and report what the pattern did not fix as well as what it did. The chapter numbers are from AI Agents Made Simple, which explains the decisions behind each pattern without code.
| Ch. | Pattern | Notebook | |-----|---------|----------| | 1 | Do you need an agent? Route first | One-Step Decision Router | | 2 | The agent loop | Agent From Scratch: The While Loop | | 3 | Workflows before agents | Workflows First: Gated Contract Review | | 5 | Tools designed for a model | Designing Tools for Agents | | 10 | Skills loaded on demand | Skills From Scratch | | 11 | Context engineering | Context Engineering From Scratch | | 12 | Evals from traces | Trace-Based Agent Evaluation | | 15 | Humans in the loop | Human-in-the-Loop Approval Agent | | 16 | What an answer costs | Read vs Write: What One AI Answer Costs | | 18 | Plan, then execute | Plan Then Execute From Scratch | | 19 | Reflection with a real check | Reflection From Scratch | | 20 | Thinking budgets and search | Thinking Budgets From Scratch |
Chapter 27, from a while loop to a harness, is planned as a community notebook (#160).
| ⭐ | Document Intake Agent | LangGraph | Office docs to LLM-ready markdown, conversion as a tool call, grounded answers |
| # | Category | Agent Name | Framework | Key Features | |----|-------------------|-------------------------------|-------------------|------------------------------------------------------------------------------| | 1 | 🌱 Beginner | Simple Conversational Agent | LangChain/PydanticAI | Context-aware conversations, history management | | 2 | 🌱 Beginner | Simple Question Answering | LangChain | Query understanding, concise answers | | 3 | 🌱 Beginner | Simple Data Analysis | LangChain/PydanticAI | Dataset interpretation, natural language queries | | 4 | 🔧 Framework | Introduction to LangGraph | LangGraph | Modular AI workflows, state management | | 5 | 🔧 Framework | Model Context Protocol (MCP) | MCP | AI-external resource integration | | 6 | 🎓 Educational| ATLAS: Academic Task System | LangGraph | Multi-agent academic planning, note-taking | | 7 | 🎓 Educational| Scientific Paper Agent | LangGraph | Literature review automation | | 8 | 🎓 Educational| Chiron - Feynman Learning | LangGraph | Adaptive learning, checkpoint system | | 9 | 💼 Business | Customer Support Agent | LangGraph | Query categorization, sentiment analysis | | 10 | 💼 Business | Essay Grading Agent | LangGraph | Automated grading, multiple criteria | | 11 | 💼 Business | Travel Planning Agent | LangGraph | Personalized itineraries | | 12 | 💼 Business | GenAI Career Assistant | LangGraph | Career guidance, learning paths | | 13 | 💼 Business | Project Manager Assistant | LangGraph | Task generation, risk assessment | | 14 | 💼 Business | Contract Analysis Assistant | LangGraph | Clause analysis, compliance checking | | 15 | 💼 Business | E2E Testing Agent | LangGraph | Test automation, browser control | | 16 | 🎨 Creative | GIF Animation Generator | LangGraph | Text-to-animation pipeline | | 17 | 🎨 Creative | TTS Poem Generator | LangGraph | Text classification, speech synthesis | | 18 | 🎨 Creative | Music Compositor | LangGraph | AI music composition | | 19 | 🎨 Creative | Content Intelligence | LangGraph | Multi-platform content generation | | 20 | 🎨 Creative | Business Meme Generator | LangGraph | Brand-aligned meme creation | | 21 | 🎨 Creative | Murder Mystery Game | LangGraph | Procedural story generation | | 22 | 📊 Analysis | Memory-Enhanced Conversational| LangChain | Short/long-term memory integration | | 23 | 📊 Analysis | Multi-Agent Collaboration | LangChain | Historical research, data analysis | | 24 | 📊 Analysis | Self-Improving Agent | LangChain | Learning from interactions | | 25 | 📊 Analysis | Task-Oriented Agent | LangChain | Text summarization, translation | | 26 | 📊 Analysis | Internet Search Agent | LangChain | Web research, summarization | | 27 | 📊 Analysis | Research Team - Autogen | AutoGen | Multi-agent research collaboration | | 28 | 📊 Analysis | Sales Call Analyzer | LangGraph | Audio transcription, NLP analysis | | 29 | 📊 Analysis | Weather Emergency System | LangGraph | Real-time data processing | | 30 | 📊 Analysis | Self-Healing Codebase | LangGraph | Error detection, automated fixes | | 31 | 📊 Analysis | DataScribe | LangGraph | Database exploration, query planning | | 32 | 📊 Analysis | Memory-Enhanced Email | LangGraph | Email triage, response generation | | 33 | 📰 News | News TL;DR | LangGraph | News summarization, API integration | | 34 | 📰 News | AInsight | LangGraph | AI/ML news aggregation | | 35 | 📰 News | Journalism Assistant | LangGraph | Fact-checking, bias detection | | 36 | 📰 News | Blog Writer | OpenAI Swarm | Collaborative content creation


