This README will guide you on building a Docker container for agent execution as well as a desktop UI app. You may instead simply download the pre-built app
-
Ensure you have Python, Pip, Docker Desktop, and Git installed on your Windows machine. Note: please install python version 3.10.0+, older versions will produce outdated versions of tkinter when running the requirements install.
-
Clone the repository using Command Prompt or PowerShell:
> git clone https://github.com/MorpheusAIs/moragents
> cd moragents
- Build the Docker Image for Local Agent Execution:
> docker compose -f submodules/moragents_dockers/docker-compose.yml up
- Install Deps for UI, Recommended to use virtualenv
> python -m venv .venv
> Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
> .\.venv\Scripts\Activate.ps1
> pip install -r requirements.txt
- Build App for Local Installation
pyinstaller --name="MORagents" --icon="moragents.ico" main.py
There is a known and common issue where pyinstaller will trigger Windows Defender (see here for more details). If there is a security warning, perform the following:
- Open Windows Security: Go to Start > Settings > Update & Security > Windows Security > Virus & threat protection.
- Manage Settings: Under Virus & threat protection settings, select "Manage settings."
- Add or remove exclusions: Scroll down to "Exclusions" and select "Add or remove exclusions."
- Add an exclusion: Select "Add an exclusion" and choose the folder where your project is located.
More details located here
- The compiled executable will be located in the dist folder. You can create a shortcut to the MORagents.exe file for easy access.
- Double-click the MORagents.exe file to open the MORagents app on your Windows machine. Make sure Docker is running before opening MORagents.
MacOS build instructions can be found here