Evolutionary RAG system with holographic memory compression
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e555753476582c33e3a9e61fdd4ccd75d9314890a699e3cf158cd3b0b5b6839f
|
|
| MD5 |
6d1790f37348678ceb0509ef5b11ce86
|
|
| BLAKE2b-256 |
ee72ea7ae380006f73cc67f397eee3f8343ee97b14537b3345c3c57786db6d43
|
Provenance
The following attestation bundles were made for minerva_rag-0.1.2.tar.gz:
Publisher:
publish.yml on NailaRais/Minerva-AI-Evolutionary-RAG
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
minerva_rag-0.1.2.tar.gz -
Subject digest:
e555753476582c33e3a9e61fdd4ccd75d9314890a699e3cf158cd3b0b5b6839f - Sigstore transparency entry: 2256440007
- Sigstore integration time:
-
Permalink:
NailaRais/Minerva-AI-Evolutionary-RAG@62d2a4ba6d3e63ce08056122a240a132717579ac -
Branch / Tag:
refs/heads/nailarais-ubiquitous-happiness - Owner: https://github.com/NailaRais
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@62d2a4ba6d3e63ce08056122a240a132717579ac -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ada91ddb357a063581a705ff0b4bddc72a9994cded23f082fe3d45a1d29c00ee
|
|
| MD5 |
c2db69d9e8ebea01cb91b254b9ea7fe1
|
|
| BLAKE2b-256 |
6e87251eb7e1e1d8e33eaeca7e395032cca1b2d9e0f84bf676e470704db62e96
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
minerva_rag-0.1.2-py3-none-any.whl -
Subject digest:
ada91ddb357a063581a705ff0b4bddc72a9994cded23f082fe3d45a1d29c00ee - Sigstore transparency entry: 2256440010
- Sigstore integration time:
-
Permalink:
NailaRais/Minerva-AI-Evolutionary-RAG@62d2a4ba6d3e63ce08056122a240a132717579ac -
Branch / Tag:
refs/heads/nailarais-ubiquitous-happiness - Owner: https://github.com/NailaRais
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@62d2a4ba6d3e63ce08056122a240a132717579ac -
Trigger Event:
workflow_dispatch
-
Statement type: