Package: metagpt
MetaGPT: The Multi-Agent FrameworkAssign different roles to GPTs to form a collaborative entity for complex tasks.News🚀 Feb. 08, 2024:v0.7.0released, supporting assigning different LLMs to different Roles. We also introducedInterpreter, a powerful agent capable of solving a wide range of real-world problems.🚀 Jan. 16, 2024: Our paperMetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkaccepted for oral presentation(top 1.2%)at ICLR 2024,ranking #1in the LLM-based Agent category.🚀 Jan. 03, 2024:v0.6.0released, new features include serialization, upgraded OpenAI package and supported multiple LLM, providedminimal example for debateetc.🚀 Dec. 15, 2023:v0.5.0released, introducing some experimental features such asincremental development,multilingual,multiple programming languages, etc.🔥 Nov. 08, 2023: MetaGPT is selected intoOpen100: Top 100 Open Source achievements.🔥 Sep. 01, 2023: MetaGPT tops GitHub Trending Monthly for the17th timein August 2023.🌟 Jun. 30, 2023: MetaGPT is now open source.🌟 Apr. 24, 2023: First line of MetaGPT code committed.Software Company as Multi-Agent SystemMetaGPT takes aone line requirementas input and outputsuser stories / competitive analysis / requirements / data structures / APIs / documents, etc.Internally, MetaGPT includesproduct managers / architects / project managers / engineers.It provides the entire process of asoftware company along with carefully orchestrated SOPs.Code = SOP(Team)is the core philosophy. We materialize SOP and apply it to teams composed of LLMs.Software Company Multi-Agent Schematic (Gradually Implementing)InstallPip installationEnsure that Python 3.9+ is installed on your system. You can check this by using:python --version.You can use conda like this:conda create -n metagpt python=3.9 && conda activate metagptpipinstallmetagpt
metagpt--init-config# create ~/.metagpt/config2.yaml, modify it to your own configmetagpt"Create a 2048 game"# this will create a repo in ./workspaceor you can use it as libraryfrommetagpt.software_companyimportgenerate_repo,ProjectReporepo:ProjectRepo=generate_repo("Create a 2048 game")# or ProjectRepo("<path>")print(repo)# it will print the repo structure with filesdetail installation please refer tocli_installDocker installationNote: In the Windows, you need to replace "/opt/metagpt" with a directory that Docker has permission to create, such as "D:\Users\x\metagpt"# Step 1: Download metagpt official image and prepare config2.yamldockerpullmetagpt/metagpt:latest
mkdir-p/opt/metagpt/{config,workspace}dockerrun--rmmetagpt/metagpt:latestcat/app/metagpt/config/config2.yaml>/opt/metagpt/config/config2.yaml
vim/opt/metagpt/config/config2.yaml# Change the config# Step 2: Run metagpt demo with containerdockerrun--rm\--privileged\-v/opt/metagpt/config/config2.yaml:/app/metagpt/config/config2.yaml\-v/opt/metagpt/workspace:/app/metagpt/workspace\metagpt/metagpt:latest\metagpt"Create a 2048 game"detail installation please refer todocker_installQuickStart & Demo VideoTry it onMetaGPT Huggingface SpaceMatthew Berman: How To Install MetaGPT - Build A Startup With One Prompt!!Official Demo Videohttps://github.com/geekan/MetaGPT/assets/34952977/34345016-5d13-489d-b9f9-b82ace413419Tutorial🗒Online Document💻Usage🔎What can MetaGPT do?🛠 How to build your own agents?MetaGPT Usage & Development Guide | Agent 101MetaGPT Usage & Development Guide | MultiAgent 101🧑‍💻 ContributionDevelop Roadmap🔖 Use CasesDebateResearcherRecepit Assistant❓FAQsSupportDiscard Join US📢 Join OurDiscord Channel!Looking forward to seeing you there! 🎉Contact InformationIf you have any questions or feedback about this project, please feel free to contact us. We highly appreciate your suggestions!Email:alexanderwu@deepwisdom.aiGitHub Issues:For more technical inquiries, you can also create a new issue in ourGitHub repository.We will respond to all questions within 2-3 business days.CitationFor now, cite thearXiv paper:@misc{hong2023metagpt,title={MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework},author={Sirui Hong and Mingchen Zhuge and Jonathan Chen and Xiawu Zheng and Yuheng Cheng and Ceyao Zhang and Jinlin Wang and Zili Wang and Steven Ka Shing Yau and Zijuan Lin and Liyang Zhou and Chenyu Ran and Lingfeng Xiao and Chenglin Wu and Jürgen Schmidhuber},year={2023},eprint={2308.00352},archivePrefix={arXiv},primaryClass={cs.AI}}