PRs Welcome LinkedIn Reddit Twitter Discord

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.

Prompt to Production - my full course on building software with AI the way professionals do: the methods and paradigms behind reliable, efficient, modular production systems, taught systematically. 17 modules, each pairing a video lecture with a hands-on lab, from your first structured prompt to a working production system.

🎁 Try a full module, free

One npm install adds the module's AI assistant to your Claude Code, and it guides you through the tutorial as you build.

🏆 Sponsors

Recently added: Document Intake Agent, HR AI Assistant, Art Tourguide with LightRAG, Contextual Quoting System, ML/DS Assistant | 53 tutorials and growing

📫 Stay Updated!

Subscribe to DiamantAI Newsletter

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!

DiamantAI's newsletter

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.

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.

# 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
37 📰 News Podcast Generator LangGraph Content search, audio generation
38 🛍️ Shopping ShopGenie LangGraph Product comparison, recommendations
39 🛍️ Shopping Car Buyer Agent LangGraph Web scraping, decision support
40 🎯 Task Management Taskifier LangGraph Work style analysis, task breakdown
41 🎯 Task Management Grocery Management CrewAI Inventory tracking, recipe suggestions
42 🔍 QA LangGraph Inspector LangGraph System testing, vulnerability detection
43 🔍 QA EU Green Deal Bot LangGraph Regulatory compliance, FAQ system
44 🔍 QA Systematic Review LangGraph Academic paper processing, draft generation
45 🌟 Advanced Controllable RAG Agent Custom Complex question answering, deterministic graph
46 💼 Business HR AI Assistant LangGraph Recruitment pipeline, JD generation, CV analysis
47 📊 Analysis ML and Data Science Assistant LangGraph Agentic ML pipeline, preprocessing to evaluation
48 🎨 Creative Art Tourguide with LightRAG LightRAG + LangGraph Knowledge-graph RAG, interactive art exploration
49 🎓 Educational Gutenberg Sage LangGraph + Ollama Local LLM RAG, NER-enhanced retrieval
50 💼 Business Contextual Quoting System LangGraph Multi-agent quoting, RAG + structured data
51 📊 Analysis Document Intake Agent LangGraph Office docs to LLM-ready markdown, conversion as a tool call

Explore our extensive list of GenAI agent implementations, sorted by categories:

🌱 Beginner-Friendly Agents

  1. Simple Conversational Agent

    Overview 🔎

    A context-aware conversational AI maintains information across interactions, enabling more natural dialogues.

    Implementation 🛠️

    Integrates a language model, prompt template, and history manager to generate contextual responses and track conversation sessions.

  2. Simple Question Answering Agent

    Overview 🔎

    Answering (QA) agent using LangChain and OpenAI's language model understands user queries and provides relevant, concise answers.

    Implementation 🛠️

    Combines OpenAI's GPT model, a prompt template, and an LLMChain to process user questions and generate AI-driven responses in a streamlined manner.

  3. Simple Data Analysis Agent

    Overview 🔎

    An AI-powered data analysis agent interprets and answers questions about datasets using natural language, combining language models with data manipulation tools for intuitive data exploration.

    Implementation 🛠️

    Integrates a language model, data manipulation framework, and agent framework to process natural language queries and perform data analysis on a synthetic dataset, enabling accessible insights for non-technical users.

🔧 Framework Tutorial

  1. Introduction to LangGraph: Building Modular AI Workflows

    Overview 🔎

    This tutorial introduces LangGraph, a powerful framework for creating modular, graph-based AI workflows. Learn how to leverage LangGraph to build more complex and flexible AI agents that can handle multi-step processes efficiently.

    Implementation 🛠️

    Step-by-step guide on using LangGraph to create a StateGraph workflow. The tutorial covers key concepts such as state management, node creation, and graph compilation. It demonstrates these principles by constructing a simple text analysis pipeline, serving as a foundation for more advanced agent architectures.

    Additional Resources 📚

  2. Model Context Protocol (MCP): Seamless Integration of AI and External Resources

    Overview 🔎

    This tutorial introduces the Model Context Protocol (MCP), an open standard for connecting AI models with external data sources and tools. Learn how MCP serves as a universal bridge between GenAI agents and the wider digital ecosystem, enabling more capable and context-aware AI applications.

    Implementation 🛠️

    Provides a hands-on guide to implementing MCP servers and clients, demonstrating how to connect language models with external tools and data sources. The tutorial covers server setup, tool definition, and integration with AI clients, with practical examples of building useful agent capabilities through the protocol.

    Additional Resources 📚

