How to build
May 15, 2025 ยท View on GitHub
Linux
Clone the repo
git clone https://github.com/jbexta/AgentPilot.git
CD to the project
cd AgentPilot
Run the build script
This requires pyenv to be installed on your system
python3 build.py
Test the executable
./dist/AgentPilot_0.5.1_Linux/AgentPilot_0.5.1.AppImage
How to build without build script
Linux
CD to where you want to clone the project
cd ~/PycharmProjects
Clone the repo
git clone https://github.com/jbexta/AgentPilot.git
CD to the project
cd AgentPilot
Activate a 3.10.11 virtual environment (I'm using pyenv)
pyenv install 3.10.11
pyenv virtualenv 3.10.11 agentpilotvenv
pyenv activate agentpilotvenv
Install dependencies
pip install -r requirements.txt
Install pyinstaller
pip install pyinstaller
Build the project
pyinstaller build.spec
This will create a dist folder in the project root directory. The executable will be in the dist folder.
Copy the database and avatars to the dist folder
cp data.db dist/data.db
cp -r docs/avatars dist/avatars
Test the executable
./dist/__main__
Create an appimage
...