Wallpaper DIY Is the Perfect Way to Make Over Your Bedroom
Aug 23, 2023Imaginative new wallpapers help a room tell a story
Aug 13, 2023Aerobarrier offers a new way to improve airtightness
Aug 04, 2023MetaGPT Leverages Human Collaboration Techniques for Multi
Jul 25, 2023How to Clean Tile Floors of All Types, According to Experts
Jul 18, 2023MetaGPT Leverages Human Collaboration Techniques for Multi
InfoQ Homepage News MetaGPT Leverages Human Collaboration Techniques for Multi-Agent-Based Software Engineering
Aug 24, 2023 2 min read
by
Sergio De Simone
Created by a team of researchers from Chinese and US universities, MetaGPT is a new LLM-based meta programming framework aiming to enable collaboration in multi-agent systems by leveraging human procedural knowledge to enhance robustness, reduce errors, and engineer software solutions for complex tasks.
In this work, we present MetaGPT, a meta programming technology that utilizes SOPs to coordinate LLM-based multi-agent systems. SOPs serve as our strategy for organizing the collaboration of multi-agents which enhances the efficiency of their cooperative efforts.
MetaGPT takes a one-line requirement and builds user stories, competitive analysis, requirements, data structures, APIs, and other documents. It achieves that by replicating the structure of a software company. The researchers showed a demo where they ask MetaGPT to create a CLI blackjack game and have it generate all required artifacts including requirements, tests, and a working Python implementation of the game.
The central idea behind MetaGPT is encoding Standardized Operating Procedures (SOPs) into prompts to replicate efficient procedural knowledge required for collaborative tasks. The Agile Manifesto as well as other methods to distribute tasks and responsibilities across a team are examples of SOPs in the software field, say the researchers, including the definition of desired output, such as high-quality requirements documents, design artifacts, flowcharts, and interface specifications.
Similarly, SOPs use role-based action specifications and share an environment that enables them to actively observe one another and retrieve relevant information, which is a more efficient approach compared to passively receiving data through dialogue, the researchers say. For example, MetaGPT organizes its agents in product managers, architects, project managers, and engineers.
The image above shows the two main layers that define MetaGPT architecture: the Foundational Components Layer, and the Collaboration Layer. While the former allows agents to carry through their operations, the latter facilitates agent coordination through knowledge sharing and workflow encapsulation.
MetaGPT is not the only framework for meta programming of collaborative AI agents that aim to enable collaboration through some kind of task decomposition. Existing frameworks include AutoGPT, LangChain, and AgentVerse. According to MetaGPT team, their framework can handle higher levels of software complexity, with a 100% task completion rate.
MetaGPT is far from being a perfect system for AI collaboration and still requires work to deal with the hallucinatory tendency of LLM systems, which may lead, for example, to MetaGPT referencing non-existent resource files, or invoking undefined or not imported classes or variables.
If you are interested in the full details, do not miss the official paper, which includes a thorough description of the framework design, a detailed analysis of achieved results, and a comparison with alternative approaches.
ScyllaDB is the database for data-intensive apps requiring high throughput + low latency. Achieve extreme scale with the lowest TCO. Learn More.
Writing for InfoQ has opened many doors and increased career opportunities for me. I was able to deeply engage with experts and thought leaders to learn more about the topics I covered. And I can also disseminate my learnings to the wider tech community and understand how the technologies are used in the real world.
I discovered InfoQ’s contributor program earlier this year and have enjoyed it since then! In addition to providing me with a platform to share learning with a global community of software developers, InfoQ’s peer-to-peer review system has significantly improved my writing. If you’re searching for a place to share your software expertise, start contributing to InfoQ.
I started writing news for the InfoQ .NET queue as a way of keeping up to date with technology, but I got so much more out of it. I met knowledgeable people, got global visibility, and improved my writing skills.
Becoming an editor for InfoQ was one of the best decisions of my career. It has challenged me and helped me grow in so many ways. We'd love to have more people join our team.
InfoQ seeks a full-time Editor-in-Chief to join C4Media's international, always remote team. Join us to cover the most innovative technologies of our time, collaborate with the world's brightest software practitioners, and help more than 1.6 million dev teams adopt new technologies and practices that push the boundaries of what software and teams can deliver!
A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example
We protect your privacy.
You need to Register an InfoQ account or Login or login to post comments. But there's so much more behind being registered.
Get the most out of the InfoQ experience.
Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p
Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p
Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p
Join a community of experts. Sergio De Simonehas opened many doors and increased career opportunitiesVivian HuInfoQ’s peer-to-peer review system has significantly improved my writingOghenevwede Emeni got global visibility, and improved my writing skillsEdin Kapićbest decisions of my careerhelped me grow in so many waysjoin our teamThomas Bettsfull-time Editor-in-ChiefThe InfoQGet the most out of the InfoQ experience.