liushaojie
commited on
Commit
•
360d784
1
Parent(s):
3a79686
Add application file
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .agent-store-config.yaml +8 -0
- .agent-store-config.yaml.example +9 -0
- .dockerignore +7 -0
- .gitattributes +2 -0
- .gitignore +171 -0
- .pre-commit-config.yaml +27 -0
- Dockerfile +31 -0
- LICENSE +21 -0
- README.md +4 -6
- config/config.yaml +86 -0
- config/puppeteer-config.json +6 -0
- docs/FAQ-EN.md +181 -0
- docs/README_CN.md +201 -0
- docs/README_JA.md +210 -0
- docs/ROADMAP.md +84 -0
- docs/resources/20230811-214014.jpg +0 -0
- docs/resources/MetaGPT-WeChat-Personal.jpeg +0 -0
- docs/resources/MetaGPT-WorkWeChatGroup-6.jpg +0 -0
- docs/resources/MetaGPT-logo.jpeg +0 -0
- docs/resources/MetaGPT-logo.png +3 -0
- docs/resources/software_company_cd.jpeg +0 -0
- docs/resources/software_company_sd.jpeg +0 -0
- docs/resources/workspace/content_rec_sys/resources/competitive_analysis.pdf +0 -0
- docs/resources/workspace/content_rec_sys/resources/competitive_analysis.png +3 -0
- docs/resources/workspace/content_rec_sys/resources/competitive_analysis.svg +1 -0
- docs/resources/workspace/content_rec_sys/resources/data_api_design.pdf +0 -0
- docs/resources/workspace/content_rec_sys/resources/data_api_design.png +3 -0
- docs/resources/workspace/content_rec_sys/resources/data_api_design.svg +1 -0
- docs/resources/workspace/content_rec_sys/resources/seq_flow.pdf +0 -0
- docs/resources/workspace/content_rec_sys/resources/seq_flow.png +3 -0
- docs/resources/workspace/content_rec_sys/resources/seq_flow.svg +1 -0
- docs/resources/workspace/llmops_framework/resources/competitive_analysis.pdf +0 -0
- docs/resources/workspace/llmops_framework/resources/competitive_analysis.png +3 -0
- docs/resources/workspace/llmops_framework/resources/competitive_analysis.svg +1 -0
- docs/resources/workspace/llmops_framework/resources/data_api_design.pdf +0 -0
- docs/resources/workspace/llmops_framework/resources/data_api_design.png +3 -0
- docs/resources/workspace/llmops_framework/resources/data_api_design.svg +1 -0
- docs/resources/workspace/llmops_framework/resources/seq_flow.pdf +0 -0
- docs/resources/workspace/llmops_framework/resources/seq_flow.png +3 -0
- docs/resources/workspace/llmops_framework/resources/seq_flow.svg +1 -0
- docs/resources/workspace/match3_puzzle_game/resources/competitive_analysis.pdf +0 -0
- docs/resources/workspace/match3_puzzle_game/resources/competitive_analysis.png +3 -0
- docs/resources/workspace/match3_puzzle_game/resources/competitive_analysis.svg +1 -0
- docs/resources/workspace/match3_puzzle_game/resources/data_api_design.pdf +0 -0
- docs/resources/workspace/match3_puzzle_game/resources/data_api_design.png +3 -0
- docs/resources/workspace/match3_puzzle_game/resources/data_api_design.svg +1 -0
- docs/resources/workspace/match3_puzzle_game/resources/seq_flow.pdf +0 -0
- docs/resources/workspace/match3_puzzle_game/resources/seq_flow.png +3 -0
- docs/resources/workspace/match3_puzzle_game/resources/seq_flow.svg +1 -0
- docs/resources/workspace/minimalist_pomodoro_timer/resources/competitive_analysis.pdf +0 -0
.agent-store-config.yaml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
role:
|
2 |
+
name: SoftwareCompany
|
3 |
+
module: metagpt.roles.software_company
|
4 |
+
skills:
|
5 |
+
- name: WritePRD
|
6 |
+
- name: WriteDesign
|
7 |
+
- name: WriteTasks
|
8 |
+
- name: WriteCode
|
.agent-store-config.yaml.example
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
role:
|
2 |
+
name: Teacher # Referenced the `Teacher` in `metagpt/roles/teacher.py`.
|
3 |
+
module: metagpt.roles.teacher # Referenced `metagpt/roles/teacher.py`.
|
4 |
+
skills: # Refer to the skill `name` of the published skill in `.well-known/skills.yaml`.
|
5 |
+
- name: text_to_speech
|
6 |
+
description: Text-to-speech
|
7 |
+
- name: text_to_image
|
8 |
+
description: Create a drawing based on the text.
|
9 |
+
|
.dockerignore
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
workspace
|
2 |
+
tmp
|
3 |
+
build
|
4 |
+
workspace
|
5 |
+
dist
|
6 |
+
data
|
7 |
+
geckodriver.log
|
.gitattributes
CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
metagpt/static/assets/example-1902a4ef.png filter=lfs diff=lfs merge=lfs -text
|
37 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
### Python template
|
2 |
+
|
3 |
+
# Byte-compiled / optimized / DLL files
|
4 |
+
__pycache__/
|
5 |
+
*.py[cod]
|
6 |
+
*$py.class
|
7 |
+
|
8 |
+
# C extensions
|
9 |
+
*.so
|
10 |
+
|
11 |
+
# Distribution / packaging
|
12 |
+
.Python
|
13 |
+
build/
|
14 |
+
develop-eggs/
|
15 |
+
dist/
|
16 |
+
downloads/
|
17 |
+
eggs/
|
18 |
+
.eggs/
|
19 |
+
lib/
|
20 |
+
lib64/
|
21 |
+
parts/
|
22 |
+
sdist/
|
23 |
+
var/
|
24 |
+
wheels/
|
25 |
+
share/python-wheels/
|
26 |
+
*.egg-info/
|
27 |
+
.installed.cfg
|
28 |
+
*.egg
|
29 |
+
MANIFEST
|
30 |
+
|
31 |
+
# PyInstaller
|
32 |
+
# Usually these files are written by a python scripts from a template
|
33 |
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
34 |
+
*.manifest
|
35 |
+
*.spec
|
36 |
+
|
37 |
+
# Installer logs
|
38 |
+
pip-log.txt
|
39 |
+
pip-delete-this-directory.txt
|
40 |
+
|
41 |
+
# Unit test / coverage reports
|
42 |
+
htmlcov/
|
43 |
+
.tox/
|
44 |
+
.nox/
|
45 |
+
.coverage
|
46 |
+
.coverage.*
|
47 |
+
.cache
|
48 |
+
nosetests.xml
|
49 |
+
coverage.xml
|
50 |
+
*.cover
|
51 |
+
*.py,cover
|
52 |
+
.hypothesis/
|
53 |
+
.pytest_cache/
|
54 |
+
cover/
|
55 |
+
|
56 |
+
# Translations
|
57 |
+
*.mo
|
58 |
+
*.pot
|
59 |
+
|
60 |
+
# Django stuff:
|
61 |
+
*.log
|
62 |
+
local_settings.py
|
63 |
+
db.sqlite3
|
64 |
+
db.sqlite3-journal
|
65 |
+
|
66 |
+
# Flask stuff:
|
67 |
+
instance/
|
68 |
+
.webassets-cache
|
69 |
+
|
70 |
+
# Scrapy stuff:
|
71 |
+
.scrapy
|
72 |
+
|
73 |
+
# Sphinx documentation
|
74 |
+
docs/_build/
|
75 |
+
|
76 |
+
# PyBuilder
|
77 |
+
.pybuilder/
|
78 |
+
target/
|
79 |
+
|
80 |
+
# Jupyter Notebook
|
81 |
+
.ipynb_checkpoints
|
82 |
+
|
83 |
+
# IPython
|
84 |
+
profile_default/
|
85 |
+
ipython_config.py
|
86 |
+
|
87 |
+
# pyenv
|
88 |
+
# For a library or package, you might want to ignore these files since the code is
|
89 |
+
# intended to run in multiple environments; otherwise, check them in:
|
90 |
+
# .python-version
|
91 |
+
|
92 |
+
# pipenv
|
93 |
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
94 |
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
95 |
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
96 |
+
# install all needed dependencies.
|
97 |
+
#Pipfile.lock
|
98 |
+
|
99 |
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
100 |
+
__pypackages__/
|
101 |
+
|
102 |
+
# Celery stuff
|
103 |
+
celerybeat-schedule
|
104 |
+
celerybeat.pid
|
105 |
+
|
106 |
+
# SageMath parsed files
|
107 |
+
*.sage.py
|
108 |
+
|
109 |
+
# Environments
|
110 |
+
.env
|
111 |
+
.venv
|
112 |
+
env/
|
113 |
+
venv/
|
114 |
+
ENV/
|
115 |
+
env.bak/
|
116 |
+
venv.bak/
|
117 |
+
|
118 |
+
# Spyder project settings
|
119 |
+
.spyderproject
|
120 |
+
.spyproject
|
121 |
+
|
122 |
+
# Rope project settings
|
123 |
+
.ropeproject
|
124 |
+
|
125 |
+
# mkdocs documentation
|
126 |
+
/site
|
127 |
+
|
128 |
+
# mypy
|
129 |
+
.mypy_cache/
|
130 |
+
.dmypy.json
|
131 |
+
dmypy.json
|
132 |
+
|
133 |
+
# Pyre type checker
|
134 |
+
.pyre/
|
135 |
+
|
136 |
+
# pytype static type analyzer
|
137 |
+
.pytype/
|
138 |
+
|
139 |
+
# Cython debug symbols
|
140 |
+
cython_debug/
|
141 |
+
|
142 |
+
# report
|
143 |
+
allure-report
|
144 |
+
allure-results
|
145 |
+
|
146 |
+
# idea
|
147 |
+
.idea
|
148 |
+
.DS_Store
|
149 |
+
.vscode
|
150 |
+
|
151 |
+
|
152 |
+
*.txt
|
153 |
+
docs/scripts/set_env.sh
|
154 |
+
key.yaml
|
155 |
+
output.json
|
156 |
+
data
|
157 |
+
data/output_add.json
|
158 |
+
data.ms
|
159 |
+
examples/nb/
|
160 |
+
.chroma
|
161 |
+
*~$*
|
162 |
+
workspace/*
|
163 |
+
*.mmd
|
164 |
+
tmp
|
165 |
+
output.wav
|
166 |
+
*.bak
|
167 |
+
|
168 |
+
# output folder
|
169 |
+
output
|
170 |
+
tmp.png
|
171 |
+
|
.pre-commit-config.yaml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
default_stages: [ commit ]
|
2 |
+
|
3 |
+
# Install
|
4 |
+
# 1. pip install pre-commit
|
5 |
+
# 2. pre-commit install(the first time you download the repo, it will be cached for future use)
|
6 |
+
repos:
|
7 |
+
- repo: https://github.com/pycqa/isort
|
8 |
+
rev: 5.11.5
|
9 |
+
hooks:
|
10 |
+
- id: isort
|
11 |
+
args: ['--profile', 'black']
|
12 |
+
exclude: >-
|
13 |
+
(?x)^(
|
14 |
+
.*__init__\.py$
|
15 |
+
)
|
16 |
+
|
17 |
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
18 |
+
# Ruff version.
|
19 |
+
rev: v0.0.284
|
20 |
+
hooks:
|
21 |
+
- id: ruff
|
22 |
+
|
23 |
+
- repo: https://github.com/psf/black
|
24 |
+
rev: 23.3.0
|
25 |
+
hooks:
|
26 |
+
- id: black
|
27 |
+
args: ['--line-length', '120']
|
Dockerfile
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use a base image with Python3.9 and Nodejs20 slim version
|
2 |
+
FROM nikolaik/python-nodejs:python3.9-nodejs20-slim
|
3 |
+
|
4 |
+
USER root
|
5 |
+
|
6 |
+
# Install Debian software needed by MetaGPT and clean up in one RUN command to reduce image size
|
7 |
+
RUN apt update &&\
|
8 |
+
apt install -y git chromium fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 --no-install-recommends &&\
|
9 |
+
apt clean && rm -rf /var/lib/apt/lists/*
|
10 |
+
|
11 |
+
# Install Mermaid CLI globally
|
12 |
+
ENV CHROME_BIN="/usr/bin/chromium" \
|
13 |
+
PUPPETEER_CONFIG="/app/metagpt/config/puppeteer-config.json"\
|
14 |
+
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"
|
15 |
+
RUN npm install -g @mermaid-js/mermaid-cli &&\
|
16 |
+
npm cache clean --force
|
17 |
+
|
18 |
+
# Install Python dependencies and install MetaGPT
|
19 |
+
COPY requirements.txt requirements.txt
|
20 |
+
|
21 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
22 |
+
|
23 |
+
COPY . /app/metagpt
|
24 |
+
WORKDIR /app/metagpt
|
25 |
+
RUN chmod -R 777 /app/metagpt/logs/ &&\
|
26 |
+
mkdir workspace &&\
|
27 |
+
chmod -R 777 /app/metagpt/workspace/ &&\
|
28 |
+
python -m pip install -e.
|
29 |
+
|
30 |
+
|
31 |
+
CMD ["python", "metagpt/web/app.py"]
|
LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The MIT License
|
2 |
+
|
3 |
+
Copyright (c) Chenglin Wu
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in
|
13 |
+
all copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21 |
+
THE SOFTWARE.
|
README.md
CHANGED
@@ -1,11 +1,9 @@
|
|
1 |
---
|
2 |
title: MetaGPT
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: docker
|
|
|
7 |
pinned: false
|
8 |
-
license: mit
|
9 |
---
|
10 |
-
|
11 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
title: MetaGPT
|
3 |
+
emoji: 🐼
|
4 |
+
colorFrom: green
|
5 |
+
colorTo: blue
|
6 |
sdk: docker
|
7 |
+
app_file: app.py
|
8 |
pinned: false
|
|
|
9 |
---
|
|
|
|
config/config.yaml
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# DO NOT MODIFY THIS FILE, create a new key.yaml, define OPENAI_API_KEY.
|
2 |
+
# The configuration of key.yaml has a higher priority and will not enter git
|
3 |
+
|
4 |
+
#### if OpenAI
|
5 |
+
## The official OPENAI_API_BASE is https://api.openai.com/v1
|
6 |
+
## If the official OPENAI_API_BASE is not available, we recommend using the [openai-forward](https://github.com/beidongjiedeguang/openai-forward).
|
7 |
+
## Or, you can configure OPENAI_PROXY to access official OPENAI_API_BASE.
|
8 |
+
OPENAI_API_BASE: "https://api.openai.com/v1"
|
9 |
+
#OPENAI_PROXY: "http://127.0.0.1:8118"
|
10 |
+
#OPENAI_API_KEY: "YOUR_API_KEY"
|
11 |
+
OPENAI_API_MODEL: "gpt-4"
|
12 |
+
MAX_TOKENS: 1500
|
13 |
+
RPM: 10
|
14 |
+
|
15 |
+
#### if Anthropic
|
16 |
+
#Anthropic_API_KEY: "YOUR_API_KEY"
|
17 |
+
|
18 |
+
#### if AZURE, check https://github.com/openai/openai-cookbook/blob/main/examples/azure/chat.ipynb
|
19 |
+
|
20 |
+
#OPENAI_API_TYPE: "azure"
|
21 |
+
#OPENAI_API_BASE: "YOUR_AZURE_ENDPOINT"
|
22 |
+
#OPENAI_API_KEY: "YOUR_AZURE_API_KEY"
|
23 |
+
#OPENAI_API_VERSION: "YOUR_AZURE_API_VERSION"
|
24 |
+
#DEPLOYMENT_ID: "YOUR_DEPLOYMENT_ID"
|
25 |
+
|
26 |
+
#### for Search
|
27 |
+
|
28 |
+
## Supported values: serpapi/google/serper/ddg
|
29 |
+
#SEARCH_ENGINE: serpapi
|
30 |
+
|
31 |
+
## Visit https://serpapi.com/ to get key.
|
32 |
+
#SERPAPI_API_KEY: "YOUR_API_KEY"
|
33 |
+
|
34 |
+
## Visit https://console.cloud.google.com/apis/credentials to get key.
|
35 |
+
#GOOGLE_API_KEY: "YOUR_API_KEY"
|
36 |
+
## Visit https://programmablesearchengine.google.com/controlpanel/create to get id.
|
37 |
+
#GOOGLE_CSE_ID: "YOUR_CSE_ID"
|
38 |
+
|
39 |
+
## Visit https://serper.dev/ to get key.
|
40 |
+
#SERPER_API_KEY: "YOUR_API_KEY"
|
41 |
+
|
42 |
+
#### for web access
|
43 |
+
|
44 |
+
## Supported values: playwright/selenium
|
45 |
+
#WEB_BROWSER_ENGINE: playwright
|
46 |
+
|
47 |
+
## Supported values: chromium/firefox/webkit, visit https://playwright.dev/python/docs/api/class-browsertype
|
48 |
+
##PLAYWRIGHT_BROWSER_TYPE: chromium
|
49 |
+
|
50 |
+
## Supported values: chrome/firefox/edge/ie, visit https://www.selenium.dev/documentation/webdriver/browsers/
|
51 |
+
# SELENIUM_BROWSER_TYPE: chrome
|
52 |
+
|
53 |
+
#### for TTS
|
54 |
+
|
55 |
+
#AZURE_TTS_SUBSCRIPTION_KEY: "YOUR_API_KEY"
|
56 |
+
#AZURE_TTS_REGION: "eastus"
|
57 |
+
|
58 |
+
#### for Stable Diffusion
|
59 |
+
## Use SD service, based on https://github.com/AUTOMATIC1111/stable-diffusion-webui
|
60 |
+
SD_URL: "YOUR_SD_URL"
|
61 |
+
SD_T2I_API: "/sdapi/v1/txt2img"
|
62 |
+
|
63 |
+
#### for Execution
|
64 |
+
#LONG_TERM_MEMORY: false
|
65 |
+
|
66 |
+
#### for Mermaid CLI
|
67 |
+
## If you installed mmdc (Mermaid CLI) only for metagpt then enable the following configuration.
|
68 |
+
#PUPPETEER_CONFIG: "./config/puppeteer-config.json"
|
69 |
+
#MMDC: "./node_modules/.bin/mmdc"
|
70 |
+
|
71 |
+
|
72 |
+
### for calc_usage
|
73 |
+
# CALC_USAGE: false
|
74 |
+
|
75 |
+
### for Research
|
76 |
+
MODEL_FOR_RESEARCHER_SUMMARY: gpt-3.5-turbo
|
77 |
+
MODEL_FOR_RESEARCHER_REPORT: gpt-3.5-turbo-16k
|
78 |
+
|
79 |
+
### Meta Models
|
80 |
+
#METAGPT_TEXT_TO_IMAGE_MODEL: MODEL_URL
|
81 |
+
|
82 |
+
### S3 config
|
83 |
+
S3:
|
84 |
+
access_key: "YOUR_S3_ACCESS_KEY"
|
85 |
+
secret_key: "YOUR_S3_SECRET_KEY"
|
86 |
+
endpoint_url: "YOUR_S3_ENDPOINT_URL"
|
config/puppeteer-config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"executablePath": "/usr/bin/chromium",
|
3 |
+
"args": [
|
4 |
+
"--no-sandbox"
|
5 |
+
]
|
6 |
+
}
|
docs/FAQ-EN.md
ADDED
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Our vision is to [extend human life](https://github.com/geekan/HowToLiveLonger) and [reduce working hours](https://github.com/geekan/MetaGPT/).
|
2 |
+
|
3 |
+
1. ### Convenient Link for Sharing this Document:
|
4 |
+
|
5 |
+
```
|
6 |
+
- MetaGPT-Index/FAQ https://deepwisdom.feishu.cn/wiki/MsGnwQBjiif9c3koSJNcYaoSnu4
|
7 |
+
```
|
8 |
+
|
9 |
+
2. ### Link
|
10 |
+
|
11 |
+
<!---->
|
12 |
+
|
13 |
+
1. Code:https://github.com/geekan/MetaGPT
|
14 |
+
|
15 |
+
1. Roadmap:https://github.com/geekan/MetaGPT/blob/main/docs/ROADMAP.md
|
16 |
+
|
17 |
+
1. EN
|
18 |
+
|
19 |
+
1. Demo Video: [MetaGPT: Multi-Agent AI Programming Framework](https://www.youtube.com/watch?v=8RNzxZBTW8M)
|
20 |
+
1. Tutorial: [MetaGPT: Deploy POWERFUL Autonomous Ai Agents BETTER Than SUPERAGI!](https://www.youtube.com/watch?v=q16Gi9pTG_M&t=659s)
|
21 |
+
|
22 |
+
1. CN
|
23 |
+
|
24 |
+
1. Demo Video: [MetaGPT:一行代码搭建你的虚拟公司_哔哩哔哩_bilibili](https://www.bilibili.com/video/BV1NP411C7GW/?spm_id_from=333.999.0.0&vd_source=735773c218b47da1b4bd1b98a33c5c77)
|
25 |
+
1. Tutorial: [一个提示词写游戏 Flappy bird, 比AutoGPT强10倍的MetaGPT,最接近AGI的AI项目](https://youtu.be/Bp95b8yIH5c)
|
26 |
+
1. Author's thoughts video(CN): [MetaGPT作者深度解析直播回放_哔哩哔哩_bilibili](https://www.bilibili.com/video/BV1Ru411V7XL/?spm_id_from=333.337.search-card.all.click)
|
27 |
+
|
28 |
+
<!---->
|
29 |
+
|
30 |
+
3. ### How to become a contributor?
|
31 |
+
|
32 |
+
<!---->
|
33 |
+
|
34 |
+
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.
|
35 |
+
1. Current contributors come from backgrounds including: ByteDance AI Lab/DingDong/Didi/Xiaohongshu, Tencent/Baidu/MSRA/TikTok/BloomGPT Infra/Bilibili/CUHK/HKUST/CMU/UCB
|
36 |
+
|
37 |
+
<!---->
|
38 |
+
|
39 |
+
4. ### Chief Evangelist (Monthly Rotation)
|
40 |
+
|
41 |
+
MetaGPT Community - The position of Chief Evangelist rotates on a monthly basis. The primary responsibilities include:
|
42 |
+
|
43 |
+
1. Maintaining community FAQ documents, announcements, Github resources/READMEs.
|
44 |
+
1. Responding to, answering, and distributing community questions within an average of 30 minutes, including on platforms like Github Issues, Discord and WeChat.
|
45 |
+
1. Upholding a community atmosphere that is enthusiastic, genuine, and friendly.
|
46 |
+
1. Encouraging everyone to become contributors and participate in projects that are closely related to achieving AGI (Artificial General Intelligence).
|
47 |
+
1. (Optional) Organizing small-scale events, such as hackathons.
|
48 |
+
|
49 |
+
<!---->
|
50 |
+
|
51 |
+
5. ### FAQ
|
52 |
+
|
53 |
+
<!---->
|
54 |
+
|
55 |
+
1. Experience with the generated repo code:
|
56 |
+
|
57 |
+
1. https://github.com/geekan/MetaGPT/releases/tag/v0.1.0
|
58 |
+
|
59 |
+
1. Code truncation/ Parsing failure:
|
60 |
+
|
61 |
+
1. Check if it's due to exceeding length. Consider using the gpt-3.5-turbo-16k or other long token versions.
|
62 |
+
|
63 |
+
1. Success rate:
|
64 |
+
|
65 |
+
1. 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.
|
66 |
+
|
67 |
+
1. Support for incremental, differential updates (if you wish to continue a half-done task):
|
68 |
+
|
69 |
+
1. Several prerequisite tasks are listed on the ROADMAP.
|
70 |
+
|
71 |
+
1. Can existing code be loaded?
|
72 |
+
|
73 |
+
1. It's not on the ROADMAP yet, but there are plans in place. It just requires some time.
|
74 |
+
|
75 |
+
1. Support for multiple programming languages and natural languages?
|
76 |
+
|
77 |
+
1. It's listed on ROADMAP.
|
78 |
+
|
79 |
+
1. Want to join the contributor team? How to proceed?
|
80 |
+
|
81 |
+
1. Merging a PR will get you into the contributor's team. The main ongoing tasks are all listed on the ROADMAP.
|
82 |
+
|
83 |
+
1. PRD stuck / unable to access/ connection interrupted
|
84 |
+
|
85 |
+
1. The official OPENAI_API_BASE address is `https://api.openai.com/v1`
|
86 |
+
1. If the official OPENAI_API_BASE address is inaccessible in your environment (this can be verified with curl), it's recommended to configure using the reverse proxy OPENAI_API_BASE provided by libraries such as openai-forward. For instance, `OPENAI_API_BASE: "``https://api.openai-forward.com/v1``"`
|
87 |
+
1. If the official OPENAI_API_BASE 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_API_BASE 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_API_BASE.
|
88 |
+
1. Note: OpenAI's default API design ends with a v1. An example of the correct configuration is: `OPENAI_API_BASE: "``https://api.openai.com/v1``"`
|
89 |
+
|
90 |
+
1. Absolutely! How can I assist you today?
|
91 |
+
|
92 |
+
1. 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
|
93 |
+
|
94 |
+
1. What does Max token mean?
|
95 |
+
|
96 |
+
1. It's a configuration for OpenAI's maximum response length. If the response exceeds the max token, it will be truncated.
|
97 |
+
|
98 |
+
1. How to change the investment amount?
|
99 |
+
|
100 |
+
1. You can view all commands by typing `python startup.py --help`
|
101 |
+
|
102 |
+
1. Which version of Python is more stable?
|
103 |
+
|
104 |
+
1. python3.9 / python3.10
|
105 |
+
|
106 |
+
1. Can't use GPT-4, getting the error "The model gpt-4 does not exist."
|
107 |
+
|
108 |
+
1. OpenAI's official requirement: You can use GPT-4 only after spending $1 on OpenAI.
|
109 |
+
1. 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.
|
110 |
+
|
111 |
+
1. Can games whose code has never been seen before be written?
|
112 |
+
|
113 |
+
1. 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.
|
114 |
+
|
115 |
+
1. Under what circumstances would there typically be errors?
|
116 |
+
|
117 |
+
1. More than 500 lines of code: some function implementations may be left blank.
|
118 |
+
1. When using a database, it often gets the implementation wrong — since the SQL database initialization process is usually not in the code.
|
119 |
+
1. With more lines of code, there's a higher chance of false impressions, leading to calls to non-existent APIs.
|
120 |
+
|
121 |
+
1. Instructions for using SD Skills/UI Role:
|
122 |
+
|
123 |
+
1. 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.
|
124 |
+
|
125 |
+
1. 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:
|
126 |
+
|
127 |
+
1. UI Design Description:Describes the content to be designed and the design objectives.
|
128 |
+
1. Selected Elements:Describes the elements in the design that need to be illustrated.
|
129 |
+
1. HTML Layout:Outputs the HTML code for the page.
|
130 |
+
1. CSS Styles (styles.css):Outputs the CSS code for the page.
|
131 |
+
|
132 |
+
1. Currently, the SD skill is a tool invoked by UIDesign. It instantiates the SDEngine, with specific code found in metagpt/tools/sd_engine.
|
133 |
+
|
134 |
+
1. 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.,
|
135 |
+
|
136 |
+
1. > python webui.py --enable-insecure-extension-access --port xxx --no-gradio-queue --nowebui
|
137 |
+
1. Once it runs without errors, the interface will be accessible after approximately 1 minute when the model finishes loading.
|
138 |
+
1. Configure SD_URL and SD_T2I_API in the config.yaml/key.yaml files.
|
139 |
+
1. ![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/065295a67b0b4feea665d1372722d49d~tplv-k3u1fbpfcp-zoom-1.image)
|
140 |
+
1. SD_URL is the deployed server/machine IP, and Port is the specified port above, defaulting to 7860.
|
141 |
+
1. > SD_URL: IP:Port
|
142 |
+
|
143 |
+
1. An error occurred during installation: "Another program is using this file...egg".
|
144 |
+
|
145 |
+
1. Delete the file and try again.
|
146 |
+
1. Or manually execute`pip install -r requirements.txt`
|
147 |
+
|
148 |
+
1. The origin of the name MetaGPT?
|
149 |
+
|
150 |
+
1. The name was derived after iterating with GPT-4 over a dozen rounds. GPT-4 scored and suggested it.
|
151 |
+
|
152 |
+
1. Is there a more step-by-step installation tutorial?
|
153 |
+
|
154 |
+
1. Youtube(CN):[一个提示词写游戏 Flappy bird, 比AutoGPT强10倍的MetaGPT,最接近AGI的AI项目=一个软件公司产品经理+程序员](https://youtu.be/Bp95b8yIH5c)
|
155 |
+
1. Youtube(EN)https://www.youtube.com/watch?v=q16Gi9pTG_M&t=659s
|
156 |
+
|
157 |
+
1. openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details
|
158 |
+
|
159 |
+
1. If you haven't exhausted your free quota, set RPM to 3 or lower in the settings.
|
160 |
+
1. If your free quota is used up, consider adding funds to your account.
|
161 |
+
|
162 |
+
1. What does "borg" mean in n_borg?
|
163 |
+
|
164 |
+
1. https://en.wikipedia.org/wiki/Borg
|
165 |
+
1. 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.
|
166 |
+
|
167 |
+
1. How to use the Claude API?
|
168 |
+
|
169 |
+
1. The full implementation of the Claude API is not provided in the current code.
|
170 |
+
1. You can use the Claude API through third-party API conversion projects like: https://github.com/jtsang4/claude-to-chatgpt
|
171 |
+
|
172 |
+
1. Is Llama2 supported?
|
173 |
+
|
174 |
+
1. 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.
|
175 |
+
|
176 |
+
1. `mermaid-cli getElementsByTagName SyntaxError: Unexpected token '.'`
|
177 |
+
|
178 |
+
1. Upgrade node to version 14.x or above:
|
179 |
+
|
180 |
+
1. `npm install -g n`
|
181 |
+
1. `n stable` to install the stable version of node(v18.x)
|
docs/README_CN.md
ADDED
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# MetaGPT: 多智能体框架
|
2 |
+
|
3 |
+
<p align="center">
|
4 |
+
<a href=""><img src="resources/MetaGPT-logo.jpeg" alt="MetaGPT logo: 使 GPT 以软件公司的形式工作,协作处理更复杂的任务" width="150px"></a>
|
5 |
+
</p>
|
6 |
+
|
7 |
+
<p align="center">
|
8 |
+
<b>使 GPTs 组成软件公司,协作处理更复杂的任务</b>
|
9 |
+
</p>
|
10 |
+
|
11 |
+
<p align="center">
|
12 |
+
<a href="README_CN.md"><img src="https://img.shields.io/badge/文档-中文版-blue.svg" alt="CN doc"></a>
|
13 |
+
<a href="../README.md"><img src="https://img.shields.io/badge/document-English-blue.svg" alt="EN doc"></a>
|
14 |
+
<a href="README_JA.md"><img src="https://img.shields.io/badge/ドキュメント-日本語-blue.svg" alt="JA doc"></a>
|
15 |
+
<a href="https://discord.gg/wCp6Q3fsAk"><img src="https://dcbadge.vercel.app/api/server/wCp6Q3fsAk?compact=true&style=flat" alt="Discord Follow"></a>
|
16 |
+
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
|
17 |
+
<a href="ROADMAP.md"><img src="https://img.shields.io/badge/ROADMAP-路线图-blue" alt="roadmap"></a>
|
18 |
+
<a href="resources/MetaGPT-WeChat-Personal.jpeg"><img src="https://img.shields.io/badge/WeChat-微信-blue" alt="roadmap"></a>
|
19 |
+
<a href="https://twitter.com/DeepWisdom2019"><img src="https://img.shields.io/twitter/follow/MetaGPT?style=social" alt="Twitter Follow"></a>
|
20 |
+
</p>
|
21 |
+
|
22 |
+
1. MetaGPT输入**一句话的老板需求**,输出**用户故事 / 竞品分析 / 需求 / 数据结构 / APIs / 文件等**
|
23 |
+
2. MetaGPT内部包括**产品经理 / 架构师 / 项目经理 / 工程师**,它提供了一个**软件公司**的全过程与精心调配的SOP
|
24 |
+
1. `Code = SOP(Team)` 是核心哲学。我们将SOP具象化,并且用于LLM构成的团队
|
25 |
+
|
26 |
+
![一个完全由大语言模型角色构成的软件公司](resources/software_company_cd.jpeg)
|
27 |
+
|
28 |
+
<p align="center">软件公司多角色示意图(正在逐步实现)</p>
|
29 |
+
|
30 |
+
## 示例(均由 GPT-4 生成)
|
31 |
+
|
32 |
+
例如,键入`python startup.py "写个类似今日头条的推荐系统"`并回车,你会获得一系列输出,其一是数据结构与API设计
|
33 |
+
|
34 |
+
![今日头条 Recsys 数据 & API 设计](resources/workspace/content_rec_sys/resources/data_api_design.png)
|
35 |
+
|
36 |
+
这需要大约**0.2美元**(GPT-4 API的费用)来生成一个带有分析和设计的示例,大约2.0美元用于一个完整的项目
|
37 |
+
|
38 |
+
## 安装
|
39 |
+
|
40 |
+
### 传统安装
|
41 |
+
|
42 |
+
```bash
|
43 |
+
# 第 1 步:确保您的系统上安装了 NPM。并使用npm安装mermaid-js
|
44 |
+
npm --version
|
45 |
+
sudo npm install -g @mermaid-js/mermaid-cli
|
46 |
+
|
47 |
+
# 第 2 步:确保您的系统上安装了 Python 3.9+。您可以使用以下命令进行检查:
|
48 |
+
python --version
|
49 |
+
|
50 |
+
# 第 3 步:克隆仓库到您的本地机器,并进行安装。
|
51 |
+
git clone https://github.com/geekan/metagpt
|
52 |
+
cd metagpt
|
53 |
+
python setup.py install
|
54 |
+
```
|
55 |
+
|
56 |
+
### Docker安装
|
57 |
+
|
58 |
+
```bash
|
59 |
+
# 步骤1: 下载metagpt官方镜像并准备好config.yaml
|
60 |
+
docker pull metagpt/metagpt:v0.3
|
61 |
+
mkdir -p /opt/metagpt/{config,workspace}
|
62 |
+
docker run --rm metagpt/metagpt:v0.3 cat /app/metagpt/config/config.yaml > /opt/metagpt/config/config.yaml
|
63 |
+
vim /opt/metagpt/config/config.yaml # 修改config
|
64 |
+
|
65 |
+
# 步骤2: 使用容器运行metagpt演示
|
66 |
+
docker run --rm \
|
67 |
+
--privileged \
|
68 |
+
-v /opt/metagpt/config:/app/metagpt/config \
|
69 |
+
-v /opt/metagpt/workspace:/app/metagpt/workspace \
|
70 |
+
metagpt/metagpt:v0.3 \
|
71 |
+
python startup.py "Write a cli snake game"
|
72 |
+
|
73 |
+
# 您也可以启动一个容器并在其中执行命令
|
74 |
+
docker run --name metagpt -d \
|
75 |
+
--privileged \
|
76 |
+
-v /opt/metagpt/config:/app/metagpt/config \
|
77 |
+
-v /opt/metagpt/workspace:/app/metagpt/workspace \
|
78 |
+
metagpt/metagpt:v0.3
|
79 |
+
|
80 |
+
docker exec -it metagpt /bin/bash
|
81 |
+
$ python startup.py "Write a cli snake game"
|
82 |
+
```
|
83 |
+
|
84 |
+
`docker run ...`做了以下事情:
|
85 |
+
|
86 |
+
- 以特权模式运行,有权限运行浏览器
|
87 |
+
- 将主机目录 `/opt/metagpt/config` 映射到容器目录`/app/metagpt/config`
|
88 |
+
- 将主机目录 `/opt/metagpt/workspace` 映射到容器目录 `/app/metagpt/workspace`
|
89 |
+
- 执行演示命令 `python startup.py "Write a cli snake game"`
|
90 |
+
|
91 |
+
### 自己构建镜像
|
92 |
+
|
93 |
+
```bash
|
94 |
+
# 您也可以自己构建metagpt镜像
|
95 |
+
git clone https://github.com/geekan/MetaGPT.git
|
96 |
+
cd MetaGPT && docker build -t metagpt:v0.3 .
|
97 |
+
```
|
98 |
+
|
99 |
+
## 配置
|
100 |
+
|
101 |
+
- 在 `config/key.yaml / config/config.yaml / env` 中配置您的 `OPENAI_API_KEY`
|
102 |
+
- 优先级顺序:`config/key.yaml > config/config.yaml > env`
|
103 |
+
|
104 |
+
```bash
|
105 |
+
# 复制配置文件并进行必要的修改
|
106 |
+
cp config/config.yaml config/key.yaml
|
107 |
+
```
|
108 |
+
|
109 |
+
| 变量名 | config/key.yaml | env |
|
110 |
+
|--------------------------------------------|-------------------------------------------|--------------------------------|
|
111 |
+
| OPENAI_API_KEY # 用您自己的密钥替换 | OPENAI_API_KEY: "sk-..." | export OPENAI_API_KEY="sk-..." |
|
112 |
+
| OPENAI_API_BASE # 可选 | OPENAI_API_BASE: "https://<YOUR_SITE>/v1" | export OPENAI_API_BASE="https://<YOUR_SITE>/v1" |
|
113 |
+
|
114 |
+
## 示例:启动一个创业公司
|
115 |
+
|
116 |
+
```shell
|
117 |
+
python startup.py "��一个命令行贪吃蛇"
|
118 |
+
# 开启code review模式会会花费更多的money, 但是会提升代码质量和成功率
|
119 |
+
python startup.py "写一个命令行贪吃蛇" --code_review True
|
120 |
+
```
|
121 |
+
|
122 |
+
运行脚本后,您可以在 `workspace/` 目录中找到您的新项目。
|
123 |
+
### 平台或工具的倾向性
|
124 |
+
可以在阐述需求时说明想要使用的平台或工具。
|
125 |
+
例如:
|
126 |
+
|
127 |
+
```shell
|
128 |
+
python startup.py "写一个基于pygame的命令行贪吃蛇"
|
129 |
+
```
|
130 |
+
|
131 |
+
### 使用
|
132 |
+
|
133 |
+
```
|
134 |
+
名称
|
135 |
+
startup.py - 我们是一家AI软件创业公司。通过投资我们,您将赋能一个充满无限可能的未来。
|
136 |
+
|
137 |
+
概要
|
138 |
+
startup.py IDEA <flags>
|
139 |
+
|
140 |
+
描述
|
141 |
+
我们是一家AI软件创业公司。通过投资我们,您将赋能一个充满无限可能的未来。
|
142 |
+
|
143 |
+
位置参数
|
144 |
+
IDEA
|
145 |
+
类型: str
|
146 |
+
您的创新想法,例如"写一个命令行贪吃蛇。"
|
147 |
+
|
148 |
+
标志
|
149 |
+
--investment=INVESTMENT
|
150 |
+
类型: float
|
151 |
+
默认值: 3.0
|
152 |
+
作为投资者,您有机会向这家AI公司投入一定的美元金额。
|
153 |
+
--n_round=N_ROUND
|
154 |
+
类型: int
|
155 |
+
默认值: 5
|
156 |
+
|
157 |
+
备注
|
158 |
+
您也可以用`标志`的语法,来处理`位置参数`
|
159 |
+
```
|
160 |
+
|
161 |
+
### 代码实现
|
162 |
+
|
163 |
+
```python
|
164 |
+
from metagpt.software_company import SoftwareCompany
|
165 |
+
from metagpt.roles import ProjectManager, ProductManager, Architect, Engineer
|
166 |
+
|
167 |
+
async def startup(idea: str, investment: float = 3.0, n_round: int = 5):
|
168 |
+
"""运行一个创业公司。做一个老板"""
|
169 |
+
company = SoftwareCompany()
|
170 |
+
company.hire([ProductManager(), Architect(), ProjectManager(), Engineer()])
|
171 |
+
company.invest(investment)
|
172 |
+
company.start_project(idea)
|
173 |
+
await company.run(n_round=n_round)
|
174 |
+
```
|
175 |
+
|
176 |
+
你可以查看`examples`,其中有单角色(带知识库)的使用例子与仅LLM的使用例子。
|
177 |
+
|
178 |
+
## 快速体验
|
179 |
+
对一些用户来说,安装配置本地环境是有困难的,下面这些教程能够让你快速体验到MetaGPT的魅力。
|
180 |
+
|
181 |
+
- [MetaGPT快速体验](https://deepwisdom.feishu.cn/wiki/Q8ycw6J9tiNXdHk66MRcIN8Pnlg)
|
182 |
+
|
183 |
+
## 联系信息
|
184 |
+
|
185 |
+
如果您对这个项目有任何问题或反馈,欢迎联系我们。我们非常欢迎您的建议!
|
186 |
+
|
187 |
+
- **邮箱:** [email protected]
|
188 |
+
- **GitHub 问题:** 对于更技术性的问题,您也可以在我们的 [GitHub 仓库](https://github.com/geekan/metagpt/issues) 中创建一个新的问题。
|
189 |
+
|
190 |
+
我们会在2-3个工作日内回复所有问题。
|
191 |
+
|
192 |
+
## 演示
|
193 |
+
|
194 |
+
https://github.com/geekan/MetaGPT/assets/2707039/5e8c1062-8c35-440f-bb20-2b0320f8d27d
|
195 |
+
|
196 |
+
## 加入我们
|
197 |
+
|
198 |
+
📢 加入我们的Discord频道!
|
199 |
+
https://discord.gg/ZRHeExS6xv
|
200 |
+
|
201 |
+
期待在那里与您相见!🎉
|
docs/README_JA.md
ADDED
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# MetaGPT: マルチエージェントフレームワーク
|
2 |
+
|
3 |
+
<p align="center">
|
4 |
+
<a href=""><img src="resources/MetaGPT-logo.jpeg" alt="MetaGPT ロゴ: GPT がソフトウェア会社で働けるようにし、協力してより複雑な仕事に取り組む。" width="150px"></a>
|
5 |
+
</p>
|
6 |
+
|
7 |
+
<p align="center">
|
8 |
+
<b>GPT にさまざまな役割を割り当てることで、複雑なタスクのための共同ソフトウェアエンティティを形成します。</b>
|
9 |
+
</p>
|
10 |
+
|
11 |
+
<p align="center">
|
12 |
+
<a href="README_CN.md"><img src="https://img.shields.io/badge/文档-中文版-blue.svg" alt="CN doc"></a>
|
13 |
+
<a href="../README.md"><img src="https://img.shields.io/badge/document-English-blue.svg" alt="EN doc"></a>
|
14 |
+
<a href="README_JA.md"><img src="https://img.shields.io/badge/ドキュメント-日本語-blue.svg" alt="JA doc"></a>
|
15 |
+
<a href="https://discord.gg/wCp6Q3fsAk"><img src="https://dcbadge.vercel.app/api/server/wCp6Q3fsAk?compact=true&style=flat" alt="Discord Follow"></a>
|
16 |
+
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
|
17 |
+
<a href="docs/ROADMAP.md"><img src="https://img.shields.io/badge/ROADMAP-路线图-blue" alt="roadmap"></a>
|
18 |
+
<a href="resources/MetaGPT-WeChat-Personal.jpeg"><img src="https://img.shields.io/badge/WeChat-微信-blue" alt="roadmap"></a>
|
19 |
+
<a href="https://twitter.com/DeepWisdom2019"><img src="https://img.shields.io/twitter/follow/MetaGPT?style=social" alt="Twitter Follow"></a>
|
20 |
+
</p>
|
21 |
+
|
22 |
+
1. MetaGPT は、**1 行の要件** を入力とし、**ユーザーストーリー / 競合分析 / 要件 / データ構造 / API / 文書など** を出力します。
|
23 |
+
2. MetaGPT には、**プロダクト マネージャー、アーキテクト、プロジェクト マネージャー、エンジニア** が含まれています。MetaGPT は、**ソフトウェア会社のプロセス全体を、慎重に調整された SOP とともに提供します。**
|
24 |
+
1. `Code = SOP(Team)` が基本理念です。私たちは SOP を具体化し、LLM で構成されるチームに適用します。
|
25 |
+
|
26 |
+
![ソフトウェア会社は LLM ベースの役割で構成されている](resources/software_company_cd.jpeg)
|
27 |
+
|
28 |
+
<p align="center">ソフトウェア会社のマルチロール図式(順次導入)</p>
|
29 |
+
|
30 |
+
## 例(GPT-4 で完全生成)
|
31 |
+
|
32 |
+
例えば、`python startup.py "Toutiao のような RecSys をデザインする"`と入力すると、多くの出力が得られます
|
33 |
+
|
34 |
+
![Jinri Toutiao Recsys データと API デザイン](resources/workspace/content_rec_sys/resources/data_api_design.png)
|
35 |
+
|
36 |
+
解析と設計を含む 1 つの例を生成するのに、**$0.2** (GPT-4 の api のコスト)程度、完全なプロジェクトには **$2.0** 程度が必要です。
|
37 |
+
|
38 |
+
## インストール
|
39 |
+
|
40 |
+
### 伝統的なインストール
|
41 |
+
|
42 |
+
```bash
|
43 |
+
# ステップ 1: NPM がシステムにインストールされていることを確認してください。次に mermaid-js をインストールします。
|
44 |
+
npm --version
|
45 |
+
sudo npm install -g @mermaid-js/mermaid-cli
|
46 |
+
|
47 |
+
# ステップ 2: Python 3.9+ がシステムにインストールされていることを確認してください。これを確認するには:
|
48 |
+
python --version
|
49 |
+
|
50 |
+
# ステップ 3: リポジトリをローカルマシンにクローンし、インストールする。
|
51 |
+
git clone https://github.com/geekan/metagpt
|
52 |
+
cd metagpt
|
53 |
+
python setup.py install
|
54 |
+
```
|
55 |
+
|
56 |
+
**注:**
|
57 |
+
|
58 |
+
- すでに Chrome、Chromium、MS Edge がインストールされている場合は、環境変数 `PUPPETEER_SKIP_CHROMIUM_DOWNLOAD` を `true` に設定することで、
|
59 |
+
Chromium のダウンロードをスキップすることができます。
|
60 |
+
|
61 |
+
- このツールをグローバルにインストールする[問題を抱えている](https://github.com/mermaidjs/mermaid.cli/issues/15)人もいます。ローカルにインストールするのが代替の解決策です、
|
62 |
+
|
63 |
+
```bash
|
64 |
+
npm install @mermaid-js/mermaid-cli
|
65 |
+
```
|
66 |
+
|
67 |
+
- config.yml に mmdc のコンフィギュレーションを記述するのを忘れないこと
|
68 |
+
|
69 |
+
```yml
|
70 |
+
PUPPETEER_CONFIG: "./config/puppeteer-config.json"
|
71 |
+
MMDC: "./node_modules/.bin/mmdc"
|
72 |
+
```
|
73 |
+
|
74 |
+
### Docker によるインストール
|
75 |
+
|
76 |
+
```bash
|
77 |
+
# ステップ 1: metagpt 公式イメージをダウンロードし、config.yaml を準備する
|
78 |
+
docker pull metagpt/metagpt:v0.3.1
|
79 |
+
mkdir -p /opt/metagpt/{config,workspace}
|
80 |
+
docker run --rm metagpt/metagpt:v0.3.1 cat /app/metagpt/config/config.yaml > /opt/metagpt/config/key.yaml
|
81 |
+
vim /opt/metagpt/config/key.yaml # 設定を変更する
|
82 |
+
|
83 |
+
# ステップ 2: コンテナで metagpt デモを実行する
|
84 |
+
docker run --rm \
|
85 |
+
--privileged \
|
86 |
+
-v /opt/metagpt/config/key.yaml:/app/metagpt/config/key.yaml \
|
87 |
+
-v /opt/metagpt/workspace:/app/metagpt/workspace \
|
88 |
+
metagpt/metagpt:v0.3.1 \
|
89 |
+
python startup.py "Write a cli snake game"
|
90 |
+
|
91 |
+
# コンテナを起動し、その中でコマンドを実行することもできます
|
92 |
+
docker run --name metagpt -d \
|
93 |
+
--privileged \
|
94 |
+
-v /opt/metagpt/config/key.yaml:/app/metagpt/config/key.yaml \
|
95 |
+
-v /opt/metagpt/workspace:/app/metagpt/workspace \
|
96 |
+
metagpt/metagpt:v0.3.1
|
97 |
+
|
98 |
+
docker exec -it metagpt /bin/bash
|
99 |
+
$ python startup.py "Write a cli snake game"
|
100 |
+
```
|
101 |
+
|
102 |
+
コマンド `docker run ...` は以下のことを行います:
|
103 |
+
|
104 |
+
- 特権モードで実行し、ブラウザの実行権限を得る
|
105 |
+
- ホストディレクトリ `/opt/metagpt/config` をコンテナディレクトリ `/app/metagpt/config` にマップする
|
106 |
+
- ホストディレクトリ `/opt/metagpt/workspace` をコンテナディレクトリ `/app/metagpt/workspace` にマップする
|
107 |
+
- デモコマンド `python startup.py "Write a cli snake game"` を実行する
|
108 |
+
|
109 |
+
### 自分でイメージをビルドする
|
110 |
+
|
111 |
+
```bash
|
112 |
+
# また、自分で metagpt イメージを構築することもできます。
|
113 |
+
git clone https://github.com/geekan/MetaGPT.git
|
114 |
+
cd MetaGPT && docker build -t metagpt:custom .
|
115 |
+
```
|
116 |
+
|
117 |
+
## 設定
|
118 |
+
|
119 |
+
- `OPENAI_API_KEY` を `config/key.yaml / config/config.yaml / env` のいずれかで設定します。
|
120 |
+
- 優先順位は: `config/key.yaml > config/config.yaml > env` の順です。
|
121 |
+
|
122 |
+
```bash
|
123 |
+
# 設定ファイルをコピーし、必要な修正を加える。
|
124 |
+
cp config/config.yaml config/key.yaml
|
125 |
+
```
|
126 |
+
|
127 |
+
| 変数名 | config/key.yaml | env |
|
128 |
+
| ------------------------------------------ | ----------------------------------------- | ----------------------------------------------- |
|
129 |
+
| OPENAI_API_KEY # 自分のキーに置き換える | OPENAI_API_KEY: "sk-..." | export OPENAI_API_KEY="sk-..." |
|
130 |
+
| OPENAI_API_BASE # オプション | OPENAI_API_BASE: "https://<YOUR_SITE>/v1" | export OPENAI_API_BASE="https://<YOUR_SITE>/v1" |
|
131 |
+
|
132 |
+
## チュートリアル: スタートアップの開始
|
133 |
+
|
134 |
+
```shell
|
135 |
+
python startup.py "Write a cli snake game"
|
136 |
+
# コードレビューを利用すれば、コストはかかるが、より良いコード品質を選ぶことができます。
|
137 |
+
python startup.py "Write a cli snake game" --code_review True
|
138 |
+
```
|
139 |
+
|
140 |
+
スクリプトを実行すると、`workspace/` ディレクトリに新しいプロジェクトが見つかります。
|
141 |
+
### プラットフォームまたはツールの設定
|
142 |
+
|
143 |
+
要件を述べるときに、どのプラットフォームまたはツールを使用するかを指定できます。
|
144 |
+
```shell
|
145 |
+
python startup.py "pygame をベースとした cli ヘビゲームを書く"
|
146 |
+
```
|
147 |
+
### 使用方法
|
148 |
+
|
149 |
+
```
|
150 |
+
会社名
|
151 |
+
startup.py - 私たちは AI で構成されたソフトウェア・スタートアップです。私たちに投資することは、無限の可能性に満ちた未来に力を与えることです。
|
152 |
+
|
153 |
+
シノプシス
|
154 |
+
startup.py IDEA <flags>
|
155 |
+
|
156 |
+
説明
|
157 |
+
私たちは AI で構成されたソフトウェア・スタートアップです。私たちに投資することは、無限の可能性に満ちた未来に力を与えることです。
|
158 |
+
|
159 |
+
位置引数
|
160 |
+
IDEA
|
161 |
+
型: str
|
162 |
+
あなたの革新的なアイデア、例えば"スネークゲームを作る。"など
|
163 |
+
|
164 |
+
フラグ
|
165 |
+
--investment=INVESTMENT
|
166 |
+
型: float
|
167 |
+
デフォルト: 3.0
|
168 |
+
投資家として、あなたはこの AI 企業に一定の金額を拠出する機会がある。
|
169 |
+
--n_round=N_ROUND
|
170 |
+
型: int
|
171 |
+
デフォルト: 5
|
172 |
+
|
173 |
+
注意事項
|
174 |
+
位置引数にフラグ構文を使うこともできます
|
175 |
+
```
|
176 |
+
|
177 |
+
### コードウォークスルー
|
178 |
+
|
179 |
+
```python
|
180 |
+
from metagpt.software_company import SoftwareCompany
|
181 |
+
from metagpt.roles import ProjectManager, ProductManager, Architect, Engineer
|
182 |
+
|
183 |
+
async def startup(idea: str, investment: float = 3.0, n_round: int = 5):
|
184 |
+
"""スタートアップを実行する。ボスになる。"""
|
185 |
+
company = SoftwareCompany()
|
186 |
+
company.hire([ProductManager(), Architect(), ProjectManager(), Engineer()])
|
187 |
+
company.invest(investment)
|
188 |
+
company.start_project(idea)
|
189 |
+
await company.run(n_round=n_round)
|
190 |
+
```
|
191 |
+
|
192 |
+
`examples` でシングル・ロール(ナレッジ・ベース付き)と LLM のみの例を詳しく見ることができます。
|
193 |
+
|
194 |
+
## クイックスタート
|
195 |
+
ローカル環境のインストールや設定は、ユーザーによっては難しいものです。以下のチュートリアルで MetaGPT の魅力をすぐに体験できます。
|
196 |
+
|
197 |
+
- [MetaGPT クイックスタート](https://deepwisdom.feishu.cn/wiki/Q8ycw6J9tiNXdHk66MRcIN8Pnlg)
|
198 |
+
|
199 |
+
## お問い合わせ先
|
200 |
+
|
201 |
+
このプロジェクトに関するご質問やご意見がございましたら、お気軽にお問い合わせください。皆様のご意見をお待ちしております!
|
202 |
+
|
203 |
+
- **Email:** [email protected]
|
204 |
+
- **GitHub Issues:** 技術的なお問い合わせについては、[GitHub リポジトリ](https://github.com/geekan/metagpt/issues) に新しい issue を作成することもできます。
|
205 |
+
|
206 |
+
ご質問には 2-3 営業日以内に回答いた��ます。
|
207 |
+
|
208 |
+
## デモ
|
209 |
+
|
210 |
+
https://github.com/geekan/MetaGPT/assets/2707039/5e8c1062-8c35-440f-bb20-2b0320f8d27d
|
docs/ROADMAP.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
## Roadmap
|
3 |
+
|
4 |
+
### Long-term Objective
|
5 |
+
|
6 |
+
Enable MetaGPT to self-evolve, accomplishing self-training, fine-tuning, optimization, utilization, and updates.
|
7 |
+
|
8 |
+
### Short-term Objective
|
9 |
+
|
10 |
+
1. Become the multi-agent framework with the highest ROI.
|
11 |
+
2. Support fully automatic implementation of medium-sized projects (around 2000 lines of code).
|
12 |
+
3. Implement most identified tasks, reaching version 0.5.
|
13 |
+
|
14 |
+
### Tasks
|
15 |
+
|
16 |
+
To reach version v0.5, approximately 70% of the following tasks need to be completed.
|
17 |
+
|
18 |
+
1. Usability
|
19 |
+
1. Release v0.01 pip package to try to solve issues like npm installation (though not necessarily successfully)
|
20 |
+
2. Support for overall save and recovery of software companies
|
21 |
+
3. Support human confirmation and modification during the process
|
22 |
+
4. Support process caching: Consider carefully whether to add server caching mechanism
|
23 |
+
5. Resolve occasional failure to follow instruction under current prompts, causing code parsing errors, through stricter system prompts
|
24 |
+
6. Write documentation, describing the current features and usage at all levels
|
25 |
+
7. ~~Support Docker~~
|
26 |
+
2. Features
|
27 |
+
1. Support a more standard and stable parser (need to analyze the format that the current LLM is better at)
|
28 |
+
2. ~~Establish a separate output queue, differentiated from the message queue~~
|
29 |
+
3. Attempt to atomize all role work, but this may significantly increase token overhead
|
30 |
+
4. Complete the design and implementation of module breakdown
|
31 |
+
5. Support various modes of memory: clearly distinguish between long-term and short-term memory
|
32 |
+
6. Perfect the test role, and carry out necessary interactions with humans
|
33 |
+
7. Provide full mode instead of the current fast mode, allowing natural communication between roles
|
34 |
+
8. Implement SkillManager and the process of incremental Skill learning
|
35 |
+
9. Automatically get RPM and configure it by calling the corresponding openai page, so that each key does not need to be manually configured
|
36 |
+
3. Strategies
|
37 |
+
1. Support ReAct strategy
|
38 |
+
2. Support CoT strategy
|
39 |
+
3. Support ToT strategy
|
40 |
+
4. Support Reflection strategy
|
41 |
+
4. Actions
|
42 |
+
1. Implementation: Search
|
43 |
+
2. Implementation: Knowledge search, supporting 10+ data formats
|
44 |
+
3. Implementation: Data EDA
|
45 |
+
4. Implementation: Review
|
46 |
+
5. Implementation: Add Document
|
47 |
+
6. Implementation: Delete Document
|
48 |
+
7. Implementation: Self-training
|
49 |
+
8. Implementation: DebugError
|
50 |
+
9. Implementation: Generate reliable unit tests based on YAPI
|
51 |
+
10. Implementation: Self-evaluation
|
52 |
+
11. Implementation: AI Invocation
|
53 |
+
12. Implementation: Learning and using third-party standard libraries
|
54 |
+
13. Implementation: Data collection
|
55 |
+
14. Implementation: AI training
|
56 |
+
15. Implementation: Run code
|
57 |
+
16. Implementation: Web access
|
58 |
+
5. Plugins: Compatibility with plugin system
|
59 |
+
6. Tools
|
60 |
+
1. ~~Support SERPER api~~
|
61 |
+
2. ~~Support Selenium apis~~
|
62 |
+
3. ~~Support Playwright apis~~
|
63 |
+
7. Roles
|
64 |
+
1. Perfect the action pool/skill pool for each role
|
65 |
+
2. Red Book blogger
|
66 |
+
3. E-commerce seller
|
67 |
+
4. Data analyst
|
68 |
+
5. News observer
|
69 |
+
6. Institutional researcher
|
70 |
+
8. Evaluation
|
71 |
+
1. Support an evaluation on a game dataset
|
72 |
+
2. Reproduce papers, implement full skill acquisition for a single game role, achieving SOTA results
|
73 |
+
3. Support an evaluation on a math dataset
|
74 |
+
4. Reproduce papers, achieving SOTA results for current mathematical problem solving process
|
75 |
+
9. LLM
|
76 |
+
1. Support Claude underlying API
|
77 |
+
2. ~~Support Azure asynchronous API~~
|
78 |
+
3. Support streaming version of all APIs
|
79 |
+
4. ~~Make gpt-3.5-turbo available (HARD)~~
|
80 |
+
10. Other
|
81 |
+
1. Clean up existing unused code
|
82 |
+
2. Unify all code styles and establish contribution standards
|
83 |
+
3. Multi-language support
|
84 |
+
4. Multi-programming-language support
|
docs/resources/20230811-214014.jpg
ADDED
docs/resources/MetaGPT-WeChat-Personal.jpeg
ADDED
docs/resources/MetaGPT-WorkWeChatGroup-6.jpg
ADDED
docs/resources/MetaGPT-logo.jpeg
ADDED
docs/resources/MetaGPT-logo.png
ADDED
Git LFS Details
|
docs/resources/software_company_cd.jpeg
ADDED
docs/resources/software_company_sd.jpeg
ADDED
docs/resources/workspace/content_rec_sys/resources/competitive_analysis.pdf
ADDED
Binary file (45.3 kB). View file
|
|
docs/resources/workspace/content_rec_sys/resources/competitive_analysis.png
ADDED
Git LFS Details
|
docs/resources/workspace/content_rec_sys/resources/competitive_analysis.svg
ADDED
docs/resources/workspace/content_rec_sys/resources/data_api_design.pdf
ADDED
Binary file (63.6 kB). View file
|
|
docs/resources/workspace/content_rec_sys/resources/data_api_design.png
ADDED
Git LFS Details
|
docs/resources/workspace/content_rec_sys/resources/data_api_design.svg
ADDED
docs/resources/workspace/content_rec_sys/resources/seq_flow.pdf
ADDED
Binary file (32.7 kB). View file
|
|
docs/resources/workspace/content_rec_sys/resources/seq_flow.png
ADDED
Git LFS Details
|
docs/resources/workspace/content_rec_sys/resources/seq_flow.svg
ADDED
docs/resources/workspace/llmops_framework/resources/competitive_analysis.pdf
ADDED
Binary file (46.4 kB). View file
|
|
docs/resources/workspace/llmops_framework/resources/competitive_analysis.png
ADDED
Git LFS Details
|
docs/resources/workspace/llmops_framework/resources/competitive_analysis.svg
ADDED
docs/resources/workspace/llmops_framework/resources/data_api_design.pdf
ADDED
Binary file (52.8 kB). View file
|
|
docs/resources/workspace/llmops_framework/resources/data_api_design.png
ADDED
Git LFS Details
|
docs/resources/workspace/llmops_framework/resources/data_api_design.svg
ADDED
docs/resources/workspace/llmops_framework/resources/seq_flow.pdf
ADDED
Binary file (32.2 kB). View file
|
|
docs/resources/workspace/llmops_framework/resources/seq_flow.png
ADDED
Git LFS Details
|
docs/resources/workspace/llmops_framework/resources/seq_flow.svg
ADDED
docs/resources/workspace/match3_puzzle_game/resources/competitive_analysis.pdf
ADDED
Binary file (46.4 kB). View file
|
|
docs/resources/workspace/match3_puzzle_game/resources/competitive_analysis.png
ADDED
Git LFS Details
|
docs/resources/workspace/match3_puzzle_game/resources/competitive_analysis.svg
ADDED
docs/resources/workspace/match3_puzzle_game/resources/data_api_design.pdf
ADDED
Binary file (59.6 kB). View file
|
|
docs/resources/workspace/match3_puzzle_game/resources/data_api_design.png
ADDED
Git LFS Details
|
docs/resources/workspace/match3_puzzle_game/resources/data_api_design.svg
ADDED
docs/resources/workspace/match3_puzzle_game/resources/seq_flow.pdf
ADDED
Binary file (73.8 kB). View file
|
|
docs/resources/workspace/match3_puzzle_game/resources/seq_flow.png
ADDED
Git LFS Details
|
docs/resources/workspace/match3_puzzle_game/resources/seq_flow.svg
ADDED
docs/resources/workspace/minimalist_pomodoro_timer/resources/competitive_analysis.pdf
ADDED
Binary file (41.8 kB). View file
|
|