
Understand what is this course about.
Install and verify Python for building intelligent multi-agent applications with Autogen 0.6, choosing the latest stable version and following OS-specific installers.
Install and configure Visual Studio Code for the course, explore editor settings and themes, and install Python and Jupyter extensions to enable debugging, formatting, and notebooks within the editor.
Download the autogen code from GitHub, extract and rename it, then open visual studio code, create and activate a virtual environment, and install dependencies from requirements.txt.
Learn how AI agents empower large language models with tools and private organizational data to provide context-aware answers through autonomous decision making, goal orientation, adaptability, and interactivity.
Explore how AI agents combine components and large language models to interpret information, access external knowledge, use tools and APIs, and automate business processes.
AutoGen is an open source framework to build multi-agent ai applications, offering core, agent, shared, and extension libraries with asynchronous messaging and event-driven or request-response patterns.
Explore large language models and their interactive use with chatgpt. Learn to connect ai agents to llm services via openai api, azure openai, and olma for llama.
Learn how to decide which LM model to use for autogen applications by evaluating context window, tool calling, vision, reasoning, performance, cost, accuracy, and model comparisons.
Create and manage an OpenAI API key by signing up, verifying your account, setting billing, purchasing credits, and generating a secret key to use in your code.
Test the OpenAI API key in an AutoGen project by using a secure .env file, loading variables, and running code in VS Code.
learn how Autogen extensions access OpenAI services, configure user, system, and assistant messages, select a model like GPT four mini, and invoke the OpenAI client to respond.
Explore using open source llm models like llama 3.2 with AutoGen to build intelligent agents on your own hardware, installing and running locally, and integrating via AutoGen and Allama clients.
Autogen messages enable seamless communication between agents. They include agent-to-agent and internal events types, support text and multimodal content, and show how to define and send messages to coordinate actions.
The lecture shows defining a text message from the Autogen messages module, setting the user as source, and sending it to an assistant agent powered by a GPT-4 mini LLM.
Discover the AutoGen 0.6 agent chat framework, importing agents like base chat, assistant, code executor, society of mind, and user proxy, and using methods like own messages and on reset.
Explore tool calling and function calling in agentic frameworks, enabling agents to perform actions via APIs and access external data, with reflect on tool use and handoff in Autogen.
Explore how the assistant agent in the Autogen 0.6 framework uses language models and tool calling to execute actions, manage memory, and hand off tasks between agents.
Understand how on_messages updates the agent's message history and exposes inner messages for debugging, then learn how the run method provides a simpler, task-based interface for agent interactions.
Examine two ways to use a function as a tool: function calls and the function tool class from Autogen core tools, including reflect on tool use.
Explore the user proxy agent in Autogen to simulate human input with a custom input function, using async workflows, and incorporate timeout handling and exceptions.
Explore combining text and image data in multi-modal AI tasks within the AutoGen framework, using multimodal messages and the assistant agent to describe forest scenes and locate a cat.
Explore real-time token streaming from language models using the streaming feature. Use the assistant agent with model client stream set to true to print tokens as they are generated.
Develop a Streamlit-based user interface to input Python code via an input box and receive an Autogen agent's explanation, debugging tips, and optimization suggestions, using a single agent.
This code walkthrough demonstrates a streamlit-powered frontend that analyzes user-provided python code, explains it, and offers optimization suggestions using an agent-based code expert workflow.
Learn how a team of specialized agents, writer, summariser, and reviewer, collaborates to tackle complex tasks by assigning goals and routing actions via a planner.
Explore available group chat teams in AutoGen, including base, round robin, sequential writer and reviewer, selector group chat, swarm, and magnetic one group chat orchestrated by the magnetic one orchestrator.
Run a round robin group chat with two agents sharing context and taking turns; draft creates the blog post and the enhancement optimizes for readability and seo, ending with final.
Learn how to involve humans in the loop for a multi-agent team by using a user proxy agent or post-run feedback, and persist state across sessions.
Learn how termination conditions govern multi-agent teams, using max message termination condition and text message termination condition to stop at the right moment and prevent output issues.
Explore how the Autogen selector group chat uses an LLM to decide the next speaker, delegate tasks to planner, weather, and currency agents, and return completed conversation history.
Learn how a planning agent delegates weather and currency tasks to specialized agents in a selector group chat. Configure tools, system messages, and termination rules to govern task execution.
Showcase running a selector group chat with a custom selector function to coordinate weather and currency agents, using tool calls and planning agent for task termination.
Showcases an ecommerce customer support chatbot built with AutoGen 0.6, using six specialized agents and a Streamlit frontend with a FastAPI backend for tasks like orders and inquiries.
Explore the project structure of a multi-agent ai chatbot for customer support using autogen, with streamlit frontend and fast api backend, and queries about price, stock, orders, and complaints.
Explore how to set up a FastAPI backed multi-agent chatbot by building a lightweight uvicorn server, exposing a chat endpoint, and routing queries through a backend function.
Explore backend architecture in teams.py that configures an agent team, defines product and order databases, and deploys tools for product inquiry, order placement, order status, and complaint registration.
Discover how the planning agent identifies requests, delegates tasks to product inquiry, order placement, order status, and complaint agents, and how termination conditions and the response agent format final replies.
Test a multi-agent chat portal by running streamlit and uvicorn, place a guest order for iPhone 15 Pro, retrieve price and stock, and validate agent-to-tool coordination for production-ready projects.
Manage agent and team states in AI workflows by saving and loading agent states and team states across sessions, using file systems or databases.
Explore magnetic one, a multi-agent system with web server, file server, coder, and terminal agents that read content and summarize quantum computing papers via a multimodal web server.
Microsoft has re-architected the AutoGen framework in version 0.4, and this course is entirely based on the updated version.
The future of AI is multi-agent collaboration, where intelligent agents work together to solve complex tasks efficiently. This course is designed to help you master the AutoGen framework (v 0.4+), a powerful tool for building and orchestrating AI agents that interact, reason, and collaborate. Whether you're an AI enthusiast, a developer, or a researcher, this course will equip you with the skills to build and deploy scalable multi-agent applications.
What You Will Learn
Fundamentals of Multi-Agent Systems – Understand the core components of AI agents, their use cases, and how they enhance AI-driven workflows.
Setting Up Your Development Environment – Learn how to install Python, set up VS Code, create virtual environments, and install necessary dependencies.
Deep Dive into AutoGen – Explore AutoGen’s architecture, libraries, and capabilities, including working with OpenAI and open-source LLaMA models.
Key AutoGen Concepts – Master agent messaging, user proxy agents, assistant agents, streaming responses, and multi-modal AI integration.
Team-Based AI Agent Collaboration – Learn how to organize AI agents into teams, define termination conditions, and implement SelectorGroupChat for LLM-based agent selection.
Advanced Multi-Agent Concepts – Explore state management in AI workflows and dive into Magentic-One, a generalist multi-agent system for web and file-based tasks.
Hands-On Projects – Implement real-world AI agent applications, including:
Project 1: Develop a Streamlit-based AI Agent App, understand and optimize code with agent
Project 2: Build a Multi-Agent AI Chatbot for Customer Support that interacts with users of ecommerce portal and processes queries dynamically.
Who Should Take This Course?
AI & ML practitioners looking to build intelligent AI agents
Developers interested in AutoGen, AutoGen AgentChat and AI automation
Researchers exploring multi-agent collaboration
Anyone eager to develop AI-powered applications
By the end of this course, you will have hands-on experience building and optimizing AI-driven multi-agent systems using AutoGen, setting you up to develop next-gen AI solutions.