Favicon of MetaGPT

MetaGPT

An open-source AI agent framework that generates software projects from plain-language requests, with Ollama and cloud API support under the MIT license.

MetaGPT organizes AI agents into a software development team, with roles for product management, architecture, project management and engineering. It's a self-hosted Python framework for developers who want to generate software projects from plain-language requirements or build their own collaborative agents.

A request can produce a repository alongside user stories, competitive analysis and requirements documents. The agents also work on data structures, API designs and other project documentation. Their collaboration follows defined procedures modeled on software team workflows, giving each role a specific part of the work rather than treating the whole project as a single coding prompt.

The framework runs locally or in Docker. It supports Ollama as well as cloud backends including OpenAI, Azure and Groq; GPT-4-turbo and GPT-3.5-turbo appear among its model choices. Where model requests go depends on the backend you choose: Ollama supports local model use, while cloud API backends send requests to the selected provider.

MetaGPT is open source under the MIT license and works both as a command-line tool and a Python library. The library suits developers who want to incorporate agent teams into their own software. Its Data Interpreter can write code for data analysis and produce plots, including when used in a Jupyter notebook.

The documented setup requires Python 3.9 through 3.11, plus Node.js and pnpm.

Similar to MetaGPT