Skip to content

FAQ

Our vision is to extend human life and reduce working hours.

Resources

  1. Code:https://github.com/geekan/MetaGPT

  2. Roadmap:https://github.com/geekan/MetaGPT/blob/main/docs/ROADMAP.md

  3. EN

    1. Demo Video: MetaGPT: Multi-Agent AI Programming Framework
    2. Tutorial: MetaGPT: Deploy POWERFUL Autonomous Ai Agents BETTER Than SUPERAGI!
    3. Author's thoughts video(EN): MetaGPT Matthew Berman
  4. CN

    1. Demo Video: MetaGPT:一行代码搭建你的虚拟公司_哔哩哔哩_bilibili
    2. Tutorial: 一个提示词写游戏 Flappy bird, 比 AutoGPT 强 10 倍的 MetaGPT,最接近 AGI 的 AI 项目
    3. Author's thoughts video(CN): MetaGPT 作者深度解析直播回放_哔哩哔哩_bilibili

How to become a contributor?

  1. 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.
  2. Current contributors come from backgrounds including ByteDance AI Lab/DingDong/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:

  1. Maintaining community FAQ documents, announcements, and Github resources/READMEs.
  2. Responding to, answering, and distributing community questions within an average of 30 minutes, including on platforms like Github Issues, Discord and WeChat.
  3. Upholding a community atmosphere that is enthusiastic, genuine, and friendly.
  4. Encouraging everyone to become contributors and participate in projects that are closely related to achieving AGI (Artificial General Intelligence).
  5. (Optional) Organizing small-scale events, such as hackathons.

