License: MIT Python 3.9+ CI/CD
OmniMind is an advanced AI system that mimics human cognitive processes through continuous thinking, learning, and reasoning capabilities. It provides a framework for building intelligent applications with human-like problem-solving abilities.
- Continuous Thinking Engine: Background cognitive processing that generates thoughts, connections, and insights
- Adaptive Learning System: Learns from interactions and improves over time
- Multi-Model Support: Works with Ollama (local), OpenAI, and other LLM providers
- Modular Architecture: Clean, extensible design for easy customization
- Comprehensive Testing: 200+ tests covering unit, integration, security, and performance
- Production Ready: Pre-commit hooks, CI/CD pipeline, and quality gates
- Python 3.9 or higher
- Ollama (for local models)
- Git
- Clone the repository:
git clone https://github.com/prakashgbid/omnimind.git
cd omnimind
- Install dependencies:
pip install -r requirements.txt
- Set up environment:
cp .env.example .env
# Edit .env with your configuration
- Run setup script:
./setup_local.sh
Run OmniMind in interactive mode:
python omnimind.py
Process a specific task:
python omnimind.py "Create a web scraper in Python"
With options:
python omnimind.py --model llama3.2:3b --verbose "Explain quantum computing"
omnimind/
βββ src/ # Source code
β βββ core/ # Core OSA modules
β β βββ osa.py # Main OSA implementation
β β βββ logger.py # Logging utilities
β β βββ modules/ # Core modules
β β βββ thinking.py # Thinking engine
β β βββ learning.py # Learning system
β β βββ architecture_reviewer.py
β βββ providers/ # LLM providers
β βββ agents/ # Agent system
β βββ utils/ # Utilities
βββ tests/ # Test suite
β βββ unit/ # Unit tests
β βββ integration/ # Integration tests
β βββ security/ # Security tests
β βββ performance/ # Performance tests
β βββ regression/ # Regression tests
βββ tools/ # Development tools
βββ docs/ # Documentation
βββ web/ # Web interface
βββ omnimind.py # Main entry point
Run all tests:
pytest tests/
Run specific test categories:
pytest tests/unit/ # Unit tests pytest tests/security/ # Security tests pytest tests/performance/ # Performance tests
Run with coverage:
pytest --cov=src tests/
# Install development dependencies pip install -e ".[dev]" # Install pre-commit hooks pre-commit install # Run quality checks python tools/quality_checks.py
The project uses:
- Black for code formatting
- Flake8 for linting
- MyPy for type checking
- Pytest for testing
- Pre-commit hooks for quality gates
Please see docs/CONTRIBUTING.md for contribution guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
OmniMind implements several key cognitive concepts:
- Continuous Thinking: Background processing that generates thoughts and connections
- Pattern Recognition: Identifies and learns from patterns in data and interactions
- Contextual Memory: Maintains context across conversations and tasks
- Adaptive Learning: Improves performance based on feedback and experience
- Multi-Model Reasoning: Combines insights from multiple AI models
- Supports concurrent task processing
- Memory-efficient with automatic cleanup
- Optimized for both local and cloud deployments
- Benchmarked for speed and resource usage
- Input validation and sanitization
- Protection against injection attacks
- Secure handling of API keys and credentials
- Regular security audits via automated testing
Built with passion for advancing AI capabilities π