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.3.tar.gz (104.6 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.3-py3-none-any.whl (92.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mnemosyne_rag-0.6.3.tar.gz
Algorithm Hash digest
SHA256 144ba541f3b510c58183843836e5e857c79510130136040cbd77a31d86d48302
MD5 8707c2a6536af80117d5193ae82118ff
BLAKE2b-256 dae82b29afc62c63efe97345b127fb174246206ec582b18c96a5c0ba7a95adbc

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemosyne_rag-0.6.3.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.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for mnemosyne_rag-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cf35a2e001c1038fbbd150c99311119f06f6bd607f54c7cedbbc45b807010b38
MD5 10e308ea00a98f67b9c02cbf596f667b
BLAKE2b-256 1a56523c59d6cb386f52f63ae2c9148a34e3e3f1214be0902ee7b2cd5ee257a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemosyne_rag-0.6.3-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