🎓 Educational and Research Agents

  1. ATLAS: Academic Task and Learning Agent System

    Overview 🔎

    ATLAS demonstrates how to build an intelligent multi-agent system that transforms academic support through AI-powered assistance. The system leverages LangGraph's workflow framework to coordinate multiple specialized agents that provide personalized academic planning, note-taking, and advisory support.

    Implementation 🛠️

    Implements a state-managed multi-agent architecture using four specialized agents (Coordinator, Planner, Notewriter, and Advisor) working in concert through LangGraph's workflow framework. The system features sophisticated workflows for profile analysis and academic support, with continuous adaptation based on student performance and feedback.

    Additional Resources 📚

  2. Scientific Paper Agent - Literature Review

    Overview 🔎

    An intelligent research assistant that helps users navigate, understand, and analyze scientific literature through an orchestrated workflow. The system combines academic APIs with sophisticated paper processing techniques to automate literature review tasks, enabling researchers to efficiently extract insights from academic papers while maintaining research rigor and quality control.

    Implementation 🛠️

    Leverages LangGraph to create a five-node workflow system including decision making, planning, tool execution, and quality validation nodes. The system integrates the CORE API for paper access, PDFplumber for document processing, and advanced language models for analysis. Key features include a retry mechanism for robust paper downloads, structured data handling through Pydantic models, and quality-focused improvement cycles with human-in-the-loop validation options.

    Additional Resources 📚

  3. Chiron - A Feynman-Enhanced Learning Agent

    Overview 🔎

    An adaptive learning agent that guides users through educational content using a structured checkpoint system and Feynman-style teaching. The system processes learning materials (either user-provided or web-retrieved), verifies understanding through interactive checkpoints, and provides simplified explanations when needed, creating a personalized learning experience that mimics one-on-one tutoring.

    Implementation 🛠️

    Uses LangGraph to orchestrate a learning workflow that includes checkpoint definition, context building, understanding verification, and Feynman teaching nodes. The system integrates web search for dynamic content retrieval, employs semantic chunking for context processing, and manages embeddings for relevant information retrieval. Key features include a 70% understanding threshold for progression, interactive human-in-the-loop validation, and structured output through Pydantic models for consistent data handling.

    Additional Resources 📚

💼 Business and Professional Agents

  1. Customer Support Agent (LangGraph)

    Overview 🔎

    An intelligent customer support agent using LangGraph categorizes queries, analyzes sentiment, and provides appropriate responses or escalates issues.

    Implementation 🛠️

    Utilizes LangGraph to create a workflow combining state management, query categorization, sentiment analysis, and response generation.

  2. Essay Grading Agent (LangGraph)

    Overview 🔎

    An automated essay grading system using LangGraph and an LLM model evaluates essays based on relevance, grammar, structure, and depth of analysis.

    Implementation 🛠️

    Utilizes a state graph to define the grading workflow, incorporating separate grading functions for each criterion.

  3. Travel Planning Agent (LangGraph)

    Overview 🔎

    A Travel Planner using LangGraph demonstrates how to build a stateful, multi-step conversational AI application that collects user input and generates personalized travel itineraries.

    Implementation 🛠️

    Utilizes StateGraph to define the application flow, incorporates custom PlannerState for process management.

  4. GenAI Career Assistant Agent

    Overview 🔎

    The GenAI Career Assistant demonstrates how to create a multi-agent system that provides personalized guidance for careers in Generative AI. Using LangGraph and Gemini LLM, the system delivers customized learning paths, resume assistance, interview preparation, and job search support.

    Implementation 🛠️

    Leverages a multi-agent architecture using LangGraph to coordinate specialized agents (Learning, Resume, Interview, Job Search) through TypedDict-based state management. The system employs sophisticated query categorization and routing while integrating with external tools like DuckDuckGo for job searches and dynamic content generation.

    Additional Resources 📚

  5. Project Manager Assistant Agent

    Overview 🔎

    An AI agent designed to assist in project management tasks by automating the process of creating actionable tasks from project descriptions, identifying dependencies, scheduling work, and assigning tasks to team members based on expertise. The system includes risk assessment and self-reflection capabilities to optimize project plans through multiple iterations, aiming to minimize overall project risk.

    Implementation 🛠️

    Leverages LangGraph to orchestrate a workflow of specialized nodes including task generation, dependency mapping, scheduling, allocation, and risk assessment. Each node uses GPT-4o-mini for structured outputs following Pydantic models. The system implements a feedback loop for self-improvement, where risk scores trigger reflection cycles that generate insights to optimize the project plan. Visualization tools display Gantt charts of the generated schedules across iterations.

    Additional Resources 📚

  6. Contract Analysis Assistant (ClauseAI)

    Overview 🔎

    ClauseAI demonstrates how to build an AI-powered contract analysis system using a multi-agent approach. The system employs specialized AI agents for different aspects of contract review, from clause analysis to compliance checking, and leverages LangGraph for workflow orchestration and Pinecone for efficient clause retrieval and comparison.

    Implementation 🛠️

    Implements a sophisticated state-based workflow using LangGraph to coordinate multiple AI agents through contract analysis stages. The system features Pydantic models for data validation, vector storage with Pinecone for clause comparison, and LLM-based analysis for generating comprehensive contract reports. The implementation includes parallel processing capabilities and customizable report generation based on user requirements.

    Additional Resources 📚

  7. E2E Testing Agent

    Overview 🔎

    The E2E Testing Agent demonstrates how to build an AI-powered system that converts natural language test instructions into executable end-to-end web tests. Using LangGraph for workflow orchestration and Playwright for browser automation, the system enables users to specify test cases in plain English while handling the complexity of test generation and execution.

    Implementation 🛠️

    Implements a structured workflow using LangGraph to coordinate test generation, validation, and execution. The system features TypedDict state management, integration with Playwright for browser automation, and LLM-based code generation for converting natural language instructions into executable test scripts. The implementation includes DOM state analysis, error handling, and comprehensive test reporting.

    Additional Resources 📚

