A simple guide to get the local 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.
Wallet: if you start with an existing MetaMask wallet, use a tier-1 (top-level) address, not a derived/secondary one. MorpheusUI’s mnemonic-recover flow does not work properly with secondary addresses derived under the same mnemonic.

Dependencies

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

Set general variables:
Then pick a model (full set in docs/mac-boot-strap.md):
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

See Env: proxy-router for every field.
3

Build & run

Allow firewall prompts on first launch.
4

Validate

Confirm log lines like:
Open http://localhost:8082/swagger/index.html.

Step C — MorpheusUI (terminal 3)

The Electron app launches into onboarding. Confirm:
  • 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_modules from inside MorpheusUI if dependencies get stuck.
  • rm -rf ~/Library/Application\ Support/MorpheusUI to start with a fresh wallet store.
  • Dangling processes: ps -ax | grep electron / ps -ax | grep proxy-router then kill -9 <pid>.
  • Locked log files in ./data/: lsof | grep /proxy-router/data/ and kill the holding process.
For more, see Troubleshooting.