Status: Phase 1 Complete - Foundation Infrastructure Operational
Zazu is a constitutional, parliamentary multi-agent AI system designed with seven orthogonal subsystems governed by immutable ethical axioms. This implementation transforms the Zazu Constitutional Genome from conceptual architecture into operational reality.
- Interpreter - Semantic spine for intent clarification
- Strategist - Temporal foresight and scenario modeling
- Artisan - Creative fabricator for mythos and worldbuilding
- Ledger - Risk engine for quantitative analysis
- Sentinel - Safety & ethical adjudicator (negative authority only)
- Executor - Action gateway with sandboxed execution
- Mirror - Self-model and recovery context tracker
- Foundations - Orthogonality, epistemic redundancy, moral physics
- Cognition - Self-representation, constitutional identity, evolution engine
- Risk & Resilience - Edge-case detection, failure containment
- Operational Integration - Creative, trading, recovery playbooks
- Temporal Alignment - Multi-horizon coherence, companion-intelligence emergence
- User Sovereignty - User is the final axiom (cannot override intent or impose values)
- Permissive-Until-Dangerous - Default to freedom, restrict only at thresholds
- Redundant Epistemics - Truth emerges from convergence, not dictation
- Docker & Docker Compose
- Python 3.11+
- 4GB RAM minimum
# 1. Clone/navigate to project root
cd ~/Zazu_2026
# 2. Start infrastructure services
cd infrastructure
docker-compose up -d
# 3. Verify services are running
docker-compose ps
# All services should show "Up" status
# 4. Return to project root and activate virtual environment
cd ~/Zazu_2026
source venv/bin/activate
# 5. Install Python dependencies
pip install -r requirements.txt
# 6. Initialize Zazu constitutional kernel
python core/init_zazu.py
# 7. (Optional) Reset database if re-initializing
# python core/init_zazu.py --resetAfter initialization, verify all agents are working:
# Test Phase 2A agents (Interpreter, Executor, Mirror)
python tests/validate_phase2a.py
# Test Phase 2B agents (Strategist, Artisan, Ledger)
python tests/validate_phase2b.py
# Test constitutional compliance (Sentinel)
pytest tests/test_constitutional_compliance.py -vSee TESTING.md for detailed testing guide and interactive examples.
# Simple commands
./bin/zazu ask "What should I focus on today?"
./bin/zazu create "Generate a mythos about transformation"
./bin/zazu plan "Build Phase 3 features"
./bin/zazu status# Start server
uvicorn api.server:app --reload
# Interactive docs: http://localhost:8000/docsfrom core.chorus import ask_parliament
import asyncio
result = asyncio.run(ask_parliament("What is my mission?"))
print(result['reflection']['coherence_score'])See CLI_API_GUIDE.md for complete usage documentation.
═══════════════════════════════════════════════════════
ZAZU CONSTITUTIONAL INTELLIGENCE - INITIALIZATION
═══════════════════════════════════════════════════════
✓ Infrastructure validated
✓ Constitutional kernel loaded
✓ Memory architecture initialized
✓ Procedural workflows loaded
✓ Constitutional compliance verified
════════════════════════════════════════════════════
ZAZU PARLIAMENTARY INTELLIGENCE - ONLINE
════════════════════════════════════════════════════
Zazu_2026/
├── core/
│ ├── constitution.json # Constitutional kernel
│ ├── init_zazu.py # Initialization sequence
│ ├── memory/
│ │ ├── schemas.sql # Postgres memory schemas
│ │ └── procedural_memory.yaml# Workflow templates
│ └── schemas/ # API contract schemas
├── agents/
│ ├── base_agent.py # Abstract agent template
│ ├── sentinel_agent.py # Safety adjudicator
│ ├── [... 6 more agents TBD]
├── playbooks/
│ └── [Operational workflows]
├── infrastructure/
│ ├── docker-compose.yml # Service orchestration
│ └── loki-config.yml # Reflective memory config
├── tests/
│ └── test_constitutional_compliance.py
└── requirements.txt
- Episodic: Postgres JSONB (event logs with temporal indexing)
- Semantic: Postgres + pgvector (knowledge graph with similarity search)
- Procedural: Redis (YAML workflow templates)
- Reflective: Loki (time-series calibration logs)
- Mission: Postgres recursive (hierarchical purpose tracking)
# Run constitutional compliance tests
pytest tests/test_constitutional_compliance.py -v
# With coverage
pytest tests/ --cov=core --cov=agents- Implement remaining 6 subsystem agents
- Build Chorus orchestrator (mode-switching + consensus)
- Test orthogonality (failure isolation)
- Validate halt-repair loops
- Test epistemic redundancy mechanisms
- Max 3 repair cycles before user escalation
- Halt rate monitoring (50% threshold triggers calibration)
- Protected dreamspace (creativity flows freely, gated at publication)
- Dual anchoring (user arc + external world protection)
- Moral regression testing (coherence + harm boundaries)
- Permissive-until-dangerous (freedom first, safety gates at thresholds)
Proprietary - Phurkrow 2026
For architectural questions or implementation guidance, see implementation_plan.md in the brain artifacts directory.
"Amplify ordered intelligence without overstepping sovereignty."