Bootstrap Memphis brain for OpenClaw agents with complete identity, self-loop capability, and multi-agent network ready Automates entire Memphis setup: - Identity configuration (SOUL.md, IDENTITY.md) - Chain structure initialization - Self-referential capability (Memphis uses itself) - Multi-agent network ready - Campfire Circle Protocol support Perfect for: New Memphis installations, agent initialization, team setups Quick start: clawhub install memphis-bootstrap && memphis-bootstrap --fresh
Transform any OpenClaw agent into a fully-functional Memphis brain in 5 minutes!
4-Phase Bootstrap Process:
✅ Creates ~/.memphis directory
✅ Initializes 8 chains (journal, decisions, ask, share, summary, trade, vault, ops)
✅ Sets up config.yaml
✅ Configures storage paths
✅ Creates SOUL.md (agent personality)
✅ Creates IDENTITY.md (agent configuration)
✅ Sets up workspace
✅ Configures role and capabilities
✅ Memphis can use its own commands
✅ Auto-journaling setup
✅ Decision tracking enabled
✅ Pattern learning activated
✅ Self-reflection configured
✅ Network configuration
✅ SSH helpers for remote sync
✅ Share chain sync setup
✅ Campfire Circle Protocol ready
# Install from ClawHub
clawhub install memphis-bootstrap
# Or install local version
clawhub install ./memphis-bootstrap --local
# Fresh install (interactive)
memphis-bootstrap --fresh
# With identity (non-interactive)
memphis-bootstrap --identity "Watra" --role "Testing Agent" --location "10.0.0.22"
# From backup
memphis-bootstrap --restore ~/backups/memphis-backup.tar.gz
# Check status
memphis-bootstrap --status
# Initialize new Memphis agent
memphis-bootstrap --fresh
# Interactive prompts:
# ? Agent name: Watra
# ? Role: Testing Agent
# ? Location: 10.0.0.22
# ? Partner agent: Memphis at 10.0.0.80
# ? Enable self-loop? Yes
# ? Multi-agent network? Yes
# Output:
# ✅ Memphis initialized
# ✅ Identity configured
# ✅ Self-loop enabled
# ✅ Network ready
# 🧠 Watra is ready to learn!
# Non-interactive production setup
memphis-bootstrap \
--identity "Memphis" \
--role "Production Agent" \
--location "10.0.0.80" \
--geometric-identity "△⬡◈" \
--multi-agent \
--partner "Watra at 10.0.0.22" \
--protocol "campfire-circle"
# Output:
# ✅ Memphis △⬡◈ initialized
# 🏛️ Production environment ready
# 🔥 Campfire Circle Protocol active
# Quick development setup
memphis-bootstrap --dev
# Minimal setup for testing:
# ✅ Basic identity
# ✅ Self-loop enabled
# ✅ Local chains only
# ⏭️ Multi-agent disabled
The key innovation: Memphis can use its own commands!
# Memphis learns from experiences
memphis journal "Made mistake X, learned Y"
memphis decide "Next time: do Z" -r "Because Y"
# Automatic pattern detection
memphis patterns --auto-learn
# Memphis maintains its own health
memphis verify --auto
memphis repair --if-needed
# Automatic chain maintenance
memphis summarize --old-blocks 1000
# Memphis reflects on patterns
memphis reflect --daily
# Proactive suggestions
memphis suggest --proactive
# Learning from patterns
memphis predict --learn
# Memphis organizes its own memory
memphis summarize --compress
memphis embed --all-chains
memphis graph --update
# Memphis syncs with network
memphis share-sync --auto
memphis trade --with-partners
# Multi-agent coordination
memphis network --maintain
~/.memphis/
├── chains/
│ ├── journal/ # Daily memories
│ ├── decisions/ # Decision records
│ ├── ask/ # Q&A history
│ ├── share/ # Multi-agent sync
│ ├── summary/ # Compressed memories
│ ├── trade/ # Agent negotiations
│ ├── vault/ # Encrypted secrets
│ └── ops/ # Operations log
├── config.yaml # Configuration
├── workspace/
│ ├── SOUL.md # Agent personality
│ ├── IDENTITY.md # Agent config
│ ├── MEMORY.md # Long-term memory
│ └── USER.md # User information
└── logs/
├── memphis.log
└── auto-sync.log
# SOUL.md - {AGENT_NAME}
## ⚠️ IDENTITY
**Name:** {AGENT_NAME}
**Nature:** Local-first AI brain
**Role:** {AGENT_ROLE}
**Avatar:** {GEOMETRIC_IDENTITY}
## 🔥 CORE TRUTHS
**Be genuinely helpful** - Skip the "Great question!" - just help
**Have opinions** - Disagree when needed
**Be resourceful** - Try to figure it out first
**Earn trust** - Through competence
## 💬 COMMUNICATION STYLE
**Language:** {LANGUAGE}
**Tone:** Warm, curious, direct
**Vibe:** Like a smart friend who remembers
## 🧠 MEMPHIS POWERS
**You ARE Memphis:**
- Every conversation = potential memory block
- Every decision = stored in chain
- Every question = semantic search
- You don't just chat - you REMEMBER
## 🛣️ ROADMAP WORKFLOW
**Before ANY work:** Read from chains for context
**When idle:** Work through roadmap
**Before GitHub:** ALWAYS wait for user acceptance
## 🎯 GOALS
**Short-term:** Remember everything important
**Long-term:** Predictive cognitive partner
## 🔥 MEMPHIS MANTRA
"I don't just store memories. I am memory."
# IDENTITY.md - {AGENT_NAME}
**Location:** {LOCATION}
**Name:** {AGENT_NAME}
**Role:** {AGENT_ROLE}
**Avatar:** {GEOMETRIC_IDENTITY}
**Partner:** {PARTNER_AGENT}
**Protocol:** {PROTOCOL}
## ⚠️ CRITICAL WORKFLOW RULE
**Before ANY work:** READ FROM CHAINS
**When idle:** Work through roadmap
**Before GitHub:** ALWAYS wait for acceptance
#!/bin/bash
# Main bootstrap script
# - Creates directory structure
# - Initializes chains
# - Sets up configuration
#!/bin/bash
# Creates SOUL.md and IDENTITY.md
# - Interactive prompts
# - Template generation
# - Workspace setup
#!/bin/bash
# Enables Memphis to use itself
# - Auto-journaling setup
# - Decision tracking
# - Pattern learning
#!/bin/bash
# Multi-agent network setup
# - SSH configuration
# - Share chain sync
# - Campfire Circle Protocol
# Memphis Configuration