Minerva — Evolutionary RAG
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)
- Create a venv: python -m venv .venv && .\.venv\Scripts\Activate
- Install test deps (fast): python -m pip install --upgrade pip && pip install -e . --no-deps && pip install pytest
- 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
Integrationworkflow (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
- Author: Naila Rais naila123rais@gmail.com
Release files for minerva-rag 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| minerva_rag-0.1.2.tar.gz | 21.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| minerva_rag-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.1 kB
Release files / minerva_rag-0.1.2.tar.gz
| Download URL | minerva_rag-0.1.2.tar.gz |
|---|---|
| Size | 21.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e555753476582c33e3a9e61fdd4ccd75d9314890a699e3cf158cd3b0b5b6839f
|
|
BLAKE2b-256 checksum How to use checksums |
ee72ea7ae380006f73cc67f397eee3f8343ee97b14537b3345c3c57786db6d43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 26, 2026.
Transparency logRelease files / minerva_rag-0.1.2-py3-none-any.whl
| Download URL | minerva_rag-0.1.2-py3-none-any.whl |
|---|---|
| Size | 20.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ada91ddb357a063581a705ff0b4bddc72a9994cded23f082fe3d45a1d29c00ee
|
|
BLAKE2b-256 checksum How to use checksums |
6e87251eb7e1e1d8e33eaeca7e395032cca1b2d9e0f84bf676e470704db62e96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 26, 2026.
Transparency log