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. Note: please install python version 3.10.0+, older versions will produce outdated versions of tkinter when running the requirements install.
-
Clone Repo
$ git clone https://github.com/MorpheusAIs/moragents
$ cd moragents
- Build Docker Image for Local Agent Execution
For ARM (M1, M2, M3)
$ docker-compose -f submodules/moragents_dockers/docker-compose-apple.yml up
For Intel (x86_64)
$ docker-compose -f submodules/moragents_dockers/docker-compose.yml up
- Install Deps for UI, Recommended to use virtualenv
$ python3 -m venv .venv
$ . .venv/bin/activate
$ pip install -r requirements.txt
- Build App for Local Installation
$ pyinstaller --windowed --name="MORagents" --icon="images/moragents.icns" --osx-entitlements-file "build_assets/macOS/MORagents.entitlements" main.py
# If you have issues, try
python -m PyInstaller --windowed --name="MORagents" --icon="images/moragents.icns" --osx-entitlements-file "build_assets/macOS/MORagents.entitlements" main.py
- Install Application
$ cp dist/MORagents.app /Applications
- Open the
MORagents
app on your Mac, Docker needs to be running before opening MORagents
--
Instructions are here.
--
Windows build instructions can be found here