{"id":1115,"date":"2024-09-11T14:59:23","date_gmt":"2024-09-11T14:59:23","guid":{"rendered":"https:\/\/zahiralam.com\/blog\/?p=1115"},"modified":"2024-09-11T14:59:23","modified_gmt":"2024-09-11T14:59:23","slug":"ai-powered-app-and-website-builder-chatdev-for-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/zahiralam.com\/blog\/ai-powered-app-and-website-builder-chatdev-for-ubuntu-24-04\/","title":{"rendered":"AI-Powered App and Website Builder: ChatDev for Ubuntu 24.04"},"content":{"rendered":"\n<p>ChatDev is a collaborative AI-driven software development framework. Follow these steps to install and run it on Ubuntu 24.04.\n\n\n\n<h4 class=\"wp-block-heading\">Step 1: Clone the GitHub Repository<\/h4>\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-1\">git clone https:\/\/github.com\/OpenBMB\/ChatDev.git\ncd ChatDev<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#git%20clone%20https%3A%2F%2Fgithub.com%2FOpenBMB%2FChatDev.git%0Acd%20ChatDev\">\n                            <button class=\"copy-button\" data-label=\"git clone https:\/\/github.com\/OpenBMB\/ChatDev.git\ncd ChatDev\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Step 2: Set Up Python Environment<\/h4>\n\n\n\n<p>Create a Python 3.9+ Conda environment. For detailed Conda installation on Ubuntu, refer to <a href=\"https:\/\/zahiralam.com\/blog\/conda-installation-on-ubuntu-simplified-step-by-step-instructions-with-activation-and-deactivation\/\">this guide<\/a>.\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-2\">conda create -n ChatDev_conda_env python=3.9 -y\nconda activate ChatDev_conda_env<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#conda%20create%20-n%20ChatDev_conda_env%20python%3D3.9%20-y%0Aconda%20activate%20ChatDev_conda_env\">\n                            <button class=\"copy-button\" data-label=\"conda create -n ChatDev_conda_env python=3.9 -y\nconda activate ChatDev_conda_env\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Step 3: Install Dependencies<\/h4>\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-3\">pip3 install -r requirements.txt<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#pip3%20install%20-r%20requirements.txt\">\n                            <button class=\"copy-button\" data-label=\"pip3 install -r requirements.txt\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Step 4: Set OpenAI API Key<\/h4>\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-4\">export OPENAI_API_KEY=&quot;your_OpenAI_API_key&quot;<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#export%20OPENAI_API_KEY%3D%22your_OpenAI_API_key%22\">\n                            <button class=\"copy-button\" data-label=\"export OPENAI_API_KEY=&quot;your_OpenAI_API_key&quot;\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Step 5: Build Your Software<\/h4>\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-5\">python3 run.py --task &quot;[description_of_your_idea]&quot; --name &quot;[project_name]&quot;<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#python3%20run.py%20--task%20%22%5Bdescription_of_your_idea%5D%22%20--name%20%22%5Bproject_name%5D%22\">\n                            <button class=\"copy-button\" data-label=\"python3 run.py --task &quot;[description_of_your_idea]&quot; --name &quot;[project_name]&quot;\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Step 6: Run Your Software<\/h4>\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-6\">cd WareHouse\/project_name_DefaultOrganization_timestamp\npython3 main.py<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#cd%20WareHouse%2Fproject_name_DefaultOrganization_timestamp%0Apython3%20main.py\">\n                            <button class=\"copy-button\" data-label=\"cd WareHouse\/project_name_DefaultOrganization_timestamp\npython3 main.py\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<p>This will successfully set up ChatDev on your Ubuntu system!\n","protected":false},"excerpt":{"rendered":"<p>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 [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":1119,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[214],"tags":[236,235,66],"class_list":["post-1115","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-installation","tag-ai-software","tag-chatdev","tag-ubuntu-24-04"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/posts\/1115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/comments?post=1115"}],"version-history":[{"count":2,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/posts\/1115\/revisions"}],"predecessor-version":[{"id":1118,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/posts\/1115\/revisions\/1118"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/media\/1119"}],"wp:attachment":[{"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/media?parent=1115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/categories?post=1115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/tags?post=1115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}