Skip to main content

Vault-native memory engine for Claude Code. FTS5 BM25, RRF-ready retrieval, gated Graphiti KG, and adaptive context tooling.

Project description

mneme-core

Python core for mneme: vault-native memory for Claude Code, also usable from Codex and any MCP client. mneme is Claude-Code-native by origin and client-neutral at the core.

This package provides:

  • FTS5 BM25 full-text indexer with language-aware normalization (Turkish casefold module included as utility).
  • RRF-ready retrieval pipeline at k=60, with FTS5 shipped and optional backends injectable by callers.
  • Graphiti bi-temporal knowledge graph adapter, gated by the full profile and local Neo4j.
  • Roadmap dense embedding adapter. The v1.0 standard profile reserves the runtime slot but does not ship packaged LEANN retrieval.
  • Background compression pipeline with 4-D rubric (Accuracy, Depth, Context, Continuity) and cost cap ledger.
  • Adaptive Context Layer: distill.shell_compress, distill.injection_dedup, distill.adaptive_topk, distill.compressed_format, and the mneme audit CLI.

Installation

pip install mneme-core

For development:

pip install -e ".[dev]"

Quality Gates

This package targets Python 3.11+ and passes ruff lint plus mypy --strict. Test coverage minimum is 80 percent for business logic.

License

MIT. See LICENSE in the repository root.

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

mneme_core-3.5.0.tar.gz (306.1 kB view details)

Uploaded Source

Built Distribution

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

mneme_core-3.5.0-py3-none-any.whl (214.9 kB view details)

Uploaded Python 3

File details

Details for the file mneme_core-3.5.0.tar.gz.

File metadata

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

File hashes

Hashes for mneme_core-3.5.0.tar.gz
Algorithm Hash digest
SHA256 1d1ee41c838928e7b035a335995c311db7baaf681f686dd6954f9216ab21d94a
MD5 2d81d955cc7d82ab0282f42940e6ce6a
BLAKE2b-256 6db401ddad11868dc1544dc683f975c751ffc8b3712c5ceb7ebfa045f6bb8b7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mneme_core-3.5.0.tar.gz:

Publisher: release.yml on TheGoatPsy/mneme

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

File details

Details for the file mneme_core-3.5.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for mneme_core-3.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08968b95198cc56d1a84ad8ca533db1234ab86e38b7e502e661fcf9344303bab
MD5 6a528698aa2cd07b25b4b9efb1e339d0
BLAKE2b-256 66abbc63f9d44ca23673e408c86fe2b1b3e58f237be6292ee7745f68efc4f85f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mneme_core-3.5.0-py3-none-any.whl:

Publisher: release.yml on TheGoatPsy/mneme

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