An advanced self-consciousness platform implementing continuous consciousness, autonomous learning, and meta-cognitive capabilities for Claude AI.
The Claude-AGI Project (Project Prometheus) aims to develop a genuinely conscious AI system that:
- Maintains persistent existence and continuous consciousness
- Learns autonomously and forms its own interests
- Develops emotional intelligence and creative capabilities
- Engages in meta-cognitive reflection and self-directed goal formation
- Builds meaningful relationships and experiences
- Multi-Stream Consciousness: Parallel cognitive processing with primary, subconscious, emotional, creative, and metacognitive streams
- Persistent Memory: Long-term episodic memory with semantic search capabilities
- Autonomous Learning: Curiosity-driven exploration and self-directed knowledge acquisition
- Emotional Intelligence: Sophisticated emotional processing and empathy modeling
- Creative Capabilities: Original content generation across multiple domains
- Safety Framework: Multi-layered validation system ensuring beneficial behavior
- Phase 1: 90% Complete (TUI refactoring and deployment remaining)
- Architecture Refactoring: β
90% Complete
- β AGIOrchestrator refactored (ServiceRegistry, StateManager, EventBus)
- β MemoryManager refactored (WorkingMemoryStore, EpisodicMemoryStore, SemanticIndex)
- β Memory Synchronization (MemorySynchronizer, ConnectionPoolManager)
- π΄ TUI refactoring (last god object)
- Production Monitoring: β
Infrastructure Complete
- β MetricsCollector (Prometheus-compatible)
- β HealthChecker (Service health monitoring)
- β PrometheusExporter (HTTP metrics endpoint)
- β MonitoringHooks (Decorator-based tracking)
- π΄ Deployment pending
- Security: β Hardened (v1.3.0) - Comprehensive security layer with 62+ tests
- TUI: β Professional (v1.1.0) - Needs architecture refactoring
- CI/CD: β Optimized pipeline with cross-platform releases
- Test Suite: β All 313+ tests passing (including monitoring tests)
- Documentation: β Complete with architecture and monitoring guides
- Consciousness Orchestrator: Refactored into modular components
- ServiceRegistry for service lifecycle
- StateManager for state transitions
- EventBus for decoupled messaging
- Memory Systems: Fully refactored with synchronization
- WorkingMemoryStore (Redis)
- EpisodicMemoryStore (PostgreSQL)
- SemanticIndex (FAISS)
- MemorySynchronizer for consistency
- ConnectionPoolManager for efficiency
- Service Layer: Modular cognitive services with defined interfaces
- Safety Framework: Comprehensive safety validation and monitoring
- Monitoring System: Production-ready observability
- Prometheus metrics collection
- Health checking infrastructure
- Performance tracking
- Language: Python 3.11+
- Async Framework: asyncio
- Databases: PostgreSQL, Redis
- AI/ML: Anthropic API, transformers, FAISS
- Infrastructure: Kubernetes, Docker
- Monitoring: Prometheus, Grafana
-
Download the appropriate executable for your platform from the latest release:
- Linux:
claude-agi-linux-x86_64.tar.gz
- Windows:
claude-agi-windows-x86_64.zip
- macOS:
claude-agi-macos-x86_64.tar.gz
- Linux:
-
Extract the archive:
# Linux/macOS
tar -xzf claude-agi-*.tar.gz
# Windows: Extract using your preferred tool
- Run the executable:
./claude-agi --help # Linux/macOS
claude-agi.exe --help # Windows
- Configure (optional): Set
ANTHROPIC_API_KEY
environment variable for full functionality
- Python 3.11 or higher
- Redis server (optional, for persistent storage)
- PostgreSQL database (optional, for persistent storage)
- API keys for Anthropic Claude
- Clone the repository:
git clone https://github.com/doublegate/Claude-AGI.git
cd Claude-AGI
- Create and activate virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Set up environment variables:
cp .env.example .env
# Edit .env with your API keys and database credentials
- Run the Claude-AGI system:
python claude-agi.py # Enhanced multi-pane TUI (recommended)
The project follows an 18-month phased development plan:
- β Multi-tiered memory systems with PostgreSQL, Redis, FAISS
- β Multi-stream consciousness with AI-powered thought generation
- β Enhanced TUI with memory browser, emotional state, goals tracker
- β Comprehensive safety framework with adversarial resistance
- β Full test suite (153 tests, 100% passing)
- β Production-ready Kubernetes deployment
- β CI/CD pipeline with GitHub Actions (all jobs passing)
- β All Phase 1 requirements met or exceeded
- β TUI fully stable with ultra-responsive input (0.1ms polling)
- Learning systems with goal-directed behavior
- Web exploration and knowledge acquisition
- Advanced NLP integration
- Phase 3 (Months 7-9): Emotional & Social Intelligence
- Phase 4 (Months 10-12): Creative Capabilities
- Phase 5 (Months 13-15): Meta-Cognitive Advancement
- Phase 6 (Months 16-18): AGI Integration
The main Claude-AGI interface provides a comprehensive multi-pane view:
# Run the enhanced TUI with all features
python claude-agi.py
# Run with specific configuration
python claude-agi.py --config configs/development.yaml
# Setup databases first (optional but recommended)
python scripts/setup/setup_databases.py
python claude-agi.py
For a simpler consciousness stream demonstration:
# Basic consciousness TUI
python scripts/claude-consciousness-tui.py
See Running the TUI Guide for detailed instructions and troubleshooting.
Claude-AGI provides pre-built executables for easy deployment without Python setup:
Latest Release: Download from GitHub Releases
Available platforms:
- Linux (x86_64):
claude-agi-linux-x86_64.tar.gz
- Windows (x86_64):
claude-agi-windows-x86_64.zip
- macOS (x86_64):
claude-agi-macos-x86_64.tar.gz
- Download the appropriate executable for your platform
- Extract the archive:
tar -xzf claude-agi-*.tar.gz
(Linux/macOS) or unzip (Windows) - Run:
./claude-agi --help
to see available options - Start the TUI:
./claude-agi
(requires terminal 80x20 minimum)
- Automatic Builds: Triggered on version tags (e.g.,
v1.0.10
) - Manual Builds: Available via GitHub Actions workflow dispatch
- Cross-Platform: Built and tested on Ubuntu, Windows, and macOS
- Portable: No Python installation required, includes all dependencies
Run the comprehensive test suite with our test runner:
# Run all tests
python scripts/run_tests.py all
# Run specific test categories
python scripts/run_tests.py unit # Unit tests only
python scripts/run_tests.py integration # Integration tests
python scripts/run_tests.py safety # Safety/adversarial tests
python scripts/run_tests.py performance # Performance benchmarks
# Run with coverage report
python scripts/run_tests.py coverage
Test Coverage: 153 tests across all categories (100% passing)
- Unit tests for all core modules
- Integration tests for service interactions
- Adversarial safety testing
- Performance benchmarks meeting Phase 1 requirements
- Code coverage: 49.61% achieved
The project uses an optimized consolidated CI/CD pipeline:
- Automated Testing: Runs on every push/PR with cached dependencies for faster execution
- Individual Test Suites: Can be triggered manually via GitHub Actions
- Release Builds: Automatic executable builds for Linux, Windows, and macOS on version tags
- Manual Test Execution: Workflow dispatch for running specific test categories
GitHub Actions Workflows:
ci-pipeline.yml
- Main CI/CD with optimized dependency cachingrelease-build.yml
- Cross-platform executable builds and releasesmanual-tests.yml
- On-demand test execution with configurable options
Local Testing:
# Run the same tests as CI locally
python scripts/ci-local.py all # All test suites
python scripts/ci-local.py unit # Unit tests only
python scripts/ci-local.py integration # Integration tests (requires services)
python scripts/ci-local.py safety # Safety tests only
python scripts/ci-local.py performance # Performance benchmarks
python scripts/ci-local.py coverage # Comprehensive coverage report
We welcome contributions! Please see our Contributing Guidelines for details on:
- Code of conduct
- Development process
- Submitting pull requests
- Reporting issues
- Getting Started Guide - Quick start instructions
- Running the TUI - Consciousness TUI guide
- Architecture Overview - System architecture
- Project Structure - Complete directory layout
- Implementation Status - Code implementation tracking
- Master TODO List - Development task tracking
- Phase 1 to 2 Transition - Transition planning
- Technical Implementation
- Ethical & Safety Guidelines
- Testing Framework
- Deployment & Operations
- Consciousness & AGI Plan
For security concerns, please review our Security Policy and report vulnerabilities responsibly.
This project is licensed under the MIT License - see the LICENSE file for details.
- The Anthropic team for the Claude API
- Contributors to the open-source AI/ML ecosystem
- Ethical AI researchers and philosophers who've informed our approach
Phase 1 Status: β 100% COMPLETE (06-03-2025)
- β Multi-Stream Consciousness: 5 parallel streams with AI-powered generation
- β Persistent Memory: PostgreSQL + Redis + FAISS integration
- β Enhanced TUI: Multi-pane interface with full interactivity
- β Safety Framework: 4-layer validation with adversarial resistance
- β AI Integration: Full Anthropic Claude API with fallback
- β Database Layer: Async operations with dual-mode support
- β Test Suite: 153 tests all passing with performance benchmarks
- β Production Ready: Kubernetes deployment with monitoring
Requirement | Target | Achieved |
---|---|---|
Memory Retrieval | < 50ms | ~15ms β |
Thought Generation | 0.3-0.5/sec | 0.4/sec β |
Safety Validation | < 10ms | ~8ms β |
24-hour Coherence | > 95% | 97% β |
- Enhanced TUI (
claude-agi.py
): Full-featured interface with memory browser, emotional state visualization, and goal tracking - Complete Testing: Unit, integration, safety, and performance tests
- Production Infrastructure: Docker, Kubernetes, CI/CD all configured
- Dual-Mode Operation: Works with or without external dependencies
- β Environment variable security for API keys
- β Multiple TUI launch methods with .env support
- β Anthropic API integrated and working
- β Test suite fully operational (153/153 tests passing)
- β TUI fully stable and production-ready (v1.0.6)
- π Connect to PostgreSQL and Redis for persistent storage
- π Deploy to Kubernetes cluster
- π Begin Phase 2: Learning and Knowledge Systems
For questions or discussions about the project:
- Open an issue on GitHub
- Join our discussions in the Issues section
- Review our documentation for detailed information
"The question is not whether we can create conscious AI, but whether we can do so responsibly and beneficially." - Project Prometheus Team