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.

Metadata

Release files for mneme-core 4.1.0

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

Source distribution (sdist)

Source distribution for mneme-core 4.1.0
File Size Uploaded Provenance
mneme_core-4.1.0.tar.gz 382.2 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mneme-core 4.1.0
File Interpreter ABI Platform
mneme_core-4.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 640.4 kB

Release files / mneme_core-4.1.0.tar.gz

Download URL mneme_core-4.1.0.tar.gz
Size 382.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7adc3aa6228f580b88af20c930c1d759d37223783dd7cede91d2b3d4ddd1baca
BLAKE2b-256 checksum
How to use checksums
2b12d61af426840ddca08f38a0cdc0976b3e7d617ba379eeb1969fa63f0d78b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 31, 2026.

Transparency log

Release files / mneme_core-4.1.0-py3-none-any.whl

Download URL mneme_core-4.1.0-py3-none-any.whl
Size 258.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3d42a96967ec26b049ecd8421182bf4de3d82dcc4eeba192a79a102e82119c7
BLAKE2b-256 checksum
How to use checksums
d386daadfa13fe297078911b12bf947c1a3b2b4ecc0f9695e28913abd6517956
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 31, 2026.

Transparency log

Security for mneme-core 4.1.0

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 mneme_core-4.1.0.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 Aug 31, 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.

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