Skip to main content

Synapse Memory Python SDK

Core Python SDK and algorithms for the Synapse Cognitive Memory substrate.

Features

  • Encrypted SQLite Storage: Fernet AES-128-CBC with HMAC-SHA256 authenticated encryption at rest.
  • Dynamic Programming Knapsack Packing: Exact 0/1 Knapsack optimizer for packing high-relevance memories into strict token envelopes.
  • Ebbinghaus Decay Engine: Continuous temporal decay with positive/negative reinforcement factors.
  • Semantic Deduplication: Dual lexical Jaccard and dense cosine similarity detection to prevent node fragmentation.
  • Hybrid Retrieval: BM25 sparse lexical ranking fused with dense vector embeddings via Reciprocal Rank Fusion (RRF).
  • Framework Integrations: True drop-in adapters for LangChain (BaseMemory) and LlamaIndex (BaseMemory).

Installation

pip install synapse-memory-engine          # from PyPI
# or, from a checkout of this repository:
pip install -e .

Testing

python3 -m unittest discover -s tests

Metadata

Release files for synapse-memory-engine 1.3.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 synapse-memory-engine 1.3.0
File Size Uploaded Provenance
synapse_memory_engine-1.3.0.tar.gz 127.2 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for synapse-memory-engine 1.3.0
File Interpreter ABI Platform
synapse_memory_engine-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 217.9 kB

Release files / synapse_memory_engine-1.3.0.tar.gz

Download URL synapse_memory_engine-1.3.0.tar.gz
Size 127.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c0e2116fa6bccece6eca2e36dc0d760393325de00c4f56010395f5eeb4bbf8c2
BLAKE2b-256 checksum
How to use checksums
0d416f8670d5d67ca1f5fdd5de8fdb16765b6d9f40f866e42971ee5f88eed1fa
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 Oct 26, 2026.

Transparency log

Release files / synapse_memory_engine-1.3.0-py3-none-any.whl

Download URL synapse_memory_engine-1.3.0-py3-none-any.whl
Size 90.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e2d67efc4c3b58f841cfd5193bbc12f2cbcab7f401b70e4eaa8593a75574124
BLAKE2b-256 checksum
How to use checksums
eb06a646affb71d7742ce8997f79e7940ec7c03ec5e4477b013d868523db4dab
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 Oct 26, 2026.

Transparency log

Security for synapse-memory-engine 1.3.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 synapse_memory_engine-1.3.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 Oct 26, 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.

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files Full provenance

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