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 themneme auditCLI.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mneme_core-2.0.2.tar.gz.
File metadata
- Download URL: mneme_core-2.0.2.tar.gz
- Upload date:
- Size: 243.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a400fa1c550039b7f2bb72e59d4bdbb90e395b8fde7c9d660b6220d910c536b
|
|
| MD5 |
aa6de8e47cc68eaf78357978825e3504
|
|
| BLAKE2b-256 |
03d57a109f8b202759b415fa2d76463e7e274d529433cd0273196abee56d2f9a
|
Provenance
The following attestation bundles were made for mneme_core-2.0.2.tar.gz:
Publisher:
release.yml on TheGoatPsy/mneme
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mneme_core-2.0.2.tar.gz -
Subject digest:
5a400fa1c550039b7f2bb72e59d4bdbb90e395b8fde7c9d660b6220d910c536b - Sigstore transparency entry: 1730446277
- Sigstore integration time:
-
Permalink:
TheGoatPsy/mneme@e716611f336967b17c9875bf3ccc1a5a1b2e04d6 -
Branch / Tag:
refs/tags/v2.0.2 - Owner: https://github.com/TheGoatPsy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e716611f336967b17c9875bf3ccc1a5a1b2e04d6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mneme_core-2.0.2-py3-none-any.whl.
File metadata
- Download URL: mneme_core-2.0.2-py3-none-any.whl
- Upload date:
- Size: 162.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60ea2012efad1f569763b7efd9d7390a80f71043f30a3fe8ee6c1653f1f476ec
|
|
| MD5 |
6ce3c20f3f8b8dd9cf527630834f04d5
|
|
| BLAKE2b-256 |
0f7795c11bd27aff2a6ed747415d5f4a86921595b21a81dd38ac938b311f7229
|
Provenance
The following attestation bundles were made for mneme_core-2.0.2-py3-none-any.whl:
Publisher:
release.yml on TheGoatPsy/mneme
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mneme_core-2.0.2-py3-none-any.whl -
Subject digest:
60ea2012efad1f569763b7efd9d7390a80f71043f30a3fe8ee6c1653f1f476ec - Sigstore transparency entry: 1730446401
- Sigstore integration time:
-
Permalink:
TheGoatPsy/mneme@e716611f336967b17c9875bf3ccc1a5a1b2e04d6 -
Branch / Tag:
refs/tags/v2.0.2 - Owner: https://github.com/TheGoatPsy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e716611f336967b17c9875bf3ccc1a5a1b2e04d6 -
Trigger Event:
push
-
Statement type: