50+ tutorials and implementations for Generative AI Agent techniques, from basic conversational bots to complex multi-agent systems.
GenAI Agents is a collection of 52 Jupyter Notebook tutorials covering the construction of AI agents from single-purpose conversational bots up to coordinated multi-agent systems. Notebooks are organized by complexity and cover techniques including Retrieval-Augmented Generation, LangGraph-based orchestration, memory management, tool use, and agentic loops, with concrete examples such as an HR AI Assistant, an Art Tourguide built on LightRAG, a Contextual Quoting System, and a Gutenberg Sage literary agent. The repository is LLM-agnostic in framing but leans on OpenAI and LangChain throughout; Claude integration is not a stated focus, though the MCP topic tag signals awareness of that protocol. Developers and researchers learning to build production-adjacent agents are the primary audience, with beginner-friendly walkthroughs sitting alongside advanced multi-agent pipeline designs. A notable detail is that the author accompanies the code with a companion newsletter reaching over 50,000 subscribers and a related 400-page book on RAG, positioning the repository as the practical arm of a broader educational curriculum.
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Mature repo (>1y old)
- ✓Documented (README)
- !Licence file present but not machine-readable
git clone https://github.com/NirDiamant/GenAI_Agents && cp GenAI_Agents/*.md ~/.claude/agents/Subagents overview
[](http://makeapullrequest.com)
[](https://www.linkedin.com/in/nir-diamant-759323134/)
[](https://www.reddit.com/r/EducationalAI/)
[](https://twitter.com/NirDiamantAI)
[](https://discord.gg/cA6Aa4uyDX)
# 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.
<h2 align="center">🎓 From demo agent to deployed product</h2>
<div align="center">
**[Prompt to Production](https://europe-west1-rag-techniques-views-tracker.cloudfunctions.net/rag-techniques-tracker?notebook=genai-agents--readme&click=course-free-module-cta&target=https%3A%2F%2Fwww.diamant-ai.com%2Fcourses%3Futm_source%3Dgithub%26utm_medium%3Dreadme%26utm_campaign%3Dgenai-agents&retarget=0&text=course-free-module-cta)** - my full course on building software with AI the way professionals do: the methods and paradigms behind reliable, efficient, modular production systems, taught systematically. 20 modules, each pairing a video lecture with a hands-on lab, from your first structured prompt to a working production system.
**The course is live.** Every module is out, lecture and lab.
### 🎁 Try a full module, free
<table>
<tr>
<td align="center">🎬<br><b>7-minute<br>video lecture</b></td>
<td align="center">🛠️<br><b>Hands-on<br>tutorial</b></td>
<td align="center">🤖<br><b>AI assistant<br>inside Claude Code</b></td>
</tr>
</table>
One `npm install` adds the module's AI assistant to your Claude Code, and it guides you through the tutorial as you build.
<a href="https://europe-west1-rag-techniques-views-tracker.cloudfunctions.net/rag-techniques-tracker?notebook=genai-agents--readme&click=course-free-module-cta&target=https%3A%2F%2Fwww.diamant-ai.com%2Fcourses%3Futm_source%3Dgithub%26utm_medium%3Dreadme%26utm_campaign%3Dgenai-agents&retarget=0&text=course-free-module-cta"><img src="images/free-module-button.svg" alt="Claim your free module" width="420"></a>
### 👉 [**Get the full course**](https://europe-west1-rag-techniques-views-tracker.cloudfunctions.net/rag-techniques-tracker?notebook=genai-agents--readme&click=course-full-cta&target=https%3A%2F%2Fwww.diamant-ai.com%2Fcourses%3Futm_source%3Dgithub%26utm_medium%3Dreadme%26utm_campaign%3Dgenai-agents&retarget=0&text=course-full-cta)
</div>
## 🏆 Sponsors
<div align="center">
<a href="https://coderabbit.link/nir"><img src="images/coderabbit_Light_Type_Mark_Orange.png" height="80" alt="CodeRabbit" /></a>
<a href="https://www.qodo.ai/?utm_source=diamantai&utm_medium=github&utm_campaign=genai-agents&utm_content=readme-sponsor"><img src="images/qodo-logo.svg" height="80" alt="Qodo" /></a>
</div>
> **Recently added:** Trace-Based Agent Evaluation, Human-in-the-Loop Approval Agent, Document Intake Agent, HR AI Assistant, Art Tourguide with LightRAG | **55 tutorials** and growing
## 📫 Stay Updated!
<div align="center">
<table>
<tr>
<td align="center">🚀<br><b>Cutting-edge<br>Updates</b></td>
<td align="center">💡<br><b>Expert<br>Insights</b></td>
<td align="center">🎯<br><b>Top 0.1%<br>Content</b></td>
</tr>
</table>
[](https://newsletter.diamant-ai.com/?r=336pe4&utm_campaign=pub-share-checklist)
*Join over 50,000 AI enthusiasts getting unique cutting-edge insights and free tutorials!* ***Plus, subscribers get exclusive early access and special 33% discounts to my book and the upcoming RAG Techniques course!***
</div>
[](https://newsletter.diamant-ai.com/?r=336pe4&utm_campaign=pub-share-checklist)
<h2 align="center">🎬 Prefer video?</h2>
<div align="center">
*I break these ideas down into short, one-idea-per-episode explainers on YouTube.*
<p align="center">
<a href="https://europe-west1-rag-techniques-views-tracker.cloudfunctions.net/rag-techniques-tracker?notebook=genai-agents--readme&click=youtube-readme-loop&target=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFN1n_NVD9KM%26list%3DPLBrpE2PttR2k&retarget=0&text=youtube-readme-loop">
<img src="https://img.youtube.com/vi/FN1n_NVD9KM/maxresdefault.jpg" width="60%" alt="">
<br><b>🆕 AI Agents Are Just While Loops. That's the Scary Part.</b>
</a><br>
<sub>the smallest real agent, the trap it builds for itself, and where a rule has to live — <a href="all_agents_tutorials/agent_while_loop_from_scratch.ipynb">run the agent from the video</a></sub>
</p>
<table>
<tr>
<td width="33%" align="center" valign="top">
<a href="https://europe-west1-rag-techniques-views-tracker.cloudfunctions.net/rag-techniques-tracker?notebook=genai-agents--readme&click=youtube-readme-llm&target=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DtKXvKKVQ1Dc&retarget=0&text=youtube-readme-llm">
<img src="https://img.youtube.com/vi/tKXvKKVQ1Dc/mqdefault.jpg" width="100%" alt="">
<br><b>How LLMs Actually Work (and Why AI Makes Things Up)</b>
</a><br>
<sub>recalling a fact and inventing one are literally the same move</sub>
</td>
<td width="33%" align="center" valign="top">
<a href="https://europe-west1-rag-techniques-views-tracker.cloudfunctions.net/rag-techniques-tracker?notebook=genai-agents--readme&click=youtube-readme-ctx&target=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Da7bteK6c3Ng&retarget=0&text=youtube-readme-ctx">
<img src="https://img.youtube.com/vi/a7bteK6c3Ng/mqdefault.jpg" width="100%" alt="">
<br><b>Context Is the New Code</b>
</a><br>
<sub>the shift from writing the code to shaping what the model sees</sub>
</td>
<td width="33%" align="center" valign="top">
<a href="https://europe-west1-rag-techniques-views-tracker.cloudfunctions.net/rag-techniques-tracker?notebook=genai-agents--readme&click=youtube-readme-cc&target=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D0fU8GdipOjc&retarget=0&text=youtube-readme-cc">
<img src="https://img.youtube.com/vi/0fU8GdipOjc/mqdefault.jpg" width="100%" alt="">
<br><b>Stop Thinking Claude Code Is Magic. Here's How It Works</b>
</a><br>
<sub>what the agent loop is actually doing on every turn</sub>
</td>
</tr>
</table>
[](https://europe-west1-rag-techniques-views-tracker.cloudfunctions.net/rag-techniques-tracker?notebook=genai-agents--readme&click=youtube-subscribe-channel&target=https%3A%2F%2Fwww.youtube.com%2F%40DiamantAI%3Fsub_confirmation%3D1&retarget=0&text=youtube-subscribe-channel) [**Browse every episode →**](https://europe-west1-rag-techniques-views-tracker.cloudfunctions.net/rag-techniques-tracker?notebook=genai-agents--readme&click=youtube-all-episodes&target=https%3A%2F%2Fwww.youtube.com%2F%40DiamantAI&retarget=0&text=youtube-all-episodes)
</div>
## 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.
<div align="center">
<table>
<tr>
<td>
<h3>📚 Learn to Build Your First AI Agent</h3>
<p><strong><a href="https://newsletter.diamant-ai.com/p/your-first-ai-agent-simpler-than">Your First AI Agent: Simpler Than You Think</a></strong></p>
<p>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.</p>
<p><em>💡 Plus: Subscribe to the newsletter for exclusive early access to tutorials and special discounts on upcoming courses and books!</em></p>
</td>
</tr>
</table>
</div>
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](https://github.com/NirDiamant/RAG_Techniques)** - 40+ notebooks on retrieval-augmented generation.
🚀 **[Agents Towards Production](https://github.com/NirDiamant/agents-towards-production)** - code-first tutorials for shipping production-grade agents.
🖋️ **[Prompt Engineering Techniques](https://github.com/NirDiamant/Prompt_Engineering)** - prompting strategies from basics to advanced.
🧠 **[Agent Memory Techniques](https://github.com/NirDiamant/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](https://github.com/NirDiamant/GenAI_AgeWhat people ask about GenAI_Agents
What is NirDiamant/GenAI_Agents?
+
NirDiamant/GenAI_Agents is subagents for the Claude AI ecosystem. 50+ tutorials and implementations for Generative AI Agent techniques, from basic conversational bots to complex multi-agent systems. It has 24.2k GitHub stars and its last recorded update is dated 2026-09-08.
How do I install GenAI_Agents?
+
You can install GenAI_Agents by cloning the repository (https://github.com/NirDiamant/GenAI_Agents) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is NirDiamant/GenAI_Agents safe to use?
+
Our security agent has analyzed NirDiamant/GenAI_Agents and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains NirDiamant/GenAI_Agents?
+
NirDiamant/GenAI_Agents is maintained by NirDiamant. The last recorded GitHub activity is dated 2026-09-08, with 17 open issues.
Are there alternatives to GenAI_Agents?
+
Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.
Deploy GenAI_Agents to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/nirdiamant-genai-agents)<a href="https://claudewave.com/repo/nirdiamant-genai-agents"><img src="https://claudewave.com/api/badge/nirdiamant-genai-agents" alt="Featured on ClaudeWave: NirDiamant/GenAI_Agents" width="320" height="64" /></a>More Subagents
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
The agent that grows with you
Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
The agent engineering platform.
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.