Add Script to Automate Setup in Windows
Overview This PR contains a Windows batch script for automating the setup and execution of Agent Zero. The script automates the complete setup of Agent zero in windows by downloading python, docker, dependencies and provides a user-friendly interface for running the application in either CLI or UI mode. The goal of the script to make the project accessible to even very beginners and make it easier for all users to use the project comfortably without much hassle so that they can focus on project itself rather than getting stuck at different steps of setup
Does the following Implement automatic Python installation if not present Add Docker Desktop installation automation Include package dependency installation via pip Add bundle script execution logic Implement CLI/UI mode selection interface
Features
Automated Environment Setup:
- Python 3.10 installation check and automated install
- Docker Desktop installation with error handling
- Required Python packages installation via requirements.txt
Testing Performed
- Tested on clean Windows environment
- Verified Python installation flow
- Verified Docker installation flow
- Tested package installation
- Verified both CLI and UI mode execution
How to Test
- Clone the repository
- Run setup.bat
- Verify that all dependencies are installed correctly
- Test both CLI and UI mode execution
- Verify error handling by intentionally breaking dependencies
Notes
- The script requires administrative privileges for installations
- Users should have a stable internet connection for first-time setup
- The .env file needs to be configured manually by the user
Thank you Btw awesome project, kudos to all the contributors, I really like the idea, there are issues with project but idea is brilliant and has such a huge scalling potential. All the best
Love the idea of making a script to make it more accessible. One thing it's missing is the setup and activation of a python virtual environment.
The guide uses miniconda, but you could also use: python3 -m venv .venv and .venv\Scripts\activate
Love the idea of making a script to make it more accessible. One thing it's missing is the setup and activation of a python virtual environment.
The guide uses miniconda, but you could also use: python3 -m venv .venv and .venv\Scripts\activate
Done Added it in new commit
Also fixed the docker installation added functionality to install chocolatey if not there and installing docker using chocolatey if docker is not already installed.
Makes it even easier to setup the project dependencies and running it in an virtual environment.