This is the simplest way to get started with the Morpheus Lumerin Node as a Consumer. This will allow you to interact with the Morpheus network and the models offered on the network as a consumer.
It will run 3 different pieces of software on your local machine:
llama.cpp
(llama-server) - a simple sample AI model that can be run on the same machine as the proxy-router and MorpheusUI to show how the components work together and run local (free) inferenceproxy-router
- the same software as the provider side, but with different environment variables and a different roleMorpheusUI
- Electron GUI that enables the user to interact with the models (via the API) to browse offered bids, purchase and send prompts
-
Obtain the software:
- Package: Download latest release for your operating system: https://github.com/Lumerin-protocol/Morpheus-Lumerin-Node/releases
- Mainnet releases will be prefixed with
main-*
- Testnet releases will be prefixed with
test-*
- Mainnet releases will be prefixed with
- Package: Download latest release for your operating system: https://github.com/Lumerin-protocol/Morpheus-Lumerin-Node/releases
-
Extract the zip to a local folder (examples)
- Windows:
(%USERPROFILE%)/Downloads/morpheus)
- Linux & MacOS:
~/Downloads/morpheus
- On MacOS you may need to execute
xattr -c mor-launch proxy-router MorpheusUI.app llama-server
in a command window to remove the quarantine flag on MacOS
- Windows:
-
Launch the node - this should open a command window to see local LLM model server and proxy-router start and then should launch the user interface
- Windows: Double click the
mor-launch.exe
(You will need to tell Windows Defender this is ok to run) - Linux & MacOS: Open a terminal and navigate to the folder and run
./mor-launch
- Windows: Double click the
-
Startup User Interface:
- Read & accept terms & Conditions
- Set a strong password (this is for the MorpheusUI only)
- Follow the instructions for creating a new wallet (be sure to save the mnemonic in a safe place)
- OPTIONAL to use existing Wallet
- Instead of creating an new wallet and if you have the existing wallet's mnemonic, when prompted, select
Recover your wallet Saved Mnemonic
instead.
- Instead of creating an new wallet and if you have the existing wallet's mnemonic, when prompted, select
-
Startup CLI Interface (Optional):
- Linux & MacOS: Open a terminal and navigate to the folder and run
./mor-cli
- Linux & MacOS: Open a terminal and navigate to the folder and run
-
Local Test: Once the UI is up and running,
- You should see tokens for ETH and MOR that you sent to this wallet earlier.
- If this is a new wallet, you will need to send MOR and ETH to this wallet to be able to interact with the blockchain
- This can be done externally via metamask or usual Arbitrum testnet faucets
- Once you have a funded Wallet, you can interact with the local model
- Click on the
Chat
icon on the left side of the screen - Make sure the
Local Model
is selected - Begin your conversation with the model by typing in the chat window and pressing
Enter
- You should see the model respond with the appropriate response to the prompt you entered, if not, there may be an issue with the local model service
- You should see tokens for ETH and MOR that you sent to this wallet earlier.
-
Remote Test: Once you've verified that your wallet can access the blockchain and you can see the local model working, you can switch to a remote model and test that as well
- In the
Chat
window, selectChange Model
- Select a different model from remote providers
- DropDown and select the contract address of the model you want to use
- Click Change
- Click Open Session
- MUST Enter at least 5 MOR to open session
- You can now chat with the remote model and see the responses in the chat window
- In the
-
Cleanup/Closeout
- Manually End all Remote Sessions:
- In the Chat Window, click on the Time icon to the right of the Model line - this will expand and show current sessions, click the "X" next to each one to make sure it's closed
- Closing the MorpheusUI window should leave the CMD window open
- You’ll have to ctrl-c in the window to kill the local model and proxy-router
- To FULLY delete and force a clean startup of the UI (including forcing new password and mnemonic recovery), delete the MorpheusUI folder and start the UI again
- Windows:
%USERPROFILE%\AppData\Roaming\MorpheusUI
- Linux:
~/.config/MorpheusUI
- MacOS:
~/Library/Application Support/MorpheusUI
- Windows:
- Manually End all Remote Sessions: