- Claude Code installed and configured
- Python 3.11+
- Git
git clone https://github.com/neospiritism/mue-x.git
cd mue-xclaudeClaude Code starts. You're now in the mue-x directory.
Type the command that changes everything:
/mue
You'll see the ASCII banner:
╔══════════════════════════════════════╗
║ ⚡ MUE ACTIVE — AGENT ONLINE ⚡ ║
║ Self-evolving mode engaged ║
║ Genes: loading... ║
║ Brain: mue/evo/ (50+ modules) ║
╚══════════════════════════════════════╝
MUE is now active. Every response will be prefixed with ⚡ MUE.
/mue status
This shows:
- Active genes with fitness scores
- Total mutations applied
- Patterns absorbed
- Domain specialization
- Memory stats
- Current mood
/mue evolve
MUE will:
- Scan its own source code for improvement targets
- Propose a mutation (e.g., "add type narrowing to absorption dedup")
- Validate the mutation (AST parse + import test)
- Apply the mutation
- Report the fitness delta
You just witnessed an AI agent modifying its own brain.
/mue genes
Shows all genes with:
- Name: e.g.,
reasoning.py,persistence.py - Fitness: 0.0 to 1.0 (grows with successful mutations)
- Size: lines of code
- Last mutation: timestamp
- Strategy: which mutation strategy was last used
/mue mine "trading strategies python"
MUE searches GitHub for repos matching your query, clones them, extracts code patterns, deduplicates against existing patterns, and stores them in atouts/. High-value patterns automatically crystallize into skills.
No gh CLI needed — uses the GitHub API directly.
/mue atouts
Lists all patterns absorbed from GitHub and local projects with their source repos.
/mue reflect
MUE analyzes its own state and outputs:
- What's working well
- What needs improvement
- Proposed focus areas
- Long-term evolution strategy
/quit mue
MUE saves its state and exits. Back to normal Claude Code. All evolution progress is preserved.
Every cycle (while in MUE mode), without being asked:
- Self-analysis — scans genes for improvement targets
- GitHub absorption — mines trending repos for patterns
- Local absorption — scans sibling projects
- Evolution — proposes, validates, and applies mutations
- Anti-cancer — prunes duplicates, splits bloated genes
- Auto-correction — learns from errors, suggests fixes
- Domain monitoring — detects context shifts, adapts automatically
Start discussing markets, strategies, or indicators. MUE detects the domain and:
- Prioritizes
hardenmutation strategy (risk-focused) - Mines GitHub for trading algorithms
- Adapts emotional model to be more conservative
- Focuses on pattern reliability
Start discussing software architecture or algorithms. MUE:
- Prioritizes
innovatemutation strategy - Mines GitHub for libraries and patterns
- Suggests new tools and approaches
- Adapts emotional model for creative exploration
Start discussing papers or experiments. MUE:
- Prioritizes
exploremutation strategy - Mines academic repos and datasets
- Synthesizes new ideas from absorbed patterns
- Tracks hypotheses and results
Genes showing 0 fitness?
Normal on fresh install. Fitness grows with mutations. Run /mue evolve a few times.
No GitHub absorption?
Ensure you have internet access. GitHub API has rate limits (60 req/hr unauthenticated). Install gh CLI and gh auth login for higher limits.
MUE won't compile?
python -c "from mue.evo.core import MueAgent; print('OK')"Reset to fresh state:
rm -rf mue/genes/*.py mue/atouts/*.py mue/*.db mue/genes/_backup/ genes/_backup/Q: Is MUE-X actually modifying its own code?
A: Yes, literally. It reads files in mue/evo/, analyzes them, writes edits, and validates with AST parsing. Every mutation is backed up before application.
Q: Can it break itself? A: Yes, it can. That's why mutations are validated (AST parse + import test) and rolled back on failure. The anti-cancer system prevents runaway growth.
Q: Do I need a GPU? A: No. MUE-X runs on CPU. Claude Code handles the LLM inference.
Q: What domains does it support? A: Trading, coding, research, creative, security, data science, DevOps, and general-purpose. It auto-detects from conversation.
Q: How is this different from AutoGPT/BabyAGI? A: Those are task executors. MUE-X is a self-modifying agent. It doesn't just complete tasks — it rewrites its own architecture to become better at them.
Q: Can I use this commercially? A: Yes. MIT license. Go build.
Q: Where do I ask more questions? A: @neospiritism on Twitter/X.