mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-26 17:26:22 +02:00
use metagpt cli instead. update all related docs
This commit is contained in:
parent
ad17a2dc7a
commit
b4eb8e4f34
10 changed files with 39 additions and 37 deletions
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
# MetaGPT: The Multi-Agent Framework
|
||||
|
||||
<p align="center">
|
||||
|
|
@ -50,9 +51,9 @@ # Step 2: Clone the repository to your local machine for latest version, and ins
|
|||
cd MetaGPT
|
||||
pip3 install -e. # or pip3 install metagpt # for stable version
|
||||
|
||||
# Step 3: run the startup.py
|
||||
# Step 3: run metagpt cli
|
||||
# setup your OPENAI_API_KEY in key.yaml copy from config.yaml
|
||||
python3 startup.py "Write a cli snake game"
|
||||
metagpt "Write a cli snake game"
|
||||
|
||||
# Step 4 [Optional]: If you want to save the artifacts like diagrams such as quadrant chart, system designs, sequence flow in the workspace, you can execute the step before Step 3. By default, the framework is compatible, and the entire process can be run completely without executing this step.
|
||||
# If executing, ensure that NPM is installed on your system. Then install mermaid-js. (If you don't have npm in your computer, please go to the Node.js official website to install Node.js https://nodejs.org/ and then you will have npm tool in your computer.)
|
||||
|
|
@ -78,7 +79,7 @@ # Step 2: Run metagpt demo with container
|
|||
-v /opt/metagpt/config/key.yaml:/app/metagpt/config/key.yaml \
|
||||
-v /opt/metagpt/workspace:/app/metagpt/workspace \
|
||||
metagpt/metagpt:latest \
|
||||
python startup.py "Write a cli snake game"
|
||||
metagpt "Write a cli snake game"
|
||||
```
|
||||
|
||||
detail installation please refer to [docker_install](https://docs.deepwisdom.ai/guide/get_started/installation.html#install-with-docker)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue