MetaGPT
MetaGPT is a Python multi-agent framework that models a software company: given a one-line requirement, a team of LLM agents acting as product manager, architect, project manager and engineer produces user stories, competitive analysis, requirements, data structures, API designs, documents and code. Its core idea is Code = SOP(Team), applying standard operating procedures to a team of agents.
It is best suited to researchers and developers exploring role-based multi-agent collaboration, and to anyone who wants to see a full idea-to-repository pipeline in action. Typical uses include generating a small project (for example `metagpt "Create a 2048 game"`), running the Data Interpreter for data analysis tasks, and studying the team's published research such as AFlow (an ICLR 2025 oral paper on automating agentic workflow generation). The team also runs a commercial product, MGX (MetaGPT X), built on these ideas.
Getting started: install with `pip install --upgrade metagpt` on Python 3.9 to 3.11, install Node.js and pnpm, then run `metagpt --init-config` and set your model provider and API key in `~/.metagpt/config2.yaml`. It works with OpenAI, Azure, Ollama, Groq and other providers.
Features
Why choose it
Trade-offs
Compatibility
Quick start
Use cases
How it compares
Alternatives
Comments
No comments yet. Be the first!