OpenBMB / ChatDev
- воскресенье, 3 сентября 2023 г. в 00:00:01
Create Customized Software with Natural Language Ideas
python3 run.py --config "Art"
. See example here.ChatDev
repository was released.To get started, follow these steps:
git clone https://github.com/OpenBMB/ChatDev.git
ChatDev_conda_env
with your preferred environment name:
conda create -n ChatDev_conda_env python=3.9 -y
conda activate ChatDev_conda_env
ChatDev
directory and install the necessary dependencies by running:
cd ChatDev
pip3 install -r requirements.txt
"your_OpenAI_API_key"
with your actual API key. Remember that this environment variable is session-specific, so you need to set it again if you open a new terminal session.
On Unix/Linux:
export OPENAI_API_KEY="your_OpenAI_API_key"
$env:OPENAI_API_KEY="your_OpenAI_API_key"
[description_of_your_idea]
with your idea's description and [project_name]
with your desired project name:
python3 run.py --task "[description_of_your_idea]" --name "[project_name]"
WareHouse
directory under a specific project folder, such as project_name_DefaultOrganization_timestamp
. Run your software using the following command within that directory:
cd WareHouse/project_name_DefaultOrganization_timestamp
python3 main.py
For more detailed information, please refer to our Wiki, where you can find:
DemandAnalysis -> Coding -> Testing -> Manual
.DemandAnalysis
.Chief Executive Officer
.Code: We are enthusiastic about your interest in participating in our open-source project. If you come across any problems, don't hesitate to report them. Feel free to create a pull request if you have any inquiries or if you are prepared to share your work with us! Your contributions are highly valued. Please let me know if there's anything else you need assistance!
Company: Creating your own customized "ChatDev Company" is a breeze. This personalized setup involves three simple configuration JSON files. Check out the example provided in the CompanyConfig/Default
directory. For detailed instructions on customization, refer to our Wiki.
Software: Whenever you develop software using ChatDev, a corresponding folder is generated containing all the essential information. Sharing your work with us is as simple as making a pull request. Here's an example: execute the command python3 run.py --task "design a 2048 game" --name "2048" --org "THUNLP" --config "Default"
. This will create a software package and generate a folder named /WareHouse/2048_THUNLP_timestamp
. Inside, you'll find:
CompanyConfig/Default
timestamp.log
)2048.prompt
)Here are some examples created by ChatDev:
Contributor | Software | ScreenShot | Status | LLM |
---|---|---|---|---|
https://github.com/qianc62 | A simple website | ![]() |
Perfect | GPT3.5 |
FlappyBirds Game | ![]() |
Perfect | GPT3.5 | |
A Gomoku Game | ![]() |
Perfect | GPT3.5 | |
A calculator with bottom icons generated by Agents | ![]() |
Perfect | GPT3.5 | |
https://github.com/thinkwee | Painter | ![]() |
Perfect | GPT3.5 |
PingPong Game | ![]() |
Biased | GPT3.5 | |
PixelRunner | ![]() |
Runnable | GPT3.5 | |
BudgetControl | ![]() |
Biased | GPT3.5 | |
PixelCraft | ![]() |
Runnable | GPT3.5 | |
MazeGenerator | ![]() |
Perfect | GPT3.5 | |
Matchy_Match | ![]() |
Perfect | GPT3.5 | |
Password Generator | ![]() |
Perfect | GPT3.5 | |
Todo | ![]() |
Perfect | GPT3.5 | |
Expensechart | ![]() |
Perfect | GPT3.5 | |
2048 Game | ![]() |
Perfect | GPT3.5 | |
WordExpand | ![]() |
Perfect | GPT3.5 | |
Fish Tycoon | ![]() |
Biased | GPT3.5 | |
Digital Clock | ![]() |
Perfect | GPT3.5 | |
CurrencyWiz | ![]() |
Perfect | GPT3.5 | |
Design Dream | ![]() |
Biased | GPT3.5 | |
DiceRollingSimulator | ![]() |
Perfect | GPT3.5 | |
https://github.com/NA-Wen | md2html | ![]() |
Runnable | GPT3.5 |
A Gomoku Game with assets generated by Agent | ![]() |
Perfect | GPT4 | |
MsPaint | ![]() |
Runnable | GPT3.5 | |
Image Editor | ![]() |
Perfect | GPT3.5 | |
ArtCanvas | ![]() |
Perfect | GPT3.5 | |
TicTacToe | ![]() |
Runnable | GPT3.5 | |
https://github.com/lijiahao2022 | Music Player | ![]() |
Perfect | GPT4 |
Typing Test | ![]() |
Perfect | GPT3.5 | |
Video Player | ![]() |
Runnable | GPT3.5 | |
Timer | ![]() |
Perfect | GPT3.5 | |
BookBreeze | ![]() |
Runnable | GPT3.5 |
@misc{qian2023communicative,
title={Communicative Agents for Software Development},
author={Chen Qian and Xin Cong and Wei Liu and Cheng Yang and Weize Chen and Yusheng Su and Yufan Dang and Jiahao Li and Juyuan Xu and Dahai Li and Zhiyuan Liu and Maosong Sun},
year={2023},
eprint={2307.07924},
archivePrefix={arXiv},
primaryClass={cs.SE}
}