Skip to main content

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

Apache License 2.0. See LICENSE and NOTICE in the repository root.

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.6.3.tar.gz (358.8 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.6.3-py3-none-any.whl (246.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mneme_core-3.6.3.tar.gz
Algorithm Hash digest
SHA256 3974ebc4be9c684a44217a240930d66953b89bb878a13c82533682cdab65adb7
MD5 25e32edb5e2ca490ab512fa1b3eadac9
BLAKE2b-256 737f47eb7b3b70814b74c6910de6a212fcfff9edc35239a49807eb79a2687ffd

See more details on using hashes here.

Provenance

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

Publisher: release.yml on OnourImpram/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.6.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for mneme_core-3.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 72f830002a523e88c236c590c59cd0f48d137acc18cb52682f2575a8e43ec937
MD5 cb5cb919bddf02c129aa43a1a5341da4
BLAKE2b-256 970c3a54d58a1bd8f308eb468bd7e1157c227575822af78df39d942feb69066e

See more details on using hashes here.

Provenance

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

Publisher: release.yml on OnourImpram/mneme

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

Release history Release notifications | RSS feed

4.1.0

2 files

This release

3.6.3 This release

2 files

3.6.2

2 files

3.6.1

2 files

3.5.0

2 files

3.2.0

2 files

3.1.0

2 files

3.0.1

2 files

3.0.0

2 files

2.0.2

2 files

2.0.0

2 files

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