🎨 Creative and Content Generation Agents

  1. GIF Animation Generator Agent (LangGraph)

    Overview 🔎

    A GIF animation generator that integrates LangGraph for workflow management, GPT-4 for text generation, and DALL-E for image creation, producing custom animations from user prompts.

    Implementation 🛠️

    Utilizes LangGraph to orchestrate a workflow that generates character descriptions, plots, and image prompts using GPT-4, creates images with DALL-E 3, and assembles them into GIFs using PIL. Employs asynchronous programming for efficient parallel processing.

  2. TTS Poem Generator Agent (LangGraph)

    Overview 🔎

    An advanced text-to-speech (TTS) agent using LangGraph and OpenAI's APIs classifies input text, processes it based on content type, and generates corresponding speech output.

    Implementation 🛠️

    Utilizes LangGraph to orchestrate a workflow that classifies input text using GPT models, applies content-specific processing, and converts the processed text to speech using OpenAI's TTS API. The system adapts its output based on the identified content type (general, poem, news, or joke).

  3. Music Compositor Agent (LangGraph)

    Overview 🔎

    An AI Music Compositor using LangGraph and OpenAI's language models generates custom musical compositions based on user input. The system processes the input through specialized components, each contributing to the final musical piece, which is then converted to a playable MIDI file.

    Implementation 🛠️

    LangGraph orchestrates a workflow that transforms user input into a musical composition, using ChatOpenAI (GPT-4) to generate melody, harmony, and rhythm, which are then style-adapted. The final AI-generated composition is converted to a MIDI file using music21 and can be played back using pygame.

  4. Content Intelligence: Multi-Platform Content Generation Agent

    Overview 🔎

    Content Intelligence demonstrates how to build an advanced content generation system that transforms input text into platform-optimized content across multiple social media channels. The system employs LangGraph for workflow orchestration to analyze content, conduct research, and generate tailored content while maintaining brand consistency across different platforms.

    Implementation 🛠️

    Implements a sophisticated workflow using LangGraph to coordinate multiple specialized nodes (Summary, Research, Platform-Specific) through the content generation process. The system features TypedDict and Pydantic models for state management, integration with Tavily Search for research enhancement, and platform-specific content generation using GPT-4. The implementation includes parallel processing for multiple platforms and customizable content templates.

    Additional Resources 📚

  5. Business Meme Generator Using LangGraph and Memegen.link

    Overview 🔎

    The Business Meme Generator demonstrates how to create an AI-powered system that generates contextually relevant memes based on company website analysis. Using LangGraph for workflow orchestration, the system combines Groq's Llama model for text analysis and the Memegen.link API to automatically produce brand-aligned memes for digital marketing.

    Implementation 🛠️

    Implements a state-managed workflow using LangGraph to coordinate website content analysis, meme concept generation, and image creation. The system features Pydantic models for data validation, asynchronous processing with aiohttp, and integration with external APIs (Groq, Memegen.link) to create a complete meme generation pipeline with customizable templates.

    Additional Resources 📚

  6. **[Murder Mystery Game with LLM Agents](https://github.com/NirDiamant/GenAI_Agents/bl