Skip to main content

Mnemosyne

A local, teaching-first RAG pipeline (Ollama + LangChain + FAISS) that turns any model into an instant expert on documents it has never seen, with no fine-tuning, no API keys, and nothing leaving the box.

Point Mnemosyne at a corpus; it embeds and indexes it, and a small local model then answers questions about it with inline citations. It ships a CLI, an MCP stdio server, and an HTTP server. The full story (how RAG works, the design choices, the knowledge-pack model) is in the GitHub README.

Install

pip install "mnemosyne-rag[cpu]"

FAISS is not a core dependency. The cpu extra pulls faiss-cpu from PyPI; the preferred path installs faiss-cpu or faiss-gpu from conda-forge (see environment.yml in the repo). The distribution is mnemosyne-rag; the import package and CLI are mnemosyne.

Quickstart

Requires Ollama running locally.

ollama pull bge-m3          # embeddings
ollama pull qwen2.5:1.5b    # tiny chat model

mnemosyne ingest ubiquiti                                 # build the index for a pack
mnemosyne ask ubiquiti "How do I adopt a UniFi switch?"   # grounded answer + citations
mnemosyne chat ubiquiti                                   # interactive, with history
mnemosyne packs                                           # list packs + index status

Serve

mnemosyne-mcp    # MCP stdio server (list_packs / ask / search) for coding agents
mnemosyne-http   # FastAPI server on 127.0.0.1:8088 (GET /health, POST /ask, POST /search)

Learn more

License

Apache-2.0.

Metadata

Release files for mnemosyne-rag 0.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mnemosyne-rag 0.6.4
File Size Uploaded Provenance
mnemosyne_rag-0.6.4.tar.gz 107.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mnemosyne-rag 0.6.4
File Interpreter ABI Platform
mnemosyne_rag-0.6.4-py3-none-any.whl Python 3 none any Details

Total release size: 200.5 kB

Release files / mnemosyne_rag-0.6.4.tar.gz

Download URL mnemosyne_rag-0.6.4.tar.gz
Size 107.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ed975bbf62cd1002a77cc002b34834ead27e427b61dff17e0834fab42fd4402c
BLAKE2b-256 checksum
How to use checksums
b35547cdb15b3d64a5fbc8899eb687bb1f0e87b43061059e6055c5eb79745fef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 9, 2026.

Transparency log

Release files / mnemosyne_rag-0.6.4-py3-none-any.whl

Download URL mnemosyne_rag-0.6.4-py3-none-any.whl
Size 93.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac3a8ab5c82ee34a8a65d2fc1fc6f39276ead22646fc9e63f467225a472f3079
BLAKE2b-256 checksum
How to use checksums
a6b02ac2f621cbbdecf019c54cd571181e09c8c037284f9014de3aa753038fa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 9, 2026.

Transparency log

Security for mnemosyne-rag 0.6.4

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mnemosyne_rag-0.6.4.tar.gz

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 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.6.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page