# Repository Briefing: FoundationAgents/MetaGPT
> Source: https://repoforai.com/repo/FoundationAgents/MetaGPT (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/FoundationAgents/MetaGPT
- **Official Docs / Website**: https://atoms.dev/
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: B (60/100 · Maintenance 6/35 · Adoption 23/25 · Releases 11/20 · License 20/20)
- **Latest Release**: v0.8.1 (2024-04-22) — https://github.com/FoundationAgents/MetaGPT/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Docker, CLI, API
- **Momentum**: 71,567 ★ total (+14 24h / +94 7d) · 9,145 forks
- **Topics**: `agent`, `gpt`, `llm`, `metagpt`, `multi-agent`
- **When to Use**: Best for: Engineering teams prototyping from short briefs that want to review requirements, designs, and generated code, or embed those stages in an existing Python workflow. Skip if: You need a managed visual builder, a turnkey HTTP service, or production-ready code without human review and testing.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Role handoffs: A standard operating procedure coordinates product managers, architects, project managers, and engineers around shared deliverables.
- Project artifacts: The CLI writes to `./workspace`, while `generate_repo(...)` returns a `ProjectRepo` for Python callers.
- Model configuration: `~/.metagpt/config2.yaml` separates API type, model, base URL, and credentials.
- Data Interpreter: An async entry point supports analysis tasks with tools such as notebooks, a browser, and a shell.
- Dependency footprint: The requirements include OpenAI and Anthropic clients, pandas, FAISS CPU, LanceDB, and a Qdrant client; inclusion does not make every backend mandatory.
- Container rendering: The Dockerfile combines Python 3.9 and Node.js 20 with system Chromium and a globally installed Mermaid CLI.
```

## Quick Start / Clone
```bash
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 .`
```
