AutoGen: Enable Next-Gen Large Language Model Applications

1 min


Enable Next-Gen Large Language Model Applications

Github logo

AutoGen is a platform that supports the creation of LLM applications with multiple agents that can communicate with each other to accomplish tasks. AutoGen agents are adaptable, interactive, and smoothly integrate human involvement. They can work in different modes that use combinations of LLMs, human inputs, and tools.


Getting Started 🚀

If you want to get started right away, follow these simple steps:

1. Click on the button below to launch the GitHub Codespace

Open in GitHub Codespaces

2. Rename OAI_CONFIG_LIST_sample to OAI_CONFIG_LIST and move it to /notebook folder. Make sure to adjust the config settings as needed.

3. Enjoy exploring the notebooks!

AutoGen is a framework for creating LLM applications with conversational agents and minimal coding
AutoGen supports various conversation patterns and agent configurations for complex workflows
AutoGen showcases a range of working systems from different domains and complexities
AutoGen offers an enhanced inference API with performance tuning, utilities, and advanced features
AutoGen is based on collaborative research from Microsoft, Penn State University, and the University of Washington


To use AutoGen, you need Python version 3.8 or higher. You can get it from pip:

pip install pyautogen

This will install the basic dependencies. For additional features, you can specify extra options when installing.

See Installation for more options.

We highly recommend using docker and the python docker package for code execution.

For LLM inference settings, refer to the FAQs.

from autogen import AssistantAgent, UserProxyAgent, config_list_from_json
# Load LLM inference endpoints from an env variable or a file
# See
# and OAI_CONFIG_LIST_sample
config_list = config_list_from_json(env_or_file="OAI_CONFIG_LIST")
# You can also set config_list directly as a list, for example, config_list = [{'model': 'gpt-4', 'api_key': '<your OpenAI API key here>'},]  
assistant = AssistantAgent("assistant", llm_config={"config_list": config_list})
user_proxy = UserProxyAgent("user_proxy", code_execution_config={"work_dir": "coding"})
user_proxy.initiate_chat(assistant, message="Plot a chart of NVDA and TESLA stock price change YTD.")
# This initiates an automated chat between the two agents to solve the task

Multi-Agent Conversation Framework

Autogen is a generic framework for building next-gen LLM applications that involve multi-agent conversations. It allows users to create and customize conversable agents that can integrate LLMs, tools, and humans. By enabling chat among multiple intelligent agents, Autogen can facilitate tasks that require collective problem-solving, automation, or human guidance, including tasks that involve using tools via code.

Some of the features of this use case are:

âś…Multi-agent conversations

Autogen enables communication among different agents to accomplish tasks. This enables more advanced and diverse applications than what a single LLM can do.


Autogen allows users to tailor the agents to their specific application needs. This includes the option to select the LLMs, the human input modes, and the tools to use.

âś…Human participation

Autogen smoothly integrates human involvement. This means that humans can interact with and provide feedback to the agents as needed.

Join Guidady AI Mail List

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Like it? Share with your friends!



Your email address will not be published. Required fields are marked *


I am an IT engineer, content creator, and proud father with a passion for innovation and excellence. In both my personal and professional life, I strive for excellence and am committed to finding innovative solutions to complex problems.
Choose A Format
Personality quiz
Series of questions that intends to reveal something about the personality
Trivia quiz
Series of questions with right and wrong answers that intends to check knowledge
Voting to make decisions or determine opinions
Formatted Text with Embeds and Visuals
The Classic Internet Listicles
The Classic Internet Countdowns
Open List
Submit your own item and vote up for the best submission
Ranked List
Upvote or downvote to decide the best list item
Upload your own images to make custom memes
Youtube and Vimeo Embeds
Soundcloud or Mixcloud Embeds
Photo or GIF
GIF format