MetaGPT: Meta Programming for a Multi-Agent Collaborative Framework

Abstract

Recently, remarkable progress has been made on automated problem solving through societies of agents based on large language models (LLMs). Previous LLM-based multi-agent systems can already solve simple dialogue tasks. More complex tasks, however, face challenges through logic inconsistencies due to cascading hallucinations caused by naively chaining LLMs. Here we introduce MetaGPT, an innovative meta-programming framework incorporating efficient human workflows into LLM-based multi-agent collaborations. MetaGPT encodes Standardized Operating Procedures (SOPs) into prompt sequences for more streamlined workflows, thus allowing agents with human-like domain expertise to verify intermediate results and reduce errors. MetaGPT utilizes an assembly line paradigm to assign diverse roles to various agents, efficiently breaking down complex tasks into subtasks involving many agents working together. On collaborative software engineering benchmarks, MetaGPT generates more coherent solutions than previous chat-based multi-agent systems.

Cite

Text

Hong et al. "MetaGPT: Meta Programming for a Multi-Agent Collaborative Framework." International Conference on Learning Representations, 2024.

Markdown

[Hong et al. "MetaGPT: Meta Programming for a Multi-Agent Collaborative Framework." International Conference on Learning Representations, 2024.](https://mlanthology.org/iclr/2024/hong2024iclr-metagpt/)

BibTeX

@inproceedings{hong2024iclr-metagpt,
  title     = {{MetaGPT: Meta Programming for a Multi-Agent Collaborative Framework}},
  author    = {Hong, Sirui and Zhuge, Mingchen and Chen, Jonathan and Zheng, Xiawu and Cheng, Yuheng and Wang, Jinlin and Zhang, Ceyao and Wang, Zili and Yau, Steven Ka Shing and Lin, Zijuan and Zhou, Liyang and Ran, Chenyu and Xiao, Lingfeng and Wu, Chenglin and Schmidhuber, Jürgen},
  booktitle = {International Conference on Learning Representations},
  year      = {2024},
  url       = {https://mlanthology.org/iclr/2024/hong2024iclr-metagpt/}
}