ChatDev is a collaborative AI-driven software development framework. Follow these steps to install and run it on Ubuntu 24.04.
Step 1: Clone the GitHub Repository
git clone https://github.com/OpenBMB/ChatDev.git
cd ChatDev
Step 2: Set Up Python Environment
Create a Python 3.9+ Conda environment. For detailed Conda installation on Ubuntu, refer to this guide.
conda create -n ChatDev_conda_env python=3.9 -y
conda activate ChatDev_conda_env
Step 3: Install Dependencies
pip3 install -r requirements.txt
Step 4: Set OpenAI API Key
export OPENAI_API_KEY="your_OpenAI_API_key"
Step 5: Build Your Software
python3 run.py --task "[description_of_your_idea]" --name "[project_name]"
Step 6: Run Your Software
cd WareHouse/project_name_DefaultOrganization_timestamp
python3 main.py
This will successfully set up ChatDev on your Ubuntu system!