Skip to content

luiscga/AgenticWorkshop-AutoGen

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Workshop Banner

πŸš€ Agentic AI Workshop - AutoGen

A comprehensive workshop for exploring Microsoft AutoGen - the multi-agent conversational AI framework.

🎯 Workshop Overview

This workshop is designed to provide a deep dive into AutoGen, Microsoft's powerful framework for building multi-agent conversational AI systems. You'll learn how to create individual agents, build complex multi-agent systems, and integrate AutoGen with external tools and services.

πŸ“‹ Prerequisites

  • .NET 9.0 SDK or later
  • Visual Studio Code or Visual Studio 2022
  • Basic knowledge of C# programming
  • OpenAI API key or Azure OpenAI Service access
  • Git (for cloning repositories)

πŸš€ What is AutoGen?

autogen

AutoGen is a open-source framework that enables the creation of applications using multiple AI agents that can converse with each other to solve tasks. It simplifies the orchestration of complex workflows by allowing agents to:

  • Collaborate and communicate with each other
  • Execute code and validate results
  • Integrate with external tools and APIs
  • Maintain conversation context and memory
  • Support both chat-based and workflow-based interactions

types of agents

Key Features

  • Multi-Agent Conversations: Create systems where multiple AI agents collaborate
  • Code Execution: Built-in support for executing and validating code
  • Human-in-the-Loop: Seamless integration of human feedback and oversight
  • Extensible: Easy integration with external tools and APIs
  • Flexible: Support for various LLM providers (OpenAI, Azure OpenAI, etc.)

Autogen enables the next-gen LLM applications with a generic multi-agent conversation framework. It offers customizable and conversable agents which integrate LLMs, tools, and humans. By automating chat among multiple capable agents, one can easily make them collectively perform tasks autonomously or with human feedback, including tasks that require using tools via code.

The figure below shows an example conversation flow with AutoGen.

autogen conversation flow

πŸ›  Workshop Structure

Duration: 45 minutes

  • Understanding AutoGen basics
  • Creating your first AI agent
  • Basic conversation patterns
  • Agent configuration and customization

Duration: 45 minutes

  • Building a team of web-browsing agents
  • Implementing group chat
  • Leveraging Playwright for web automation
  • Web browsing and data extraction

Duration: 45 minutes

  • Building multi-agent conversations
  • Agent roles and responsibilities
  • Conversation flow control
  • Advanced agent interactions

Duration: 45 minutes

  • Setting up AutoGen Studio
  • Visual agent design
  • No-code multi-agent workflows
  • Studio configuration and customization

Duration: 45 minutes

  • Understanding Model Context Protocol (MCP)
  • Integrating AutoGen with GitHub MCP server
  • Code-based MCP integration
  • Studio-based MCP configuration

πŸŽ“ Learning Objectives

By the end of this workshop, you will be able to:

  1. Create and configure individual AutoGen agents
  2. Design and implement multi-agent conversational systems
  3. Use AutoGen Studio for visual agent development
  4. Integrate external tools and services using MCP
  5. Understand best practices for agent design and deployment
  6. Debug and troubleshoot agent interactions

πŸ“š Resources for Deeper Learning

Official Documentation

Research Papers

Community Resources

Related Technologies

πŸ”§ Setup Instructions

1. Clone the Repository

git clone https://github.com/your-username/AgenticWorkshop-AutoGen.git
cd AgenticWorkshop-AutoGen

2. Install .NET SDK

Download and install the latest .NET 8.0 SDK from dotnet.microsoft.com

3. Set Up API Keys

Create a .env file in the root directory:

OPENAI_API_KEY=your_openai_api_key_here
AZURE_OPENAI_ENDPOINT=your_azure_openai_endpoint
AZURE_OPENAI_API_KEY=your_azure_openai_key

4. Verify Installation

dotnet --version

πŸƒβ€β™‚οΈ Quick Start

  1. Navigate to Lab 01:

    cd src/lab01
  2. Restore dependencies:

    dotnet restore
  3. Run the first example:

    dotnet run

πŸ“– Workshop Flow

  1. Start with Lab 01 to understand AutoGen fundamentals
  2. Progress to Lab 02 for multi-agent system development
  3. Explore Lab 03 for visual development with AutoGen Studio
  4. Complete Lab 04 for advanced integrations with MCP

Each lab builds upon the previous one, so it's recommended to follow the sequential order.

🀝 Contributing

We welcome contributions to improve this workshop! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

πŸ“ License

This workshop is licensed under the MIT License. See LICENSE for details.

πŸ†˜ Support

If you encounter any issues during the workshop:

  1. Check the troubleshooting section in each lab's README
  2. Review the common issues in the FAQ
  3. Open an issue on GitHub
  4. Join the AutoGen Discord community for help

πŸŽ‰ Acknowledgments

Special thanks to the Microsoft AutoGen team for creating this amazing framework and the community contributors who have helped improve this workshop.


Happy Learning! πŸš€

Last updated: July 2025

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 99.0%
  • Python 1.0%