Building Generative AI Agents: Using LangGraph, AutoGen, and CrewAI

by Tom Taulli, Gaurav Deshmukh

Artificial Intelligence

Book Details

Book Title

Building Generative AI Agents: Using LangGraph, AutoGen, and CrewAI

Author

Tom Taulli, Gaurav Deshmukh

Publisher

Apress

Publication Date

2025

ISBN

9798868811333

Number of Pages

278

Language

English

Format

PDF

File Size

5.01MB

Subject

Artificial Intelligence

Table of Contents

  • Building Generative AI Agents: Using LangGraph, AutoGen, and CrewAI
  • About the Authors
  • Chapter 1: Introduction to AI Agents
  • What Are AI Agents?
  • UI and UX
  • New Approaches to Development
  • Flavors of AI Agents
  • Brief History
  • LLMs, Copilots, and RPA
  • Sierra
  • Enso
  • Asana
  • Conclusion
  • Chapter 2: Generative AI Foundations
  • Pretrained Models
  • Transformer Models
  • Transfer Learning
  • Alignment in Language Models
  • Multimodal LLMs
  • Types of Models
  • Proprietary LLMs
  • Open Source LLMs and SLMs
  • Prompt Engineering
  • Time to Think
  • Going Beyond the Transformer
  • Conclusion
  • Chapter 3: Types of Agents
  • Simple Reflex Agents
  • Model-Based Reflex Agents
  • Goal-Based Agents
  • Utility-Based Agents
  • Learning Agents
  • Hierarchical Agents
  • Conclusion
  • Chapter 4: OpenAI GPTs and the Assistants API
  • Registering for the OpenAI API Key
  • Chapter 5: Developing Agents
  • Jupyter Notebook, VS Code, and Google Colab
  • How to Use Jupyter Notebooks
  • Google Colab
  • Streamlit, Gradio, and Jupyter Widgets
  • Hugging Face
  • Languages
  • Using LLMs (Large Language Models)
  • Setting Up and Using Ollama
  • Using Ollama with Google Colab
  • Customizing LLMs
  • Conclusion
  • Chapter 6: CrewAI
  • The Basics
  • Agents
  • Tasks
  • Tools
  • Crews
  • Processes
  • Memory
  • Financial Planning Agent
  • Product Launch Orchestrator
  • Customer Call Center Processing
  • Retrieval-Augmented Generation (RAG)
  • Connecting LLMs
  • Conclusion
  • Chapter 7: AutoGen
  • ConversableAgent
  • Reflection Agent
  • Tool Use
  • Group Chat
  • Web Search Agent
  • Retrieval-Augmented Generation (RAG)
  • Using Ollama
  • AutoGen Studio
  • Conclusion
  • Chapter 8: LangChain
  • Background
  • The Components
  • Models
  • Prompt Templates
  • Output Parsers
  • Document Loaders
  • Text Splitters
  • Memory
  • Key Concepts of LangChain Agents
  • Types of Agents
  • ReAct Agent
  • Agent Program
  • Conclusion
  • Chapter 9: Introduction to LangGraph
  • Benefits of Combining LangChain with LangGraph
  • Pros and Cons of LangGraph
  • Chapter 10: Haystack
  • Haystack Program
  • Haystack Agent with Function Calling
  • Conclusion
  • Chapter 11: Takeaways
  • Rethinking Software
  • The Challenges
  • AI Agent Frameworks
  • Conclusion
  • Glossary
  • Index