Configuration
MUR's configuration lives at ~/.mur/config.yaml. Run mur init for an interactive setup wizard.
Full Configuration Reference
# Semantic search / embedding
embedding:
provider: ollama # ollama | openai | gemini | anthropic
model: qwen3-embedding:0.6b # see Embedding Models below
dimensions: 1024 # must match model (set automatically by mur init)
ollama_endpoint: http://localhost:11434
# Pattern extraction LLM
llm:
provider: anthropic # anthropic | openai | gemini | ollama
model: claude-sonnet-4-20250514
api_key_env: ANTHROPIC_API_KEY
# openai_url: https://openrouter.ai/api/v1 # for OpenRouter
# Daemon-side codebase reindex for commits made by sealed agents
codebase_reindex:
enabled: true # false = murmurd never rebuilds indexes for agents
poll_secs: 30 # how often the wake-up inbox is checked
reconcile_secs: 3600 # check every index even without a wake-up
min_interval_secs: 120 # minimum gap between two rebuilds of one project
max_backoff_secs: 3600 # ceiling for the retry delay after a failed rebuild
max_intake: 256 # wake-ups read per check; the rest wait
max_concurrent: 1 # rebuilds running at once
job_timeout_secs: 1800 # a rebuild running longer than this is stopped
codebase_reindex values of 0 are replaced by their defaults when the config
loads, and a max_backoff_secs lower than min_interval_secs is raised to
match it. After a failed rebuild the retry delay starts at min_interval_secs
and doubles up to max_backoff_secs. See
Semantic Search.
Model Registry (agents & cost router)
The models that agents and the cost router use live in a separate registry at ~/.mur/models.yaml, not in config.yaml. Manage it with the mur model commands rather than editing the file by hand:
mur model add gpt5 --provider openai --model gpt-5.2 --secret env:OPENAI_API_KEY
mur model list
Pricing (input/output USD-per-1k) and context window are auto-filled from the models.dev catalog. API keys are stored as SecretRefs (env: / keychain: / file: / cmd:), never in plaintext. The MUR Hub desktop app's Model Library offers a GUI: connect a cloud provider (key → macOS Keychain) or auto-detect a local runtime (Ollama / MLX / LM Studio), then pick which discovered models to register.
Embedding Models
Ollama (Free, Local — Recommended)
No API key needed, runs entirely on your machine:
# Pull your chosen model first
ollama pull qwen3-embedding:0.6b
| Model | RAM | Quality | Dimensions |
|---|---|---|---|
qwen3-embedding:0.6b | ~1.5GB | Good (recommended) | 1024 |
qwen3-embedding:4b | ~8GB | Better multilingual | 2560 |
qwen3-embedding:8b | ~16GB | Best (MTEB #1) | 4096 |
nomic-embed-text | ~300MB | Lightweight | 768 |
embedding:
provider: ollama
model: qwen3-embedding:0.6b
dimensions: 1024
OpenAI
Low cost (~$0.001 per 200 patterns):
embedding:
provider: openai
model: text-embedding-3-small
dimensions: 1536
api_key_env: OPENAI_API_KEY
After changing embedding config, rebuild the index:
mur reindex
LLM Providers
MUR uses an LLM for pattern extraction and contradiction detection.
Cloud providers
llm:
provider: anthropic # or openai, gemini
model: claude-sonnet-4-20250514
api_key_env: ANTHROPIC_API_KEY
OpenRouter (access to many models)
llm:
provider: openai
model: google/gemini-2.5-flash
api_key_env: OPENROUTER_API_KEY
openai_url: https://openrouter.ai/api/v1
Ollama (free, local)
llm:
provider: ollama
model: llama3.2:3b
File Locations
| Path | Purpose |
|---|---|
~/.mur/config.yaml | Main configuration |
~/.mur/patterns/ | Pattern YAML files (source of truth) |
~/.mur/workflows/ | Workflow YAML files |
~/.mur/index/ | LanceDB vector index (rebuildable) |
~/.mur/sessions/ | Session recordings |
Moving the data root (MUR_HOME)
Every path above lives under one data root, ~/.mur by default. Set MUR_HOME to put the whole root somewhere else, for example on an external drive or in a throwaway test directory:
export MUR_HOME=/Volumes/Data/mur
mur doctor # first line: "MUR directory: <resolved root>"
- One root, everything follows. Config, patterns, the search index, workflows, sessions, agents,
models.yaml, the trust store, conversations, browser state and the daemon all resolve from the same root. The CLI,murmurd, agent runtimes and the MCP server agree on it. - An empty value counts as unset.
MUR_HOME=""falls back to~/.mur; it is never treated as a relative path. - Background services capture it at install time. A launchd/systemd service doesn't inherit your shell's environment. So the units MUR writes carry the
MUR_HOMEthat was set when it wrote them: themurmurdlogin service frommur init, and system-cron schedules frommur workflow schedule set/enable. If you changeMUR_HOMElater, re-run those commands so the services pick up the new root. - MUR doesn't move existing data. Changing
MUR_HOMEpoints MUR at a new, empty root. To keep your data, copy the old root first (cp -R ~/.mur /Volumes/Data/mur).
Versions up to and including v2.91.10 only partly honour
MUR_HOME. Config and agents move, but patterns, the index, search, sources, the injection hook and the daemon stay in~/.mur. That splits your data across two roots, and nothing warns you. LeaveMUR_HOMEunset on those versions, or upgrade first.
See Also
- Semantic Search — Deep dive into search configuration
- Commands — Full command reference