MetaGPT-Index / FAQ
Our vision is to extend human life and reduce working hours.
Convenient Link for Sharing this Document:
https://docs.deepwisdom.ai/main/en/guide/faq.html
https://docs.deepwisdom.ai/main/zh/guide/faq.html
https://docs.deepwisdom.ai/main/en/guide/faq.html
https://docs.deepwisdom.ai/main/zh/guide/faq.html
Link
- Code:https://github.com/geekan/MetaGPT
- Roadmap:https://github.com/geekan/MetaGPT/blob/main/docs/ROADMAP.md
- EN
- Demo Video: MetaGPT: Multi-Agent AI Programming Framework
- Tutorial: MetaGPT: Deploy POWERFUL Autonomous Ai Agents BETTER Than SUPERAGI!
- Author's thoughts video(EN): MetaGPT Matthew Berman
- CN
- Demo Video: MetaGPT:一行代码搭建你的虚拟公司_哔哩哔哩_bilibili
- Tutorial: 一个提示词写游戏 Flappy bird, 比AutoGPT强10倍的MetaGPT,最接近AGI的AI项目
- Author's thoughts video(CN): MetaGPT作者深度解析直播回放_哔哩哔哩_bilibili
How to become a contributor?
- Choose a task from the Roadmap (or you can propose one). By submitting a PR, you can become a contributor and join the dev team.
- Current contributors come from backgrounds including ByteDance AI Lab/JingDong/Didi/Xiaohongshu, Tencent/Baidu/MSRA/TikTok/BloomGPT Infra/Bilibili/CUHK/HKUST/CMU/UCB
Chief Evangelist (Monthly Rotation)
MetaGPT Community - The position of Chief Evangelist rotates on a monthly basis. The primary responsibilities include:
- Maintaining community FAQ documents, announcements, and Github resources/READMEs.
- Responding to, answering, and distributing community questions within an average of 30 minutes, including on platforms like Github Issues, Discord and WeChat.
- Upholding a community atmosphere that is enthusiastic, genuine, and friendly.
- Encouraging everyone to become contributors and participate in projects that are closely related to achieving AGI (Artificial General Intelligence).
- (Optional) Organizing small-scale events, such as hackathons.
FAQ
Experience of Generated Repo Code:
- Some examples are available at MetaGPT Release v0.1.0.
Code Truncation / Parsing Failure:
- Check if the length is too long and consider using gpt-3.5-turbo-16k or another model with a higher token limit.
Success Rate:
- No quantified statistics yet, but GPT-4 has a noticeably higher code generation success rate than gpt-3.5-turbo.
Does it Support Incremental or Differential Updates (e.g., Resuming Half-Completed Tasks)?
- Supported. Refer to Incremental Development Guide for details.
Does it Support Loading Existing Code?
- Not currently on the roadmap, but there are plans for it, which will take some time to implement.
Does it Support Multiple Programming and Natural Languages?
- On the ROADMAP; already supported.
How Can I Join the Contributor Team?
- Submit a PR to become part of the contributor team. The current work focus is outlined on the ROADMAP.
PRD Stuck / Unreachable / Connection Interrupted:
- The official
OPENAI_API_BASE
endpoint ishttps://api.openai.com/v1
. - If the official address is unreachable in your environment (verify with curl), consider using a reverse proxy like openai-forward, setting
OPENAI_API_BASE
tohttps://api.openai-forward.com/v1
. - Alternatively, configure
OPENAI_PROXY
to access the officialOPENAI_API_BASE
through a local proxy if needed. Be sure to disableOPENAI_PROXY
if it's not required. Correct configuration example:OPENAI_API_BASE: "https://api.openai.com/v1"
. - For persistent network issues, try a cloud environment, such as the MetaGPT Quick Experience.
- The official
Are You Using Chi or Similar Services?:
- These services can occasionally encounter errors, with a higher error rate around 3.5k–4k tokens in GPT-4.
What Does Max Token Mean?:
- This sets OpenAI’s maximum response length; exceeding the max token count will truncate the response.
How to Change Investment Amount:
- Use the
--investment
parameter. - Run
python {startup.py} --help
to view all available commands.
- Use the
Which Python Version is Stable?
- Python 3.9 and 3.10.
GPT-4 Not Available, Model Not Found (
The model gpt-4 does not exist
):- OpenAI requires a minimum $1 spend to access GPT-4. Running a small workload with gpt-3.5-turbo (after free credits are used) generally unlocks GPT-4 access.
Can It Generate Code for Unseen Games?
- Per the README, it can produce recommendations or code for complex systems, such as a recommendation system similar to TikTok's. The prompt would be “Write a recommendation system like TikTok’s.”
Common Error Scenarios:
- Code over 500 lines: Some functions may be left unimplemented.
- Database usage: Initialization often has errors because the SQL DB setup is missing in the code.
- For large codebases, hallucinations may occur, like calling nonexistent APIs.
SD Skill Instructions:
- The SD skill is a callable tool, instantiated via
SDEngine
(seemetagpt/tools/libs/sd_engine.py
). - Deployment details are in stable-diffusion-webui, for instance:
python webui.py --enable-insecure-extension-access --port xxx --no-gradio-queue --nowebui
- Access the SD service after model loading (~1 min). Set
sd_url
toIP:Port
(default 7860).
- The SD skill is a callable tool, instantiated via
File in Use Error during Installation:
- Delete the file and retry, or manually run
pip install -r requirements.txt
.
- Delete the file and retry, or manually run
Origin of MetaGPT’s Name?:
- After several rounds with GPT-4, it suggested and rated “MetaGPT” highly.
Is there a More Step-by-Step Installation Guide?
- YouTube: MetaGPT Overview
openai.error.RateLimitError:
- If free credits remain, set
RPM
to 3 or lower. - Consider upgrading to a paid plan if credits are depleted.
- If free credits remain, set
What Does
borg
inn_borg
Mean?:- Borg Civilization on Wikipedia - refers to a collective or hive mind.
How to Use the Claude API?:
- Configure
llm
inconfig2.yaml
. Details: Claude API Configuration.
- Configure
Does it Support Llama2/3?
- Llama2 was tested the first day it was released. Llama2 requires an extended context window for optimal project output (at least 8k tokens). See Llama-3 Configuration.
SyntaxError in
mermaid-cli
:- Update Node.js to version 14.x or later.
- Use
npm install -g n
followed byn stable
to install the stable Node version (v18.x).
Tenacity Retry Error (
RetryError
):- Refer to FAQ #8 for network solutions.
- Use model
gpt-3.5-turbo-16k
orgpt-4
. See GitHub Issue #117.