This repository was archived by the owner on Feb 1, 2026. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 32
Installation
Spacehunterz edited this page Dec 11, 2025
·
1 revision
- Python 3.8+
- Node.js 18+ or Bun (recommended)
- Claude Code CLI installed
Verify prerequisites:
python --version # Expected: 3.8.0+
node --version # Expected: v18.0.0+
bun --version # Alternative to Node
claude --version # Should show versionThe installer has three components:
| Component | What it does |
|---|---|
| Core | Query system, hooks, golden rules, CLAUDE.md |
| Dashboard | React UI for monitoring (localhost:3001) |
| Swarm | Multi-agent conductor, agent personas |
Install everything (default):
./install.sh # Mac/Linux
./install.ps1 # WindowsInstall options:
./install.sh --core-only # Just core, no dashboard or swarm
./install.sh --no-dashboard # Core + swarm, skip dashboard
./install.sh --no-swarm # Core + dashboard, skip swarm
./install.sh --help # Show all options~/.claude/
├── CLAUDE.md # Agent instructions
├── settings.json # Hook configurations
├── emergent-learning/
│ ├── query/query.py # Query system
│ ├── memory/
│ │ ├── index.db # SQLite database
│ │ ├── golden-rules.md # Constitutional principles
│ │ ├── failures/ # Failure logs
│ │ └── successes/ # Success logs
│ ├── scripts/ # Utility scripts
│ ├── dashboard-app/ # React UI
│ ├── conductor/ # Workflow orchestration
│ ├── agents/ # Agent personas
│ └── ceo-inbox/ # Escalated decisions
└── hooks/
└── learning-loop/ # Pre/post hooks
Hooks are automatically installed on first use. When you run query.py --context for the first time (or say "check in"), it copies hook files to ~/.claude/hooks/learning-loop/.
Existing hook files are never overwritten - your customizations are safe.
Hooks not working:
# Check hooks exist
ls ~/.claude/hooks/learning-loop/
# Check settings.json has hook config
cat ~/.claude/settings.json | grep learning-loopDatabase errors:
# Validate database
python ~/.claude/emergent-learning/query/query.py --validateDashboard won't start:
# Check ports
lsof -i :8888 # Backend
lsof -i :3001 # Frontend
# Manual start
cd ~/.claude/emergent-learning/dashboard-app
./run-dashboard.sh