Skip to main content

Evolutionary RAG system with holographic memory compression

Project description

Minerva — Evolutionary RAG

CI Integration (full) Format Check PyPI GitHub Release License Tests Python

Minerva is an evolutionary retrieval-augmented generation (RAG) engine that uses holographic memory compression and genetic optimization to improve long-term retrieval and answer quality.

Key features

  • Holographic memory compression for dense storage
  • Evolutionary optimization over knowledge gene pools
  • Local LLM integration (Ollama) and extensible retrieval pipeline

Quickstart (developer-friendly, lightweight)

  1. Create a venv: python -m venv .venv && .\.venv\Scripts\Activate
  2. Install test deps (fast): python -m pip install --upgrade pip && pip install -e . --no-deps && pip install pytest
  3. Run unit tests: pytest tests/unit -q

Full installation (CI / integration)

  • The project depends on large ML packages (torch, sentence-transformers). To run full integration tests or production workloads, use CI or a machine with sufficient bandwidth and storage: pip install -r requirements.txt

CLI usage

  • Ingest data: minerva ingest
  • Query: minerva query "What is X?"

Development

  • Formatting: black .
  • Linting: flake8 .
  • Type checks: mypy .

Pre-commit

  • Install pre-commit and enable hooks locally: pip install pre-commit pre-commit install

CI and releases

  • CI installs test deps with --no-deps by default to avoid heavy ML downloads.
  • Use the Integration workflow (manual trigger) to run full integration tests and build/publish artifacts.
  • Format-check workflow enforces isort/black/flake8 on PRs.

Contributing

  • See CONTRIBUTING.md for details and guidelines.

Publishing & Releases

  • GitHub Packages: Install via pip install --index-url https://pypi.pkg.github.com/NailaRais minerva-rag==0.1.2
  • Releases are created automatically on tag push (e.g., git tag v0.1.2 && git push --tags)
  • Artifacts (wheel, sdist) are available in GitHub Releases

License

  • See LICENSE file.

Contact

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minerva_rag-0.1.2.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minerva_rag-0.1.2-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file minerva_rag-0.1.2.tar.gz.

File metadata

  • Download URL: minerva_rag-0.1.2.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for minerva_rag-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e555753476582c33e3a9e61fdd4ccd75d9314890a699e3cf158cd3b0b5b6839f
MD5 6d1790f37348678ceb0509ef5b11ce86
BLAKE2b-256 ee72ea7ae380006f73cc67f397eee3f8343ee97b14537b3345c3c57786db6d43

See more details on using hashes here.

Provenance

The following attestation bundles were made for minerva_rag-0.1.2.tar.gz:

Publisher: publish.yml on NailaRais/Minerva-AI-Evolutionary-RAG

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file minerva_rag-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: minerva_rag-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for minerva_rag-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ada91ddb357a063581a705ff0b4bddc72a9994cded23f082fe3d45a1d29c00ee
MD5 c2db69d9e8ebea01cb91b254b9ea7fe1
BLAKE2b-256 6e87251eb7e1e1d8e33eaeca7e395032cca1b2d9e0f84bf676e470704db62e96

See more details on using hashes here.

Provenance

The following attestation bundles were made for minerva_rag-0.1.2-py3-none-any.whl:

Publisher: publish.yml on NailaRais/Minerva-AI-Evolutionary-RAG

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page