MUR

The learning layer for AI coding tools.

MUR is the only system that captures patterns from your coding sessions, evolves them over time, and syncs them to 16+ AI tools automatically. Unlike static rules files or generic memory APIs, MUR's patterns mature, decay, and adapt β€” so your AI assistants continuously get smarter.

Why MUR?

You're using Claude Code, Gemini CLI, maybe Cursor or Windsurf. But:

  • Each session starts from scratch β€” the AI forgets your preferences
  • Patterns you discover stay in your head (or get lost)
  • Every AI tool is an isolated island with no shared memory
  • Static rules files don't evolve β€” they rot

MUR closes the loop: session recording β†’ pattern extraction β†’ semantic search β†’ injection β†’ feedback β†’ evolution.

No other tool does all six.

Key Features

  • πŸ”„ Closed-Loop Learning β€” Session recording β†’ extraction β†’ injection β†’ feedback β†’ evolution. The full loop, automated.
  • 🧬 Pattern Evolution Engine β€” Time decay, maturity lifecycle (Draftβ†’Canonical), GEP-based genetic evolution, auto-promotion/demotion. No competitor has this.
  • πŸ”— Universal Sync β€” Patterns sync to 16+ AI tools: Claude Code, Gemini CLI, Cursor, Copilot, Auggie, Codex, Aider, Windsurf, and more
  • πŸ” Hybrid Semantic Search β€” Vector similarity (70%) + BM25 keywords (30%) + multi-factor scoring
  • βš™οΈ Workflow Engine β€” Multi-step workflows with variables, extracted from sessions or defined manually
  • 🌊 Emergence Detection β€” Cross-session behavior fingerprinting discovers recurring themes
  • πŸ“ YAML + Git Friendly β€” Human-readable patterns, version-controllable, no opaque database lock-in
  • πŸ”’ 100% Local First β€” All data on your machine. Zero telemetry. Cloud sync optional.

Quick Example

# Install
brew tap mur-run/tap && brew install mur

# Initialize
mur init

# Create your first pattern
mur new

# Search patterns semantically
mur search "error handling"

# Sync to all your AI tools
mur sync

# Run pattern lifecycle (promotion/decay)
mur evolve

Supported Tools (16+)

πŸͺ Native Hooks (mur init --hooks)

ToolHook EventsConfig Path
Claude CodeUserPromptSubmit, PostToolUse, Stop~/.claude/settings.json
Auggie (Augment Code)PreToolUse, PostToolUse, Stop~/.augment/settings.json
Gemini CLI / AntigravityBeforeAgent, AfterTool, SessionEnd~/.gemini/settings.json
Copilot CLI (GitHub)sessionStart, userPromptSubmitted, postToolUse, sessionEnd~/.github/hooks.json
OpenClawsession.start, session.end~/.openclaw/config.json
CursorbeforeSubmitPrompt, beforeShellExecution, stop~/.cursor/hooks.json
OpenCodesession.created, tool.execute.after, session.updated~/.config/opencode/plugins/mur-plugin.ts
Amp (Sourcegraph)PreToolUse, PostToolUse, Stop~/.amp/hooks.json

βš™οΈ Config-based (auto-configured)

ToolIntegrationConfig Path
Codex CLI (OpenAI)developer_instructions~/.codex/config.toml
Aiderread directive loads context.md~/.aider.conf.yml

πŸ“ File-based Rules (prints setup hints)

ToolRules File
Zed.rules > .cursorrules > AGENTS.md
Junie (JetBrains).junie/guidelines.md
Trae (ByteDance).trae/rules/
Cline / Roo.clinerules / .roomodes
Windsurf.windsurfrules
Amazon Q.amazonq/rules/

Get Started