FAQ

  • Experience with the generated repo code:

    https://github.com/geekan/MetaGPT/releases/tag/v0.1.0

  • Code truncation/ Parsing failure:

    Check if it's due to exceeding length. Consider using the gpt-3.5-turbo-16k or other long token versions.

  • Success rate:

    There hasn't been a quantitative analysis yet, but the success rate of code generated by GPT-4 is significantly higher than that of gpt-3.5-turbo.

  • Support for incremental, differential updates (if you wish to continue a half-done task):

    Several prerequisite tasks are listed on the ROADMAP.

  • Can existing code be loaded?

    It's not on the ROADMAP yet, but there are plans in place. It just requires some time.

  • Support for multiple programming languages and natural languages?

    It's listed on ROADMAP.

  • Want to join the contributor team? How to proceed?

    Merging a PR will get you into the contributor's team. The main ongoing tasks are all listed on the ROADMAP.

  • PRD stuck / unable to access/ connection interrupted

    The official OPENAI_BASE_URL address is https://api.openai.com/v1

    If the official OPENAI_BASE_URL address is inaccessible in your environment (this can be verified with curl), it's recommended to configure using the reverse proxy OPENAI_BASE_URL provided by libraries such as openai-forward. For instance, OPENAI_BASE_URL: "``https://api.openai-forward.com/v1``"

    If the official OPENAI_BASE_URL address is inaccessible in your environment (again, verifiable via curl), another option is to configure the OPENAI_PROXY parameter. This way, you can access the official OPENAI_BASE_URL via a local proxy. If you don't need to access via a proxy, please do not enable this configuration; if accessing through a proxy is required, modify it to the correct proxy address. Note that when OPENAI_PROXY is enabled, don't set OPENAI_BASE_URL.

    Note: OpenAI's default API design ends with a v1. An example of the correct configuration is: OPENAI_BASE_URL: "``https://api.openai.com/v1``"

  • Absolutely! How can I assist you today?

    Did you use Chi or a similar service? These services are prone to errors, and it seems that the error rate is higher when consuming 3.5k-4k tokens in GPT-4

  • What does Max token mean?

    It's a configuration for OpenAI's maximum response length. If the response exceeds the max token, it will be truncated.

  • How to change the investment amount?

    You can view all commands by typing metagpt --help

  • Which version of Python is more stable?

    python3.9 / python3.10

  • Can't use GPT-4, getting the error "The model gpt-4 does not exist."

    OpenAI's official requirement: You can use GPT-4 only after spending $1 on OpenAI.

    Tip: Run some data with gpt-3.5-turbo (consume the free quota and $1), and then you should be able to use gpt-4.

  • Can games whose code has never been seen before be written?

    Refer to the README. The recommendation system of Toutiao is one of the most complex systems in the world currently. Although it's not on GitHub, many discussions about it exist online. If it can visualize these, it suggests it can also summarize these discussions and convert them into code. The prompt would be something like "write a recommendation system similar to Toutiao". Note: this was approached in earlier versions of the software. The SOP of those versions was different; the current one adopts Elon Musk's five-step work method, emphasizing trimming down requirements as much as possible.

  • Under what circumstances would there typically be errors?

    More than 500 lines of code: some function implementations may be left blank.

    When using a database, it often gets the implementation wrong — since the SQL database initialization process is usually not in the code.

    With more lines of code, there's a higher chance of false impressions, leading to calls to non-existent APIs.

  • Instructions for using SD Skills/UI Role:

    Currently, there is a test script located in /tests/metagpt/roles. The file ui_role provides the corresponding code implementation. For testing, you can refer to the test_ui in the same directory.

    The UI role takes over from the product manager role, extending the output from the 【UI Design draft】 provided by the product manager role. The UI role has implemented the UIDesign Action. Within the run of UIDesign, it processes the respective context, and based on the set template, outputs the UI. The output from the UI role includes:

    1. UI Design Description: Describes the content to be designed and the design objectives.
    2. Selected Elements: Describes the elements in the design that need to be illustrated.
    3. HTML Layout: Outputs the HTML code for the page.
    4. CSS Styles (styles.css): Outputs the CSS code for the page.

    Currently, the SD skill is a tool invoked by UIDesign. It instantiates the SDEngine, with specific code found in metagpt/tools/sd_engine.

    Configuration instructions for SD Skills: The SD interface is currently deployed based on https://github.com/AUTOMATIC1111/stable-diffusion-webui **For environmental configurations and model downloads, please refer to the aforementioned GitHub repository. To initiate the SD service that supports API calls, run the command specified in cmd with the parameter nowebui, i.e.,

    1. shell
      python3 webui.py --enable-insecure-extension-access --port xxx --no-gradio-queue --nowebui
      python3 webui.py --enable-insecure-extension-access --port xxx --no-gradio-queue --nowebui
    2. Once it runs without errors, the interface will be accessible after approximately 1 minute when the model finishes loading.

    3. Configure SD_URL and SD_T2I_API in the config.yaml/key.yaml files.

    4. SD_URL is the deployed server/machine IP, and Port is the specified port above, defaulting to 7860.

    5. SD_URL: IP:Port

  • An error occurred during installation: "Another program is using this file...egg".

    1. Delete the file and try again.
    2. Or manually executepip install -r requirements.txt
  • The origin of the name MetaGPT?

    The name was derived after iterating with GPT-4 over a dozen rounds. GPT-4 scored and suggested it.

  • Is there a more step-by-step installation tutorial?

    Youtube(CN):一个提示词写游戏 Flappy bird, 比 AutoGPT 强 10 倍的 MetaGPT,最接近 AGI 的 AI 项目=一个软件公司产品经理+程序员

    Youtube(EN)https://www.youtube.com/watch?v=q16Gi9pTG_M&t=659s

    video(EN): MetaGPT Matthew Berman

  • openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details

    1. If you haven't exhausted your free quota, set RPM to 3 or lower in the settings.
    2. If your free quota is used up, consider adding funds to your account.
  • What does "borg" mean in n_borg?

    1. Wikipedia borg meaning
    2. The Borg civilization operates based on a hive or collective mentality, known as "the Collective." Every Borg individual is connected to the collective via a sophisticated subspace network, ensuring continuous oversight and guidance for every member. This collective consciousness allows them to not only "share the same thoughts" but also to adapt swiftly to new strategies. While individual members of the collective rarely communicate, the collective "voice" sometimes transmits aboard ships.
  • How to use the Claude API?

    1. The full implementation of the Claude API is not provided in the current code.
    2. You can use the Claude API through third-party API conversion projects like: https://github.com/jtsang4/claude-to-chatgpt
  • Is Llama2 supported?

    On the day Llama2 was released, some of the community members began experiments and found that output can be generated based on MetaGPT's structure. However, Llama2's context is too short to generate a complete project. Before regularly using Llama2, it's necessary to expand the context window to at least 8k. If anyone has good recommendations for expansion models or methods, please leave a comment.

  • mermaid-cli getElementsByTagName SyntaxError: Unexpected token '.'

    1. Upgrade node to version 14.x or above:

      1. npm install -g n
      2. n stable to install the stable version of node(v18.x)

Released under the MIT License.