单个 notebook 会在首个 cell 里额外安装依赖,只装 requirements.txt 可能不够;README 未说明是否需要 API Key 或本地模型,运行前需自行确认各 notebook 的模型来源
GenAI_Agents
NirDiamant活跃维护50 多个生成式 AI Agent 教程与实现,从基础对话机器人到复杂多智能体系统,帮你快速上手并复现各类 Agent 技术方案。
50+ tutorials and implementations for Generative AI Agent techniques, from basic conversational bots to complex multi-agent systems.
git clone https://github.com/NirDiamant/GenAI_Agents.git
pip install -r requirements.txtREADME 未说明
一套 60+ 篇 GenAI Agent 教程与实现合集,从对话机器人到多智能体系统,供你按需取用
50 多个生成式 AI Agent 教程与实现,从基础对话机器人到复杂多智能体系统,帮你快速上手并复现各类 Agent 技术方案。
核心能力
- 覆盖从基础对话机器人到复杂多智能体系统的教程
- 每个技术点配独立 notebook,首格自行安装额外依赖
- 共享依赖统一放在 requirements.txt 中
- 含 Thinking Budgets、Reflection、Plan Then Execute 等从零实现
- 持续新增教程,README 称已有 64 篇并在增长
容易踩的坑
- book-v1.0AI Agents Made Simple: the book最新正式版2026-10-26 · 2026-10-26 13:00 UTC
📖 The book is out: AI Agents Made Simple
From the maintainer of this repo, a decision guide to AI agents: 28 chapters, 148 illustrations, no code. For every agent pattern: how it works, what breaks, what it costs, and when it is overkill.
Launch price: $0.99 on Kindle for the first 24 hours → https://www.amazon.com/dp/B0HNXRSRH2
Thank you for the stars. They are why this book exists.
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
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.
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!
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!
I break these ideas down into short, one-idea-per-episode explainers on YouTube.
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.
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).
| # | 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 |
| 52 | 🎨 Creative | Social Media Publishing Agent | LangGraph | Per-platform generation, self-review loop, publishing via Publora API |
| 53 | 🔍 QA | Human-in-the-Loop Approval Agent | LangGraph | Risk-based approval, in-process checkpoints, auditable tool execution |
| 54 | 🔍 QA | Trace-Based Agent Evaluation | Python | Deterministic trace scoring, case diagnostics, regression quality gates |
| 55 | 🌱 Beginner | Agent From Scratch: The While Loop | Pure Python | The minimal agent loop, tool calls, the retry trap, where a rule must live |
| 56 | 🔍 QA | One-Step Decision Router | Transformers | Decision from one forward pass, calibration check, temperature scaling, confidence gate |
| 57 | 🎓 Educational | Read vs Write: What One AI Answer Costs | Transformers | Prefill vs decode timing, memory-bandwidth check, KV-cache growth, batching, optional power metering |
| 58 | 🎓 Educational | Context Engineering From Scratch | Pure Python + OpenAI | Tokens per layer, clearing used tool results, the prompt-cache trade-off, a scored before/after |
| 59 | 🎓 Educational | Workflows First: Gated Contract Review | Pure Python + OpenAI | Gated workflow vs agent, planted broken files, cost and run-to-run spread, scored exactly |
| 60 | 🎓 Educational | Designing Tools for Agents | Pure Python + OpenAI | Thin API wrapper vs model-designed tools: planted refund tickets, idempotent writes, instructive errors |
| 61 | 🎓 Educational | Skills From Scratch | Pure Python + OpenAI | Skill folders, progressive disclosure vs stuffed prompt at 3/10/30 procedures, trigger tests, poisoned skill |
| 62 | 🎓 Educational | Plan Then Execute From Scratch | Pure Python + OpenAI | Planner, plan checks, assumption-triggered replans; injection test; step-by-step comparison with measured costs |
| 63 | 🎓 Educational | Reflection From Scratch | Pure Python + OpenAI | Self-review vs skeptical reviewer vs failing tests, evidence gate, fixes vs regressions, hidden tests |
| 64 | 🎓 Educational | Thinking Budgets From Scratch | Pure Python + OpenAI | Reasoning effort none-to-high vs checked retries, vote, picker and cascade on scored SQL |
Explore our extensive list of GenAI agent implementations, sorted by categories:
🌱 Beginner-Friendly Agents
-
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.
-
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.
-
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
-
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 📚
-
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
-
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 📚
-
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 📚
-
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
-
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.
-
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.
-
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.
-
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 📚
-
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 📚
-
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 📚
-
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
-
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.
-
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 Realtime API (gpt-realtime-2.1-mini). The system adapts its output based on the identified content type (general, poem, news, or joke).
-
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.
-
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 📚
-
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 📚
-
Murder Mystery Game with LLM Agents
Overview 🔎
A text-based detective game that utilizes autonomous LLM agents as interactive characters in a procedurally generated murder mystery. Drawing inspiration from the UNBOUNDED paper, the system creates unique scenarios each time, with players taking on the role of Sherlock Holmes to solve the case through character interviews and deductive reasoning.
Implementation 🛠️
Leverages two LangGraph workflows - a main game loop for story/character generation and game progression, and a conversation sub-graph for character interactions. The system uses a combination of LLM-powered narrative generation, character AI, and structured game mechanics to create an immersive investigative experience with replayable storylines.
Additional Resources 📚
📊 Analysis and Information Processing Agents
-
Memory-Enhanced Conversational Agent
Overview 🔎
A memory-enhanced conversational AI agent incorporates short-term and long-term memory systems to maintain context within conversations and across multiple sessions, improving interaction quality and personalization.
Implementation 🛠️
Integrates a language model with separate short-term and long-term memory stores, utilizes a prompt template incorporating both memory types, and employs a memory manager for storage and retrieval. The system includes an interaction loop that updates and utilizes memories for each response.
-
Multi-Agent Collaboration System
Overview 🔎
A multi-agent collaboration system combining historical research with data analysis, leveraging large language models to simulate specialized agents working together to answer complex historical questions.
Implementation 🛠️
Utilizes a base Agent class to create specialized HistoryResearchAgent and DataAnalysisAgent, orchestrated by a HistoryDataCollaborationSystem. The system follows a five-step process: historical context provision, data needs identification, historical data provision, data analysis, and final synthesis.
-
Overview 🔎
A Self-Improving Agent using LangChain engages in conversations, learns from interactions, and continuously improves its performance over time through reflection and adaptation.
Implementation 🛠️
Integrates a language model with chat history management, response generation, and a reflection mechanism. The system employs a learning system that incorporates insights from reflection to enhance future performance, creating a continuous improvement loop.
-
Overview 🔎
A language model application using LangChain that summarizes text and translates the summary to Spanish, combining custom functions, structured tools, and an agent for efficient text processing.
Implementation 🛠️
Utilizes custom functions for summarization and translation, wrapped as structured tools. Employs a prompt template to guide the agent, which orchestrates the use of tools. An agent executor manages the process, taking input text and producing both an English summary and its Spanish translation.
-
Internet Search and Summarize Agent
Overview 🔎
An intelligent web research assistant that combines web search capabilities with AI-powered summarization, automating the process of gathering information from the internet and distilling it into concise, relevant summaries.
Implementation 🛠️
Integrates a web search module using DuckDuckGo's API, a result parser, and a text summarization engine leveraging OpenAI's language models. The system performs site-specific or general searches, extracts relevant content, generates concise summaries, and compiles attributed results for efficient information retrieval and synthesis.
-
Multi agent research team - Autogen
Overview 🔎
This technique explores a multi-agent system for collaborative research using the AutoGen library. It employs agents to solve tasks collaboratively, focusing on efficient execution and quality assurance. The system enhances research by distributing tasks among specialized agents.
Implementation 🛠️
Agents are configured with specific roles using the GPT-4 model, including admin, developer, planner, executor, and quality assurance. Interaction management ensures orderly communication with defined transitions. Task execution involves collaborative planning, coding, execution, and quality checking, demonstrating a scalable framework for various domains.
Additional Resources 📚
-
Overview 🔎
An intelligent system that automates the analysis of sales call recordings by combining audio transcription with advanced natural language processing. The analyzer transcribes audio using OpenAI's gpt-transcribe, processes the text using NLP techniques, and generates comprehensive reports including sentiment analysis, key phrases, pain points, and actionable recommendations to improve sales performance.
Implementation 🛠️
Utilizes multiple components in a structured workflow: OpenAI's gpt-transcribe for audio transcription, CrewAI for task automation and agent management, and LangChain for orchestrating the analysis pipeline. The system processes audio through a series of steps from transcription to detailed analysis, leveraging custom agents and tasks to generate structured JSON reports containing insights about customer sentiment, sales opportunities, and recommended improvements.
Additional Resources 📚
-
Weather Emergency & Response System
Overview 🔎
A comprehensive system demonstrating two agent graph implementations for weather emergency response: a real-time graph processing live weather data, and a hybrid graph combining real and simulated data for testing high-severity scenarios. The system handles complete workflow from data gathering through emergency plan generation, with automated notifications and human verification steps.
Implementation 🛠️
Utilizes LangGraph for orchestrating complex workflows with state management, integrating OpenWeatherMap API for real-time data, and Gemini for analysis and response generation. The system incorporates email notifications, social media monitoring simulation, and severity-based routing with configurable human verification for low/medium severity events.
Additional Resources 📚
-
Overview 🔎
An intelligent system that automatically detects, diagnoses, and fixes runtime code errors using LangGraph workflow orchestration and ChromaDB vector storage. The system maintains a memory of encountered bugs and their fixes through vector embeddings, enabling pattern recognition for similar errors across the codebase.
Implementation 🛠️
Utilizes a state-based graph workflow that processes function definitions and runtime arguments through specialized nodes for error detection, code analysis, and fix generation. Incorporates ChromaDB for vector-based storage of bug patterns and fixes, with automated search and retrieval capabilities for similar error patterns, while maintaining code execution safety through structured validation steps.
Additional Resources 📚
-
DataScribe: AI-Powered Schema Explorer
Overview 🔎
An intelligent agent system that enables intuitive exploration and querying of relational databases through natural language interactions. The system utilizes a fleet of specialized agents, coordinated by a stateful Supervisor, to handle schema discovery, query planning, and data analysis tasks while maintaining contextual understanding through vector-based relationship graphs.
Implementation 🛠️
Leverages LangGraph for orchestrating a multi-agent workflow including discovery, inference, and planning agents, with NetworkX for relationship graph visualization and management. The system incorporates dynamic state management through TypedDict classes, maintains database context between sessions using a db_graph attribute, and includes safety measures to prevent unauthorized database modifications.
-
Memory-Enhanced Email Agent (LangGraph & LangMem)
Overview 🔎
An intelligent email assistant that combines three types of memory (semantic, episodic, and procedural) to create a system that improves over time. The agent can triage incoming emails, draft contextually appropriate responses using stored knowledge, and enhance its performance based on user feedback.
Implementation 🛠️
Leverages LangGraph for workflow orchestration and LangMem for sophisticated memory management across multiple memory types. The system implements a triage workflow with memory-enhanced decision making, specialized tools for email composition and calendar management, and a self-improvement mechanism that updates its own prompts based on feedback and past performance.
Additional Resources 📚
📰 News and Information Agents
-
Overview 🔎
A n
