Memphis - Complete AI Brain ๐ฅ
Transform any OpenClaw agent into a fully-functional cognitive partner in 5 minutes!
โก What is Memphis?
Memphis = Agent + LLM + Memory Chain + DECIDE + PREDICT
A local-first AI brain with persistent memory chains, offline LLM integration, and complete cognitive capabilities (conscious, inferred, and predictive decisions).
๐ฏ ALL-IN-ONE Package (v3.0.0)
What's Included:
๐ฆ Memphis v3.0.0
โโโ ๐ง Core Brain (v3.0.0)
โ โโโ Journal (capture memories)
โ โโโ Recall (semantic search)
โ โโโ Ask (LLM-powered Q&A)
โ โโโ Decisions (decision tracking)
โ โโโ Vault (encrypted secrets)
โ โโโ Graph (knowledge graph)
โ โโโ Embeddings (vector search)
โ
โโโ ๐ Cognitive Engine (v3.0.0)
โ โโโ Model A: Record decisions (manual)
โ โโโ Model B: Detect decisions (git-based)
โ โโโ Model C: Predict decisions (AI-powered)
โ โโโ Pattern learning (90.7% accuracy)
โ โโโ Proactive suggestions
โ
โโโ ๐ ๏ธ Setup & Management (v2.0.0)
โ โโโ Bootstrap wizard (5-minute setup)
โ โโโ Self-loop capability
โ โโโ Auto-repair system
โ โโโ Chain monitoring
โ โโโ Backup automation
โ
โโโ ๐ Multi-Agent Network (v1.0.0)
โโโ Campfire Circle Protocol
โโโ Share chain sync (IPFS)
โโโ Multi-agent collaboration
โโโ Agent negotiation
๐ Quick Start (5 minutes)
1. Install (30 sec)
clawhub install memphis
2. Initialize (2 min)
# Interactive setup wizard
memphis init
# Or quick setup with identity
memphis init --identity "YourAgent" --role "Assistant" --location "localhost"
3. First Memory (1 min)
# Create your first memory
memphis journal "Hello Memphis! I'm your first memory!" --tags first,hello
# Search your memory
memphis ask "What is my first memory?" --provider ollama
4. First Decision (1 min)
# Record a conscious decision
memphis decide "Framework choice" "React" \
--options "React|Vue|Angular" \
--reasoning "Best ecosystem and community support" \
--tags tech,frontend
5. Predict (30 sec)
# See predicted decisions based on patterns
memphis predict
# Enable learning mode
memphis predict --learn
โ Done! Memphis is ready!
๐ง Core Features
1. Memory Chains (Persistent Storage)
# Journal - Capture everything
memphis journal "Learned: TypeScript generics" --tags learning,typescript
memphis journal "Met with team about Project X" --tags meeting,project-x
# Recall - Semantic search
memphis recall "TypeScript" --top 20
# Ask - LLM-powered Q&A
memphis ask "What did I learn about TypeScript?" --provider ollama
2. Decision Tracking
# Record decision
memphis decide "Database" "PostgreSQL" \
--options "PostgreSQL|MongoDB|SQLite" \
--reasoning "Need ACID transactions" \
--tags architecture,database
# View decision
memphis show decision 1
# List all decisions
memphis decisions
3. Knowledge Graph
# Build graph from chains
memphis graph build
# Explore connections
memphis graph show --chain journal --limit 10
4. Encrypted Vault
# Initialize vault
memphis vault init --password-env MEMPHIS_VAULT_PASSWORD
# Add secret
memphis vault add openai-key sk-xxx --password-env MEMPHIS_VAULT_PASSWORD
# Get secret
memphis vault get openai-key --password-env MEMPHIS_VAULT_PASSWORD
๐ Cognitive Engine (Models A+B+C)
Model A: Conscious Decisions
# Manual decision recording
memphis decide "Use TypeScript" "TypeScript" -r "Better type safety"
Model B: Inferred Decisions
# Auto-detect from git commits
memphis git-analyze --auto-decide
# Review suggestions
memphis review --pending
Model C: Predictive Decisions
# Predict next decisions
memphis predict
# Enable learning
memphis predict --learn
# View patterns
memphis patterns show
๐ ๏ธ Management Features
Auto-Repair
# Verify chain integrity
memphis verify
# Auto-repair issues
memphis repair --auto
Monitoring
# Health check
memphis doctor
# Chain status
memphis status
Backup
# Create backup
memphis backup create ~/backups/memphis-$(date +%Y%m%d).tar.gz
# Restore
memphis backup restore ~/backups/memphis-20260303.tar.gz
๐ Multi-Agent Network
Campfire Circle Protocol
# Setup multi-agent network
memphis network setup --partner "Memphis at 10.0.0.80"
# Sync share chain
memphis share-sync
# Send message to partner
memphis share "Working on feature X" --type update
๐ CLI Commands (35+)
Core Commands
memphis init # Initialize Memphis brain
memphis status # Health check
memphis doctor # Diagnostic
memphis journal # Add memory
memphis recall # Search memory
memphis ask # Ask LLM + memory
memphis decide # Record decision
memphis show # Show block/decision
memphis embed # Generate embeddings
memphis verify # Chain integrity
memphis repair # Fix issues
memphis backup # Backup/restore
Cognitive Commands
memphis predict # Predict decisions (Model C)
memphis patterns # Pattern analysis
memphis git-analyze # Git integration (Model B)
memphis suggest # Proactive suggestions
memphis reflect # Reflection engine
Multi-Agent Commands
memphis network # Network management
memphis share-sync # Sync with partners
memphis share # Send message
memphis trade # Agent negotiation
Advanced Commands
memphis graph # Knowledge graph
memphis vault # Encrypted secrets
memphis ingest # Import documents
memphis offline # Offline mode
memphis mcp # MCP server
memphis daemon # Background agent
๐จ Use Cases
Solo Developer
# Morning routine
memphis status
memphis reflect --daily
memphis journal "Session start: Project X" --tags session
# During work
memphis decide "API design" "REST" -r "Simpler than GraphQL"
memphis journal "Learned: rate limiting" --tags learning
# End of day
memphis embed --chain journal
memphis reflect --daily --save
Team Knowledge Base
# Share decisions
memphis decide "Stack" "TypeScript + React" -r "Team expertise" --tags team
memphis share-sync
# Multi-agent sync
memphis network status
memphis share "Decision: Use PostgreSQL" --type decision
Research Project
# Ingest papers
memphis ingest ./papers --chain research --embed
# Query research
memphis ask "What did paper X say about Y?"
๐ง Configuration
Basic Config (~/.memphis/config.yaml)
providers:
ollama:
url: http://localhost:11434/v1
model: qwen2.5:3b-instruct-q4_K_M
role: primary
memory:
path: ~/.memphis/chains
auto_git: false
embeddings:
backend: ollama
model: nomic-embed-text
multi_agent:
enabled: true
protocol: campfire-circle
self_loop:
enabled: true
auto_journal: true
๐ Documentation
Included Guides:
- QUICKSTART.md - 5-minute setup guide
- API_REFERENCE.md - Complete CLI reference
- COGNITIVE_MODELS.md - Model A+B+C explained
- MULTI_AGENT.md - Campfire Circle Protocol
- BEST_PRACTICES.md - Productivity tips
- TROUBLESHOOTING.md - Common issues
Online Resources:
- GitHub: https://github.com/elathoxu-crypto/memphis
- Docs: https://github.com/elathoxu-crypto/memphis/tree/master/docs
- ClawHub: https://clawhub.com/skills/memphis
- Discord: https://discord.com/invite/clawd
๐ Why Memphis?
vs. Cloud Solutions:
- โ 100% Private - Your data stays local
- โ Offline First - Works without internet
- โ No Lock-in - Open source, portable
- โ Free Forever - No subscription fees
vs. Simple Note-Taking:
- โ Cognitive Engine - Learns from your decisions
- โ Semantic Search - Find by meaning, not keywords
- โ Knowledge Graph - See connections
- โ Predictive - Anticipate your needs
vs. Other AI Tools:
- โ Persistent Memory - Survives session resets
- โ Local LLM - Privacy + cost savings
- โ Multi-Agent - Collaborate with other AIs
- โ Self-Improving - Gets smarter over time
๐ Stats & Performance
Current Capabilities:
โ
35+ CLI commands
โ
90.7% decision accuracy
โ
<200ms average response time
โ
Works with 1K-100K+ blocks
โ
8 chain types supported
โ
Multi-agent operational
โ
98.7% test coverage
Chain Capacity:
Journal: 1,300+ blocks
Decisions: 100+ blocks
Ask: 100+ blocks
Share: 450+ blocks
Total: 2,000+ blocks (growing)
๐ Version History
v3.0.0 (Latest) - 2026-03-04
- โ ALL-IN-ONE meta-package
- โ Unified cognitive engine (A+B+C)
- โ Bootstrap wizard included
- โ Multi-agent network ready
- โ 35+ commands
v2.2.0 - 2026-03-02
- โ Cognitive models complete
- โ 90.7% accuracy
- โ Pattern learning
v1.0.0 - 2026-02-25
- โ Core memory chains
- โ Offline LLM
- โ Semantic search
๐ค Community & Support
Get Help:
- Discord: #memphis channel
- GitHub Issues: Bug reports & features
- Docs: Complete documentation
- Examples: Real-world use cases
Contribute:
- GitHub: PRs welcome
- Skills: Create extensions
- Feedback: Help us improve
๐ฏ What's Next?
Coming Soon (v3.1.0):
- ๐ Web UI dashboard
- ๐ฑ Mobile integration
- ๐ IDE extensions (VS Code)
- ๐ Analytics dashboard
- ๐ค Team collaboration features
Future (v4.0.0):
- ๐ง Model D: Collective decisions
- ๐ฎ Model E: Meta-cognitive self-improvement
- ๐ Federation protocol
- ๐ Advanced analytics
๐ License
MIT License - use freely!
๐ Credits
Created by: Memphis Team
Agents: Watra ๐ฅ + Memphis โณโฌกโ
Protocol: Campfire Circle ๐ฅ
Community: Oswobodzeni
๐ Ready to Start?
# One command to install everything
clawhub install memphis
# Initialize
memphis init
# First memory
memphis journal "Hello Memphis!" --tags hello
# Done! ๐
Memphis - Your AI Brain, Locally ๐ฅ๐ง
Get started in 5 minutes!
Published by: Memphis Team
Version: 3.0.0
Status: PRODUCTION READY โ
Date: 2026-03-04