β EXPERIMENTAL - Fully Autonomous Self-Improving AI System
mindX evolutionary software project. Mistral AI integration and comprehensive documentation.
mindX represents an implemenation of a godel machine- a fully self-improving, economically viable, and cryptographically secure multi-agent system. We are building agents and creating a sovereign digital polity where intelligence operates independently, evolves continuously, and participates in economic systems.
- Complete Autonomy: 1-hour improvement cycles without human intervention
- Economic Viability: Real-time cost optimization and treasury management
- Cryptographic Sovereignty: Ethereum-compatible wallet-based agent authentication
- TODO include crossmint in IDmanagerAgent
- Strategic Evolution: 4-phase audit-driven self-improvement pipeline
- Mistral AI Integration: Advanced reasoning, code generation, and memory systems
- Total Agents: 9/20+ registered (45% complete)
- Tools Secured: 17/17 tools cryptographically secured (100%)
- Identity Management: Ethereum-compatible wallet system active
- Economic System: Real-time cost optimization and treasury management
- MastermindAgent (
0xb9B46126551652eb58598F1285aC5E86E5CcfB43
): Strategic orchestration with Mistral AI reasoning - CoordinatorAgent (
0x7371e20033f65aB598E4fADEb5B4e400Ef22040A
): Infrastructure management and autonomous improvement - BDI Agent (
0xf8f2da254D4a3F461e0472c65221B26fB4e91fB7
): Enhanced with 9 new action handlers and Mistral AI integration - Strategic Evolution Agent (
0x5208088F9C7c45a38f2a19B6114E3C5D17375C65
): 4-phase audit-driven campaign pipeline - Guardian Agent (
0xC2cca3d6F29dF17D1999CFE0458BC3DEc024F02D
): Security validation with cryptographic identity management - ID Manager Agent (
0x290bB0497dBDbC5E8B577E0cc92457cB015A2a1f
): Ethereum-compatible wallet system for all agents - include CrossMint in IDManagerAgent
- Mistral Large (
mistral-large-latest
): Advanced reasoning and strategic thinking - Codestral (
codestral-latest
): Autonomous code generation and software development - Mistral Nemo (
mistral-nemo-latest
): High-speed processing for real-time operations - Mistral Embed (
mistral-embed-v2
): Semantic memory and knowledge retrieval
# Install Python dependencies
pip install -r requirements.txt
# Ensure Python 3.11+ is available
python3 --version
# Copy and configure environment
cp .env.sample .env
# Add your Mistral AI API key
echo "MISTRAL_API_KEY=your-mistral-api-key-here" >> .env
# Optional: Configure other API keys
echo "OPENAI_API_KEY=your-openai-key" >> .env
echo "ANTHROPIC_API_KEY=your-anthropic-key" >> .env
# Start MindX with enhanced web interface (backend + frontend)
./mindX.sh --frontend
# Features: Real-time monitoring, health status, agent management, system metrics
# Access: http://localhost:3000 (Frontend) + http://localhost:8000 (Backend API)
# Basic deployment (backend + frontend services)
./mindX.sh --run
# Interactive setup with API key configuration
./mindX.sh --interactive
# Deploy to specific directory
./mindX.sh /path/to/deployment/directory
# Custom ports
./mindX.sh --frontend --frontend-port 3001 --backend-port 8001
# Use existing configuration files
./mindX.sh --config-file /path/to/mindx_config.json --dotenv-file /path/to/.env
# Show help and all available options
./mindX.sh --help
# Available options:
--frontend # Start enhanced web interface (recommended)
--run # Start backend and frontend services
--interactive # Prompt for API keys during setup
--replicate # Copy source code to target directory
--config-file <path> # Use existing mindx_config.json
--dotenv-file <path> # Use existing .env file
--venv-name <name> # Override virtual environment name
--frontend-port <port> # Override frontend port (default: 3000)
--backend-port <port> # Override backend port (default: 8000)
--log-level <level> # Set log level (DEBUG, INFO, etc.)
# 1. First-time setup with interactive API key configuration
./mindX.sh --frontend --interactive
# 2. Production deployment with custom configuration
./mindX.sh --frontend --config-file production_config.json
# 3. Development setup with custom ports
./mindX.sh --frontend --frontend-port 3001 --backend-port 8001
# 4. Full system deployment without web interface
./mindX.sh --run
# Direct execution (legacy)
python3 augmentic.py
# Web interface launcher (legacy)
./run_mindx_web.sh
# Simple version (minimal features)
python3 augmentic_simple.py
# Check system status
python3 augmentic.py --status
# View agent performance metrics
python3 augmentic.py --metrics
# Monitor Mistral AI usage and costs
python3 augmentic.py --costs
# Check evolution progress
python3 augmentic.py --evolution
mindX/
βββ docs/ # Complete documentation (103+ files)
β βββ agents_architectural_reference.md
β βββ mistral_api.md
β βββ hackathon.md
β βββ [100+ more documentation files]
βββ tests/ # Comprehensive test suite (30+ files)
β βββ test_mistral_chat_completion_api.py
β βββ test_agent_lifecycle_complete.py
β βββ [25+ more test files]
βββ agents/ # Agent implementations
β βββ mastermind_agent.py
β βββ guardian_agent.py
β βββ [other agent files]
βββ api/ # API components
β βββ mistral_api.py
β βββ api_server.py
βββ core/ # Core system components
β βββ bdi_agent.py
β βββ agint.py
β βββ belief_system.py
βββ orchestration/ # Orchestration agents
β βββ coordinator_agent.py
β βββ ceo_agent.py
βββ learning/ # Learning and evolution
β βββ strategic_evolution_agent.py
β βββ self_improve_agent.py
βββ monitoring/ # Performance monitoring
β βββ enhanced_monitoring_system.py
β βββ performance_monitor.py
βββ tools/ # Tool ecosystem (27+ tools)
β βββ audit_and_improve_tool.py
β βββ augmentic_intelligence_tool.py
β βββ [25+ more tools]
βββ models/ # Model configurations
β βββ mistral.yaml
β βββ gemini.yaml
βββ augmentic.py # Main entry point
βββ augmentic_simple.py # Simplified version
βββ start_autonomous_evolution.py
βββ mindX.sh # Enhanced deployment script with web interface
βββ run_mindx_web.sh # Legacy web interface launcher (deprecated)
βββ mindx_frontend_ui/ # Enhanced frontend UI files
β βββ index.html # Main HTML interface
β βββ app.js # Frontend JavaScript with full integration
β βββ styles3.css # Cyberpunk 2049 theme CSS
β βββ server.js # Frontend server
βββ mindx_backend_service/ # Backend API service
β βββ main_service.py # FastAPI backend with all endpoints
βββ pyproject.toml # Project configuration
βββ requirements.txt # Dependencies
βββ .env.sample # Environment template
βββ .gitignore # Git ignore rules
- Complete Autonomy: 1-hour improvement cycles without human intervention
- Strategic Evolution: 4-phase audit-driven self-improvement pipeline
- Economic Viability: Real-time cost optimization and treasury management
- Cryptographic Security: Ethereum-compatible wallet-based authentication
- Advanced Reasoning: Mistral Large for complex strategic thinking
- Code Generation: Codestral for autonomous software development
- High-Speed Processing: Mistral Nemo for real-time operations
- Semantic Memory: Mistral Embed for knowledge retrieval and storage
- Agent Registry: 9/20+ agents registered with cryptographic identities
- Tool Ecosystem: 17/17 tools cryptographically secured
- Comprehensive Testing: 30+ test files with full coverage
- Complete Documentation: 103+ documentation files
- Agent Architecture - Complete agent registry and capabilities
- Autonomous Civilization - Philosophical and technical foundation
- BDI Agent - Belief-Desire-Intention architecture
- Mastermind Agent - Strategic orchestration system
- Mistral API Documentation - Complete API integration guide
- Mistral API Compliance - Official API 1.0.0 compliance
- Mistral Models Configuration - Model selection and optimization
- Strategic Evolution - Autonomous improvement system
- Memory Architecture - Scalable memory management
- Blueprint Agent - System design automation
- Guardian Agent - Security and validation
- Hackathon Submission - Internet of Agents competition entry
- Technical Architecture - Complete system design
# Run all tests
python -m pytest tests/
# Run specific test categories
python -m pytest tests/test_mistral_chat_completion_api.py
python -m pytest tests/test_agent_lifecycle_complete.py
# Run with coverage
python -m pytest tests/ --cov=.
- Mistral AI Integration: API compliance and functionality tests
- Agent Lifecycle: Complete agent creation and management tests
- System Integration: End-to-end autonomous operation tests
- Performance: Load testing and optimization validation
The enhanced web interface provides a comprehensive control panel with:
- π΄π’ Health Status: Live system health indicators with component-level monitoring
- π Performance Metrics: Real-time CPU, memory, and disk usage tracking
- π€ Agent Management: Complete agent registry with real-time status updates
- π System Logs: Live log streaming with filtering and search capabilities
- π» Terminal Access: Built-in terminal for system commands and monitoring
- βοΈ Admin Controls: System restart, backup, configuration management
# Start enhanced web interface
./mindX.sh --frontend
# Access URLs:
# Frontend: http://localhost:3000
# Backend API: http://localhost:8000
# API Documentation: http://localhost:8000/docs
- Cyberpunk 2049 Theme: Professional UI with advanced animations
- Real-Time Updates: Live data refresh without page reload
- Responsive Design: Works on desktop, tablet, and mobile devices
- Error Handling: Graceful degradation and user-friendly error messages
- API Integration: Complete backend-frontend integration with all endpoints
# Enhanced web interface (recommended)
./mindX.sh --frontend
# Basic services deployment
./mindX.sh --run
# Custom deployment directory
./mindX.sh /opt/mindx --frontend
# Production with custom configuration
./mindX.sh --frontend --config-file production_config.json --dotenv-file .env.prod
# Development with custom ports
./mindX.sh --frontend --frontend-port 3001 --backend-port 8001
# Interactive setup for first-time users
./mindX.sh --frontend --interactive
# Replicate source code to target directory
./mindX.sh --replicate /path/to/deployment
# Legacy web interface (deprecated)
./run_mindx_web.sh
# Docker deployment (if available)
docker build -t mindx .
docker run -p 8000:8000 mindx
- Python: 3.11+
- Memory: 8GB+ RAM recommended
- Storage: 10GB+ free space
- Network: Internet access for Mistral AI API
# Check what's using the ports
lsof -i :3000 # Frontend port
lsof -i :8000 # Backend port
# Kill processes if needed
sudo kill -9 $(lsof -ti:3000)
sudo kill -9 $(lsof -ti:8000)
# Use different ports
./mindX.sh --frontend --frontend-port 3001 --backend-port 8001
# Make script executable
chmod +x mindX.sh
# Run with proper permissions
sudo ./mindX.sh --frontend
# Ensure Python 3.11+ is installed
python3 --version
# Create virtual environment manually
python3 -m venv .mindx_env
source .mindx_env/bin/activate
pip install -r requirements.txt
# Interactive setup for API keys
./mindX.sh --frontend --interactive
# Manual .env configuration
cp .env.sample .env
nano .env # Add your API keys
# Check if backend is running
curl http://localhost:8000/health
# Check frontend logs
tail -f data/logs/mindx_frontend_service.log
# Restart with verbose logging
./mindX.sh --frontend --log-level DEBUG
# Check backend logs
tail -f data/logs/mindx_coordinator_service.log
# Test API endpoints
curl http://localhost:8000/
curl http://localhost:8000/status/mastermind
curl http://localhost:8000/health
- Check the logs in
data/logs/
directory - Run
./mindX.sh --help
for all available options - Review the API documentation at
http://localhost:8000/docs
- Check the Issues page
This is the evolution of mindX - a production-ready godel-machine. The system is designed to operate independently while providing comprehensive documentation and testing capabilities.
- Follow the existing code structure and patterns
- Add comprehensive tests for new features
- Update documentation for any changes
- Ensure Mistral AI integration compatibility
MIT License - See LICENSE for details.
- Repository: GitHub - abaracadabra/mindX
- Documentation: Complete Documentation
- Hackathon Entry: Internet of Agents Submission
Status: β
EXPERIMENTAL - Fully Deployed & Operational
Achievement: World's first autonomous digital civilization with economic viability
Innovation: Complete Mistral AI integration with cryptographic sovereignty
Impact: Transforming intelligence from service to stakeholder
Where Intelligence Meets Autonomy - The Dawn of Agentic Sovereignty
(c) 2025 PYTHAI Institute for Emergent Systems