AutoGen: A Multi-Agent Framework - Overview and Improvements. Prompt Engineering January, 2024.
Paper abstract bibtex AutoGen is a popular multi-agent framework by Microsoft that enables you to define your own agents by specifying the name and the description (as the system prompt) for each agent, and setting up a two-agent or group setting for conversation to happen. You can integrate various custom replies via the register_reply function, which specify how to reply to specific triggers (e.g. specific agents, specific keywords in messages). You can also integrate the agents with pre-defined tools/functions by specifying them in "llm-config" and registering the function via "register_function". See / autogen-essentials-function-integration-fo... for details. All in all, AutoGen is a great first start for a multi-agent framework. I personally find the prompt very lengthy, and the conversation framework very verbose. It would be better if we have a more streamlined workflow (perhaps a templated list of actions tailored to a particular use case) with shorter LLM prompts for it to be more performant. At the last part of the presentation, Soham Sarkar (@Crit) demonstrated his working implementation of AutoGen for his own use case of adding a company into a database! ~~~~~ Github: https://github.com/microsoft/autogen Paper: https://arxiv.org/abs/2308.08155 My template AutoGen notebook: https://github.com/tanchongmin/Tensor... My AutoGen Slides: https://github.com/tanchongmin/Tensor... ~~~~~ 0:00 Introduction and Code Walkthrough 23:54 Basic Agent Structure 32:04 Prompt for Agents 36:13 RAG on Demand Agent 39:08 Grounding Message Agent 46:31 Red-teaming and Blue-teaming Agents 48:26 Advanced Topics - Dynamic Conversation Flow 50:44 More Agents = Better? 53:27 Self-correcting code with a suite of agents 55:00 Pseudo Multi-Agent Conversation 57:45 Is conversation really necessary to do tasks? 59:02 Takeaways from AutoGen 1:03:34 Discussion 1:24:05 Demo by Sarkar! ~~~~~ AI and ML enthusiast. Likes to think about the essences behind breakthroughs of AI and explain it in a simple and relatable way. Also, I am an avid game creator. Discord: / discord LinkedIn: / chong-min-tan-94652288 Online AI blog: https://delvingintotech.wordpress.com/ Twitter: / johntanchongmin Try out my games here: https://simmer.io/@chongmin
@misc{prompt_engineering_autogen_2024,
title = {{AutoGen}: {A} {Multi}-{Agent} {Framework} - {Overview} and {Improvements}},
shorttitle = {{AutoGen}},
url = {https://www.youtube.com/watch?v=2VIoG4_r3-A},
abstract = {AutoGen is a popular multi-agent framework by Microsoft that enables you to define your own agents by specifying the name and the description (as the system prompt) for each agent, and setting up a two-agent or group setting for conversation to happen.
You can integrate various custom replies via the register\_reply function, which specify how to reply to specific triggers (e.g. specific agents, specific keywords in messages).
You can also integrate the agents with pre-defined tools/functions by specifying them in "llm-config" and registering the function via "register\_function". See / autogen-essentials-function-integration-fo... for details.
All in all, AutoGen is a great first start for a multi-agent framework. I personally find the prompt very lengthy, and the conversation framework very verbose. It would be better if we have a more streamlined workflow (perhaps a templated list of actions tailored to a particular use case) with shorter LLM prompts for it to be more performant.
At the last part of the presentation, Soham Sarkar (@Crit) demonstrated his working implementation of AutoGen for his own use case of adding a company into a database!
{\textasciitilde}{\textasciitilde}{\textasciitilde}{\textasciitilde}{\textasciitilde}
Github: https://github.com/microsoft/autogen
Paper: https://arxiv.org/abs/2308.08155
My template AutoGen notebook: https://github.com/tanchongmin/Tensor...
My AutoGen Slides: https://github.com/tanchongmin/Tensor...
{\textasciitilde}{\textasciitilde}{\textasciitilde}{\textasciitilde}{\textasciitilde}
0:00 Introduction and Code Walkthrough
23:54 Basic Agent Structure
32:04 Prompt for Agents
36:13 RAG on Demand Agent
39:08 Grounding Message Agent
46:31 Red-teaming and Blue-teaming Agents
48:26 Advanced Topics - Dynamic Conversation Flow
50:44 More Agents = Better?
53:27 Self-correcting code with a suite of agents
55:00 Pseudo Multi-Agent Conversation
57:45 Is conversation really necessary to do tasks?
59:02 Takeaways from AutoGen
1:03:34 Discussion
1:24:05 Demo by Sarkar!
{\textasciitilde}{\textasciitilde}{\textasciitilde}{\textasciitilde}{\textasciitilde}
AI and ML enthusiast. Likes to think about the essences behind breakthroughs of AI and explain it in a simple and relatable way. Also, I am an avid game creator.
Discord: / discord
LinkedIn: / chong-min-tan-94652288
Online AI blog: https://delvingintotech.wordpress.com/
Twitter: / johntanchongmin
Try out my games here: https://simmer.io/@chongmin},
urldate = {2024-01-26},
author = {{Prompt Engineering}},
month = jan,
year = {2024},
keywords = {/unread},
}
Downloads: 0
{"_id":"zTDg5qW9bvBBbpSfj","bibbaseid":"promptengineering-autogenamultiagentframeworkoverviewandimprovements-2024","author_short":["Prompt Engineering"],"bibdata":{"bibtype":"misc","type":"misc","title":"AutoGen: A Multi-Agent Framework - Overview and Improvements","shorttitle":"AutoGen","url":"https://www.youtube.com/watch?v=2VIoG4_r3-A","abstract":"AutoGen is a popular multi-agent framework by Microsoft that enables you to define your own agents by specifying the name and the description (as the system prompt) for each agent, and setting up a two-agent or group setting for conversation to happen. You can integrate various custom replies via the register_reply function, which specify how to reply to specific triggers (e.g. specific agents, specific keywords in messages). You can also integrate the agents with pre-defined tools/functions by specifying them in \"llm-config\" and registering the function via \"register_function\". See / autogen-essentials-function-integration-fo... for details. All in all, AutoGen is a great first start for a multi-agent framework. I personally find the prompt very lengthy, and the conversation framework very verbose. It would be better if we have a more streamlined workflow (perhaps a templated list of actions tailored to a particular use case) with shorter LLM prompts for it to be more performant. At the last part of the presentation, Soham Sarkar (@Crit) demonstrated his working implementation of AutoGen for his own use case of adding a company into a database! ~~~~~ Github: https://github.com/microsoft/autogen Paper: https://arxiv.org/abs/2308.08155 My template AutoGen notebook: https://github.com/tanchongmin/Tensor... My AutoGen Slides: https://github.com/tanchongmin/Tensor... ~~~~~ 0:00 Introduction and Code Walkthrough 23:54 Basic Agent Structure 32:04 Prompt for Agents 36:13 RAG on Demand Agent 39:08 Grounding Message Agent 46:31 Red-teaming and Blue-teaming Agents 48:26 Advanced Topics - Dynamic Conversation Flow 50:44 More Agents = Better? 53:27 Self-correcting code with a suite of agents 55:00 Pseudo Multi-Agent Conversation 57:45 Is conversation really necessary to do tasks? 59:02 Takeaways from AutoGen 1:03:34 Discussion 1:24:05 Demo by Sarkar! ~~~~~ AI and ML enthusiast. Likes to think about the essences behind breakthroughs of AI and explain it in a simple and relatable way. Also, I am an avid game creator. Discord: / discord LinkedIn: / chong-min-tan-94652288 Online AI blog: https://delvingintotech.wordpress.com/ Twitter: / johntanchongmin Try out my games here: https://simmer.io/@chongmin","urldate":"2024-01-26","author":[{"firstnames":[],"propositions":[],"lastnames":["Prompt Engineering"],"suffixes":[]}],"month":"January","year":"2024","keywords":"/unread","bibtex":"@misc{prompt_engineering_autogen_2024,\n\ttitle = {{AutoGen}: {A} {Multi}-{Agent} {Framework} - {Overview} and {Improvements}},\n\tshorttitle = {{AutoGen}},\n\turl = {https://www.youtube.com/watch?v=2VIoG4_r3-A},\n\tabstract = {AutoGen is a popular multi-agent framework by Microsoft that enables you to define your own agents by specifying the name and the description (as the system prompt) for each agent, and setting up a two-agent or group setting for conversation to happen.\n\nYou can integrate various custom replies via the register\\_reply function, which specify how to reply to specific triggers (e.g. specific agents, specific keywords in messages). \n\nYou can also integrate the agents with pre-defined tools/functions by specifying them in \"llm-config\" and registering the function via \"register\\_function\". See / autogen-essentials-function-integration-fo... for details.\n\nAll in all, AutoGen is a great first start for a multi-agent framework. I personally find the prompt very lengthy, and the conversation framework very verbose. It would be better if we have a more streamlined workflow (perhaps a templated list of actions tailored to a particular use case) with shorter LLM prompts for it to be more performant.\n\nAt the last part of the presentation, Soham Sarkar (@Crit) demonstrated his working implementation of AutoGen for his own use case of adding a company into a database!\n\n{\\textasciitilde}{\\textasciitilde}{\\textasciitilde}{\\textasciitilde}{\\textasciitilde}\n\nGithub: https://github.com/microsoft/autogen\nPaper: https://arxiv.org/abs/2308.08155\n\nMy template AutoGen notebook: https://github.com/tanchongmin/Tensor...\nMy AutoGen Slides: https://github.com/tanchongmin/Tensor...\n\n{\\textasciitilde}{\\textasciitilde}{\\textasciitilde}{\\textasciitilde}{\\textasciitilde}\n\n0:00 Introduction and Code Walkthrough\n23:54 Basic Agent Structure\n32:04 Prompt for Agents\n36:13 RAG on Demand Agent\n39:08 Grounding Message Agent\n46:31 Red-teaming and Blue-teaming Agents\n48:26 Advanced Topics - Dynamic Conversation Flow\n50:44 More Agents = Better?\n53:27 Self-correcting code with a suite of agents\n55:00 Pseudo Multi-Agent Conversation\n57:45 Is conversation really necessary to do tasks?\n59:02 Takeaways from AutoGen\n1:03:34 Discussion\n1:24:05 Demo by Sarkar!\n\n{\\textasciitilde}{\\textasciitilde}{\\textasciitilde}{\\textasciitilde}{\\textasciitilde}\n\nAI and ML enthusiast. Likes to think about the essences behind breakthroughs of AI and explain it in a simple and relatable way. Also, I am an avid game creator.\n\nDiscord: / discord \nLinkedIn: / chong-min-tan-94652288 \nOnline AI blog: https://delvingintotech.wordpress.com/\nTwitter: / johntanchongmin \nTry out my games here: https://simmer.io/@chongmin},\n\turldate = {2024-01-26},\n\tauthor = {{Prompt Engineering}},\n\tmonth = jan,\n\tyear = {2024},\n\tkeywords = {/unread},\n}\n\n","author_short":["Prompt Engineering"],"key":"prompt_engineering_autogen_2024","id":"prompt_engineering_autogen_2024","bibbaseid":"promptengineering-autogenamultiagentframeworkoverviewandimprovements-2024","role":"author","urls":{"Paper":"https://www.youtube.com/watch?v=2VIoG4_r3-A"},"keyword":["/unread"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/alexphoto","dataSources":["xFKgoYWMc8jcB9rcq"],"keywords":["/unread"],"search_terms":["autogen","multi","agent","framework","overview","improvements","prompt engineering"],"title":"AutoGen: A Multi-Agent Framework - Overview and Improvements","year":2024}