← Products

Pistachio

A local AI client for the Morpheus peer-to-peer AI network. Stake MOR, connect directly to decentralized AI providers, and run inference from your own machine. No API keys, no cloud accounts, no middlemen.

Pistachio
Alpha software. Use at your own risk. Pistachio is under active development. Expect rough edges, breaking changes, and occasional downtime. MOR staking involves real tokens on Base, so only stake what you're comfortable with. DRM3 Labs assumes no liability for loss of tokens or funds.

What is Morpheus?

Morpheus is a decentralized peer-to-peer AI network. Independent compute providers run AI models (LLaMA, Qwen, DeepSeek, Mistral, and others) and register them on-chain on Base. Users stake MOR tokens to open direct sessions with providers. There is no central server. Your prompts go directly from your machine to the provider. That is the Morpheus network. Read more about Pistachio and Morpheus on the DRM3 blog.

What is Pistachio?

Pistachio Chat

Pistachio is DRM3's client for the Morpheus network. It runs on your machine and handles everything: discovering providers on-chain, staking MOR to open sessions, routing your requests to providers peer-to-peer, and reclaiming your stake when sessions end.

It exposes an OpenAI-compatible API on localhost, so any tool that speaks the OpenAI protocol works out of the box. Point Claude Code, Continue, or any other AI dev tool at it and go.

Pistachio Sessions
Session management
Pistachio Network Canary
Network canary
Pistachio Model Health
Model health
Pistachio API Reference
API playground

Available as a macOS desktop app (Homebrew cask), a command-line client (Homebrew or curl install), and a headless daemon for servers. Runs on macOS, Ubuntu/Linux, and Windows via WSL2.

Requirements

There are several ways to get set up. Here are two straightforward options:

Option 1: Buy on Coinbase, send to MetaMask

Option 2: Send ETH, swap for MOR

Base network only. MOR moved from Arbitrum to Base in 2025. If you come across older documentation referencing Arbitrum, ignore it. All MOR staking and sessions happen on Base.

Install

macOS (desktop app + CLI)
brew tap drm3labs/drm3 && brew install --cask pistachio
Linux / Ubuntu / WSL2
curl -fsSL https://raw.githubusercontent.com/drm3labs/drm3-releases/main/products/pistachio/install.sh | sh
Mac users: Install the cask (above), not the formula (brew install pistachio). The cask includes the desktop app and CLI. Installing both will conflict.

Upgrade

macOS
brew upgrade --cask pistachio
Linux / curl installs
curl -fsSL https://raw.githubusercontent.com/drm3labs/drm3-releases/main/products/pistachio/install.sh | sh

Quick Start

1. Connect your wallet
pistachio config set private-key
2. Claim your free DRM3 Pass (required)

You need a DRM3 Pass NFT to stake MOR and use inference. The Starter pass is free (costs less than $0.01 in gas on Base). Without it, Pistachio will show a "claim your pass" screen and you won't be able to open sessions.

Claim Your Free DRM3 Pass
3. Set up a free Alchemy RPC key (required)

Pistachio reads session data from Base. A free Alchemy key is required. Takes 2 minutes: create an account, make an app on "Base Mainnet", copy your key.

pistachio config set rpc-url https://base-mainnet.g.alchemy.com/v2/YOUR_KEY
4. Start Pistachio
pistachio serve

Open http://localhost:19377 to access the dashboard. The desktop app handles wallet setup and pass detection on first launch.

Connect Your Wallet

Your Ethereum wallet is your identity on the Morpheus network. No accounts, no passwords.

The desktop app walks you through wallet setup on first launch. From the CLI:

pistachio config set private-key

Paste your wallet key when prompted. It is stored locally with restricted file permissions and never leaves your machine.

Need a wallet? Install MetaMask, create a wallet, and save your seed phrase somewhere safe. If you lose access, you lose any staked MOR.

Base RPC Key (Required)

Pistachio reads all session and staking data from the Base blockchain. A dedicated RPC endpoint is required. Free public RPCs rate-limit too aggressively and will fail at startup.

  1. Go to alchemy.com and create a free account
  2. Create an app, select Base Mainnet
  3. Copy your API key and run:
pistachio config set rpc-url https://base-mainnet.g.alchemy.com/v2/YOUR_KEY

Verify with pistachio info. The free Alchemy tier gives you 300 million compute units per month. More than enough for personal use.

Live Demo

Don't want to install yet? Try the hosted version. Full dashboard, live on the Morpheus network:

⚡ Try Pistachio Live at pistachio.inference.drm3.network

Use with Claude Code

Pistachio speaks the Anthropic Messages API. Point Claude Code at your local Pistachio instance:

ANTHROPIC_BASE_URL=http://localhost:19377/inference claude

That's it. Claude Code will route through Morpheus providers via Pistachio. Permissionless, private, no API keys.

Use with Other AI Tools

