Skip to content

A short set of exercises that showcase the usage of autogen to create agents

License

Notifications You must be signed in to change notification settings

Azure-Samples/multi-agent-workshop

Repository files navigation

Multi-Agent Workshop

This project showcases autogen (0.4) by presenting a set of simple scripts that create different type of agents and interactions between them with the purpose of highlighting the main capabilities of the agentic framework. This repo is based on https://github.com/krishsub/MultiagentHackathon.

Getting Started

Prerequisites

  • dev container option: The project provides a devcontainer configuration that can be used with github codespaces or your own local dev container. So, if you opt for this, you need to have docker in your system
  • venv option: if you have python > 3.8 you could choose to create a venv and install all the requirements there.

Quickstart

Environment Variables

For this set of scripts, a gpt-4o model instance was used. Create a .env file with your Azure OpenAI credentials in the src folder:

AZURE_OPENAI_API_KEY=your_api_key
AZURE_OPENAI_ENDPOINT=your_endpoint

Installation

Choose one of the following methods to run the different scripts. Make sure to cd src.

Option 1: Using uv (Recommended)

uv is a fast Python package installer and runner. If you haven't installed it yet:

curl -LsSf https://astral.sh/uv/install.sh | sh

Then run the script directly (this will automatically install dependencies):

uv run 0X_SCRIPT_NAME.py

Option 2: Using pip

  1. Install dependencies:

    pip install -r requirements.txt
  2. Run the script:

    python 0X_SCRIPT_NAME.py

About

A short set of exercises that showcase the usage of autogen to create agents

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages