llama.cpp model, the Lumerin proxy-router, and the MorpheusUI from source running on a Mac.
For a packaged install (no compilation), use the Consumer quickstart. This page is for developers or contributors.
Dependencies
| Tool | Minimum | |
|---|---|---|
git | latest | https://git-scm.com |
go | 1.22+ | https://golang.org |
node | 20+ | https://nodejs.org |
make | any | https://www.gnu.org/software/make |
yarn | any | https://yarnpkg.com |
Step A — llama.cpp (terminal 1)
You will need a port for the local model server (8080 in this guide). This setup is one-time.
1
Clone & build
2
Pick a model
3
Download and run
4
Validate
Open
http://127.0.0.1:8080 and confirm the local llama.cpp UI responds.Step B — proxy-router (terminal 2)
You’ll need:- Wallet private key (do not share, used in
.env) - ETH node WSS or HTTPS URL (Alchemy/Infura) for BASE
- Ports for the proxy (
3333) and API (8082)
1
Clone the repo
2
Configure .env
3
Build & run
4
Validate
Confirm log lines like:Open
http://localhost:8082/swagger/index.html.Step C — MorpheusUI (terminal 3)
- Lower-left shows your ERC-20 wallet.
- Wallet tab shows MOR + ETH balances.
- Chat tab is set to
Provider: (local)by default.
Step D — CLI (terminal 4)
Cleaning and troubleshooting
- Save your wallet mnemonic before any cleanup.
rm -rf ./node_modulesfrom insideMorpheusUIif dependencies get stuck.rm -rf ~/Library/Application\ Support/MorpheusUIto start with a fresh wallet store.- Dangling processes:
ps -ax | grep electron/ps -ax | grep proxy-routerthenkill -9 <pid>. - Locked log files in
./data/:lsof | grep /proxy-router/data/and kill the holding process.