This repository contains code examples for building multi-agent applications (powered by generative AI models) based on the AutoGen framework and is the official code repository for the book - Multi-Agent Systems with AutoGen, published by Manning Publications.
The book is currently available for pre-order in the Manning Early Access Program (only the first few chapters are available currently).
Pre-order the book now at https://mng.bz/eVP9.
Tip
Use the code mldibia for a 50% discount, valid until August 5th.
In Multi-Agent Systems with AutoGen, you will learn about the core components of agents (Generative AI models, tools, memory, orchestration), how to implement them in python code using the AutoGen framework, how to evaluate, optimize and deploy them in your applications. Overall, the book will cover:
Note
If you downloaded the code bundle from the Manning website, please consider visiting the official code repository on GitHub at https://github.com/victordibia/multiagent-systems-with-autogen for the latest updates.
To download a copy of this code repository, click on the Download Zip button or run the following code from your terminal.
git clone --depth 1 https https://github.com/victordibia/multiagent-systems-with-autogen.git
This section explains how to install the pre-requisite libraries so that you can use the notebooks within this book. So that the libraries are safely installed for the context of this book, we use the python virtual environment concept.
git clone https://github.com/victordibia/multiagent-systems-with-autogen.git
cd multiagent-systems-with-autogen
python -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
jupyter lab
The code in this repo is organized into chapters (shown in the table). Each chapter contains code for the various concepts and tools discussed in the book.
Chapter | Description | Code |
---|---|---|
1 | Understanding Multi-Agent Systems | no code |
2 | Building Your First Multi-Agent Application | - Your first multi-agent application - Orchestrating groups of agents |
3 | The User Experience (UX) for Multi-Agent Systems | no code |
4 | Interface Agents | - Interface library (built from scratch) - Implementing an interface agent notebook |
If you have any questions or feedback about the book or the code in this repository, please feel free to open an issue.
For questions about the AutoGen framework, you can also visit the AutoGen GitHub repository or the AutoGen documentation.
If you find this book or code useful for your research, please consider citing it:
@book{multiagentsystems2024,
author = {Dibia, Victor and Wang, Chi},
title = {Multi-Agent Systems with AutoGen},
publisher = {Manning},
year = {2024},
isbn = {9781633436145},
url = {https://www.manning.com/books/multi-agent-systems-with-autogen},
github = {https://github.com/victordibia/multiagent-systems-with-autogen}
}