AutoGen: A Multi-Agent Framework - Overview and Improvements. Prompt Engineering January, 2024.
AutoGen: A Multi-Agent Framework - Overview and Improvements [link]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