Installation

Prerequisites

Build from Source

# Clone repository
git clone https://github.com/mymonad/mymonad
cd mymonad

# Build all binaries
make build

# Or build individually
go build -o bin/mymonad-agent ./cmd/mymonad-agent
go build -o bin/mymonad-cli ./cmd/mymonad-cli
go build -o bin/mymonad-ingest ./cmd/mymonad-ingest

Install Embedding Model

ollama pull nomic-embed-text

Verify Installation

# Start Ollama (if not running)
ollama serve

# Test ingest daemon
./bin/mymonad-ingest --help

# Test agent daemon
./bin/mymonad-agent --help

# Test CLI
./bin/mymonad-cli --help

Directory Structure

After running, MyMonad creates:

PathDescription
~/.config/mymonad/Configuration files
~/.local/share/mymonad/Data directory
~/.local/share/mymonad/identity.keyEncrypted identity
~/.local/share/mymonad/monad.binYour Monad vector

Troubleshooting

Ollama connection refused

# Ensure Ollama is running
ollama serve

# Verify model is available
ollama list

Permission denied on sockets

# Remove stale sockets
rm ~/.local/share/mymonad/*.sock

Port already in use

# Use different port
./bin/mymonad-agent --port 4002
← CLI Reference Protocol Specification →