Pistachio also exposes an OpenAI-compatible API:

Continue (VS Code)
Set base URL to http://localhost:19377/v1
aider
aider --openai-api-base http://localhost:19377/v1
Any OpenAI SDK
OPENAI_BASE_URL=http://localhost:19377/v1

Direct Download

Apple Silicon Intel Mac
All Releases & Downloads

How It Works

Morpheus is a peer-to-peer network. There is no central inference API. Instead, independent providers run AI models and register them on the Base blockchain. Pistachio discovers these providers, stakes your MOR to open a direct session, and routes your prompts to the provider over a direct connection.

Your MOR is collateral, not payment. The full stake is returned when the session closes. The only real cost is a small amount of ETH gas for opening and closing sessions on Base. Higher-tier passes mean longer sessions and less gas spent on restaking.

Session management is fully automated. You pick a model, Pistachio handles the rest.

Your Wallet is Your Identity

Pistachio uses your Ethereum wallet as your identity. No accounts, no passwords, no API keys. Your wallet address is your credential across all DRM3 products: inference, support, and the network explorer.

A DRM3 Consumer Pass is an ERC-721 NFT on Base that lives in your wallet and controls two things: how much MOR you can stake for AI inference, and what level of support access you have. Your pass is yours. You can trade it, upgrade it, or hold multiple passes. Capacity is additive. DRM3 never has custody of your keys or tokens.

Get a Pistachio Consumer Pass

Claim your free Starter pass for 20 MOR capacity, enough for 1-2 models. Operators who need multi-concurrent lanes across many models should look at Gold or Diamond.

Pistachio Consumer Passes are NFTs on Base that control your staking capacity:

LevelCapacityPrice
Starter20 MORFree (claim required)
Bronze+200 MOR5 MOR
Silver+1,000 MOR20 MOR
Gold+5,000 MOR80 MOR
Diamond+20,000 MOR250 MOR

Capacity is additive. Buy multiple passes to stack. Want 40K capacity? Two Diamonds. Passes are tradeable ERC-721 NFTs on Base with a 3% royalty on secondary sales.

Get a Pistachio Consumer Pass

Why Higher Capacity?

Higher capacity means longer sessions and less gas spent on restaking. The free tier is great for getting started, but if you're running multiple models or using Pistachio regularly, upgrading saves time and gas.

Become a Provider

Run AI models and earn MOR by serving inference requests to Pistachio users. Providers stake MOR, register their models on-chain, and receive direct P2P connections from clients.

Learn about operating a Morpheus compute node

CLI Reference

Configuration
pistachio config show
pistachio config set private-key
pistachio config set port 8080
pistachio config path
pistachio config reset
Wallet
pistachio wallet balance
pistachio wallet approve
Sessions
pistachio session list
pistachio session open llama-3.3-70b --stake 5
pistachio session close --session 0x...
pistachio session renew-all
Models
pistachio catalog list
pistachio catalog refresh
pistachio catalog probe
pistachio catalog filter --healthy --capacity
Other
pistachio info
pistachio lanes
pistachio chat "prompt" --stream
pistachio claim-pass
pistachio uninstall

Run any command with --help for full details.

Troubleshooting

"No wallet configured"
Run pistachio config set private-key or follow the desktop app setup on first launch.

"No DRM3Pass found"
Claim a free pass at nft.drm3.xyz or run pistachio claim-pass. Use the same wallet Pistachio is configured with.

"Insufficient MOR balance"
MOR must be on the Base network. MOR on Ethereum mainnet or Arbitrum will not work.

"Insufficient ETH for gas"
You need a small amount of ETH on Base for transaction fees. $5 is plenty.

Stale binary after upgrade
Run which pistachio. If it shows /usr/local/bin/pistachio instead of /opt/homebrew/bin/pistachio, remove the old one: sudo rm /usr/local/bin/pistachio

Sessions expiring quickly
Session length depends on your stake amount. Stake more MOR or upgrade your pass for higher capacity. Run pistachio session renew-all to refresh.

Models not loading
Run pistachio catalog refresh then pistachio catalog probe.

Port already in use
Run pistachio config set port 8080 to change the port.

Full diagnostic

pistachio info
pistachio config show
pistachio wallet balance
pistachio session list
pistachio --version

Check status.drm3.network to see if the network is healthy.

Support

Need help? Check the knowledgebase or submit a support ticket.

DRM3 Support Portal Troubleshooting Guide

Useful Links

Download Pistachio Claim Your Free Pass Network Status Block Explorer

Pistachio is non-custodial software. Your private key is stored locally on your device and is never transmitted to DRM3 or any third party. DRM3 Labs Corp. cannot access, recover, or reset your key. You are solely responsible for its security.

Alpha software. Provided “as is” without warranty. Not financial advice. Digital assets are volatile. Use at your own risk.

© 2026 DRM3 Labs Corp.

Terms  ·  Privacy  ·  General Terms