Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

prakashgbid/omnimind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

29 Commits

Repository files navigation

OmniMind - Human-like Thinking AI System

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.

🌟 Features

  • 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

πŸš€ Quick Start

Prerequisites

  • Python 3.9 or higher
  • Ollama (for local models)
  • Git

Installation

  1. Clone the repository:
git clone https://github.com/prakashgbid/omnimind.git
cd omnimind
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment:
cp .env.example .env
# Edit .env with your configuration
  1. Run setup script:
./setup_local.sh

Usage

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"

πŸ“ Project Structure

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

πŸ§ͺ Testing

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/

πŸ”§ Development

Setup Development Environment

# Install development dependencies
pip install -e ".[dev]"
# Install pre-commit hooks
pre-commit install
# Run quality checks
python tools/quality_checks.py

Code Quality

The project uses:

  • Black for code formatting
  • Flake8 for linting
  • MyPy for type checking
  • Pytest for testing
  • Pre-commit hooks for quality gates

🀝 Contributing

Please see docs/CONTRIBUTING.md for contribution guidelines.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ”— Links

πŸ’‘ Core Concepts

OmniMind implements several key cognitive concepts:

  1. Continuous Thinking: Background processing that generates thoughts and connections
  2. Pattern Recognition: Identifies and learns from patterns in data and interactions
  3. Contextual Memory: Maintains context across conversations and tasks
  4. Adaptive Learning: Improves performance based on feedback and experience
  5. Multi-Model Reasoning: Combines insights from multiple AI models

⚑ Performance

  • Supports concurrent task processing
  • Memory-efficient with automatic cleanup
  • Optimized for both local and cloud deployments
  • Benchmarked for speed and resource usage

πŸ›‘οΈ Security

  • 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 πŸš€

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /