Analysis updated 2026-05-18
Learn how to build AI agents that plan and execute multi-step tasks using tools like web search.
Build a specialized AI assistant (HR, tour guide, ML expert) that remembers context and corrects its own errors.
Study multi-agent systems where different AI models collaborate on complex problems.
Reference working code examples when implementing agent patterns in your own projects.
| nirdiamant/genai_agents | karpathy/nn-zero-to-hero | zergtant/pytorch-handbook | |
|---|---|---|---|
| Stars | 21,801 | 21,730 | 21,628 |
| Language | Jupyter Notebook | Jupyter Notebook | Jupyter Notebook |
| Setup difficulty | easy | easy | moderate |
| Complexity | 3/5 | 2/5 | 2/5 |
| Audience | developer | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
GenAI_Agents is a tutorial collection by Nir Diamant that teaches people how to build AI agents. An AI agent here means a small program that uses a large language model, such as one of the OpenAI or Anthropic models, to plan steps, call tools, and respond to a user. The repository contains more than fifty worked examples as Jupyter notebooks, ordered from simple conversational bots up to systems where several agents talk to each other to finish a task. The content is aimed at a wide range of readers. Total beginners can start with a single-agent notebook and a short blog post called Your First AI Agent: Simpler Than You Think, which the author links to as a step-by-step walkthrough. More experienced builders can move on to agents that handle hiring tasks, museum-style tour guides, contextual quoting, machine learning helpers, and a Gutenberg literature assistant. Recently added tutorials include an HR AI Assistant, an art tour guide using LightRAG, a contextual quoting system, and an ML and data science assistant. The code uses popular agent frameworks such as LangChain and LangGraph, which are tools that help wire a language model up to memory, search, and external services. The author also points to two sibling repositories: RAG_Techniques, which covers methods for letting a model look things up in your own documents, and Prompt_Engineering, which collects ways to write better instructions for a model. There is also a related project called Agents Towards Production with patterns for moving an agent from a notebook into a real deployed service. Beyond the code, the project runs as a small community. There is a Discord server, a subreddit called EducationalAI, and a newsletter on Substack with more than fifty thousand subscribers. The README invites people to send pull requests with their own agent designs, and it points contributors to a CONTRIBUTING file for the rules. The repository is offered as a shared reference where readers can both learn from existing examples and add new ones of their own.
A collection of 50+ Jupyter Notebook tutorials teaching how to build AI agents, systems where AI models plan, use tools, and complete multi-step tasks, from beginner to advanced patterns.
Mainly Jupyter Notebook. The stack also includes Python, Jupyter Notebook, LangChain.
License could not be detected automatically. Check the repository's LICENSE file before use.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.