The multi-agent framework: assign different roles to GPTs to form a collaborative software entity
open sourceMITself-hostablefree
MetaGPT is an open source Python multi-agent framework that assigns roles to LLM agents so they work together on complex tasks. Its best-known setup models a software company: given a one-line requirement, agents acting as product manager, architect, project manager and engineer follow standard operating procedures (its motto is Code = SOP(Team)) to produce user stories, competitive analysis, requirements, data structures, APIs, documents and code. Beyond that it provides building blocks for creating and configuring your own agents and orchestrating multi-agent workflows, and its repository includes research work such as AFlow for automatically generating agentic workflows. It runs from the command line or as a library, configured through ~/.metagpt/config2.yaml with your LLM provider, and can be installed with pip or Docker. Its makers also launched MGX (MetaGPT X), a natural-language programming product built as an AI agent development team.
Problems it solves
- generate a PRD, design and code for a project from a one-line requirement with AI agents
- build a team of LLM agents with different roles that collaborate on a task
- a Python framework for multi-agent workflows with standard operating procedures
- research automated generation of agentic workflows
Features
- role-based agents: product manager, architect, project manager, engineer
- one-line requirement to user stories, requirements, APIs, documents and code
- SOP-driven collaboration
- custom agent creation and configuration
- multi-agent workflow orchestration
- CLI and Python library
- Docker install
Limitations
- It needs Python 3.9 or later but earlier than 3.12, plus Node.js and pnpm.1
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what MetaGPT does.
- CrewAI Python framework for multi-agent AI: role-based agent Crews and event-driven Flows, with a platform to deploy and govern them
- ChatDev Zero-code multi-agent platform for developing everything
- AgentScope Build and run agents you can see, understand and trust
- Microsoft Agent Framework Build, orchestrate and deploy AI agents and multi-agent workflows
- OpenAI Agents SDK OpenAI's lightweight framework for multi-agent workflows
- PraisonAI Open source AI agent framework that can run fully offline on your own computers