MetaGPT
Materialise software-engineering Standard Operating Procedures as multi-agent teams of Roles whose communication is mediated by an Environment.
Description
MetaGPT is DeepWisdom's open-source multi-agent framework whose stated philosophy is 'Code = SOP(Team)' — it encodes the SOPs of a software company as a Team of Role agents (Product Manager, Architect, Project Manager, Engineer, Data Analyst). Roles observe Messages from a shared Environment and emit Actions; the Environment broadcasts messages to subscribed roles until everyone is idle. MetaGPT has also published the AFlow paper on automatic agentic workflow generation (ICLR 2025 oral) and the Data Interpreter agent that writes and runs code to solve analytics tasks.
Solution
Role-based multi-agent loop. A Team contains Role agents, each with a list of Actions and a watch list of Message types to subscribe to. The shared Environment broadcasts messages to subscribed roles; each role observes, decides which Action to run, executes it, and publishes a Message back. The Team runs for n_round steps or until env.is_idle (no role has new messages).
Primary use cases
- code generation from a one-line requirement via a simulated software company
- multi-role SOP-encoded multi-agent workflows
- data analysis via the Data Interpreter code-as-action agent
- automatic workflow search via AFlow
Open the full interactive page →
Diagram, neighbourhood map, code examples, related patterns and full provenance.