FoundationAgents/MetaGPT
A role-based Python agent framework that turns software briefs into project artifacts
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
MetaGPT is a Python framework that models software delivery as a team following a standard operating procedure. Product managers, architects, project managers, and engineers turn a short brief into intermediate artifacts such as requirements, data structures, and API designs, alongside project files. The main abstraction is the handoff between roles, not a single prompt that writes code in one pass.
The software-company workflow is available through the metagpt CLI and the Python function metagpt.software_company.generate_repo, which returns a ProjectRepo. Data Interpreter exposes a separate async run method and supports custom tools. The dependency set includes Pydantic, aiohttp, FAISS CPU, LanceDB, and a Qdrant client; those packages do not establish that the default workflow requires a vector database service.
Key Capabilities & Differentiators
The software-company workflow turns a one-line requirement into project scaffolding and artifacts such as user stories, requirements, data structures, API designs, and documentation. The CLI example produces a project under ./workspace, while the library entry point exposes the result as a Python object. That gives teams concrete outputs to review before accepting generated code or design decisions.
Data Interpreter is a separate workflow for tasks such as analyzing the Iris dataset and plotting results. Its tool surface includes notebooks, a browser, a shell, Stable Diffusion, and custom tools. Model configuration separates api_type, model, base_url, and api_key. OpenAI, Azure, Ollama, and Groq are named configuration options, and Anthropic is present as a client dependency. That breadth should not be read as feature parity across providers.
Trade-offs & Limitations
Compared with evaluating Coze or Dify Cloud as managed alternatives, the case for MetaGPT is direct Python integration and file-based outputs from a software-team workflow. You control where the orchestrator runs and how generated files enter your review process. In exchange, you take responsibility for provider configuration, dependency compatibility, execution isolation, and operating the workflow.
Explicit handoffs make it easier to see which deliverable introduced a bad assumption, but more role steps can increase inference time and token spend compared with a single model call. Generated artifacts still need review and tests. For Data Interpreter, restrict filesystem access, network access, and credentials before enabling browser or shell tools. Size the host for parallel runs and active tools; there is no universal GPU requirement, and local inference adds a separate model-dependent budget.
Hardware & Deployment Guide
The package installation path targets Python 3.9 through 3.11. Install with pip, then run metagpt --init-config to generate ~/.metagpt/config2.yaml and set the model endpoint and credentials. The usage setup also calls for Node.js and pnpm. The Dockerfile uses a Python 3.9/Node.js 20 slim base, installs system Chromium and Mermaid CLI, and installs the package in editable mode under /app/metagpt.
Start with the CLI or embed the Python API; neither requires assuming a bundled HTTP service. Docker self-hosts the orchestrator, but it does not make a remote model endpoint local. For an offline deployment, validate both the local model path and any enabled tools that might reach the network. The release history identifies v0.8.0 as the Data Interpreter milestone, v0.8.1 as a bug-fix release, and v0.8.2 (2025-03-09) as a subsequent maintenance release.
./workspace, while generate_repo(...) returns a ProjectRepo for Python callers.~/.metagpt/config2.yaml separates API type, model, base URL, and credentials.Engineering teams prototyping from short briefs that want to review requirements, designs, and generated code, or embed those stages in an existing Python workflow.
You need a managed visual builder, a turnkey HTTP service, or production-ready code without human review and testing.
Quick Start & Installation
pip install --upgrade metagpt # or `pip install --upgrade git+https://github.com/geekan/MetaGPT.git` # or `git clone https://github.com/geekan/MetaGPT && cd MetaGPT && pip install --upgrade -e .`
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| MetaGPT ★ | 71.6k | +94 | Python | MIT | A role-based Python agent framework that turns software briefs into project arti |
| agno | 43.4k | +66 | Python | Apache-2.0 | Python framework and runtime for durable agent services over REST and MCP |
| AstrBot | 47.9k | +298 | Python | AGPL-3.0 | A self-hosted Python agent hub that connects chat platforms to model providers |
| langflow | 157.1k | +100 | Python | MIT | Visual Python workflow builder for deploying AI agents as APIs and MCP tools |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/FoundationAgents/MetaGPT.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about MetaGPT
How do I integrate MetaGPT into an existing Python application?
metagpt.software_company.generate_repo(prompt) from Python. It returns a ProjectRepo, so your application can work with the generated project files without wrapping a CLI subprocess. For analysis tasks, DataInterpreter.run(...) is asynchronous. The API integration shown here is a Python library interface, not a verified HTTP service.Do I need a GPU, and what should I budget for on the host?
Can we use MetaGPT commercially and deploy it privately?
When should we choose MetaGPT over Coze or Dify Cloud?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy