Skip to main content

A local, teaching-first RAG pipeline (Ollama + LangChain + FAISS) that turns any model into an instant expert.

Project description

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.

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

mnemosyne_rag-0.6.4.tar.gz (107.0 kB view details)

Uploaded Source

Built Distribution

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

mnemosyne_rag-0.6.4-py3-none-any.whl (93.5 kB view details)

Uploaded Python 3

File details

Details for the file mnemosyne_rag-0.6.4.tar.gz.

File metadata

  • Download URL: mnemosyne_rag-0.6.4.tar.gz
  • Upload date:
  • Size: 107.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for mnemosyne_rag-0.6.4.tar.gz
Algorithm Hash digest
SHA256 ed975bbf62cd1002a77cc002b34834ead27e427b61dff17e0834fab42fd4402c
MD5 654807b85bd11bdd3a5d4e902c5224ed
BLAKE2b-256 b35547cdb15b3d64a5fbc8899eb687bb1f0e87b43061059e6055c5eb79745fef

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemosyne_rag-0.6.4.tar.gz:

Publisher: release.yml on freed-dev-llc/mnemosyne

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

File details

Details for the file mnemosyne_rag-0.6.4-py3-none-any.whl.

File metadata

  • Download URL: mnemosyne_rag-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 93.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for mnemosyne_rag-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ac3a8ab5c82ee34a8a65d2fc1fc6f39276ead22646fc9e63f467225a472f3079
MD5 03422c0fdb2238d5fdb5964343cab738
BLAKE2b-256 a6b02ac2f621cbbdecf019c54cd571181e09c8c037284f9014de3aa753038fa5

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemosyne_rag-0.6.4-py3-none-any.whl:

Publisher: release.yml on freed-dev-llc/mnemosyne

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