langgraph-synapse
An integration package connecting Synapse memory and LangGraph.
Privacy-first checkpointing and cross-thread memory — all data stays local.
Installation
pip install langgraph-synapse
Components
SynapseCheckpointer
Persist LangGraph state across invocations:
from synapse import Synapse
from langgraph_synapse import SynapseCheckpointer
syn = Synapse("./agent_state")
checkpointer = SynapseCheckpointer(synapse=syn)
# Use with LangGraph
graph = builder.compile(checkpointer=checkpointer)
graph.invoke(
{"messages": [{"role": "user", "content": "hello"}]},
config={"configurable": {"thread_id": "thread-1"}},
)
SynapseStore
Cross-thread memory store with semantic search:
from synapse import Synapse
from langgraph_synapse import SynapseStore
syn = Synapse("./shared_memory")
store = SynapseStore(synapse=syn)
# Store shared context
store.put(("user", "preferences"), "diet", {"value": "vegetarian"})
# Retrieve across any thread
item = store.get(("user", "preferences"), "diet")
# Semantic search
results = store.search(("user",), query="food preferences")
Why Synapse?
- 🔒 Privacy-first: All state stays on your machine
- 🧠 Semantic recall: Not just key-value — find relevant state by meaning
- ⚡ Zero dependencies: Synapse is pure Python
- 📦 Portable:
.synapsefiles can be shared and federated
License
MIT
Metadata
Release files for langgraph-synapse 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langgraph_synapse-0.1.0.tar.gz | 5.2 kB | Without provenance | Details for langgraph_synapse-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langgraph_synapse-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for langgraph_synapse-0.1.0-py3-none-any.whl |
Total release size: 11.8 kB
Release files / langgraph_synapse-0.1.0.tar.gz
| Download URL | langgraph_synapse-0.1.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1fc6b2bf56905ccbf183b6c2f462c70653dca725d1a8c7fb7b14cf3421c38ac5
|
|
BLAKE2b-256 checksum How to use checksums |
07f90c9099242b198309371ceb269f89a9edc171b12f8d8d06b06374acc3105c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / langgraph_synapse-0.1.0-py3-none-any.whl
| Download URL | langgraph_synapse-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b3127d2af129536d50135ad90a68152844b1082d31c3618ed7462bdd127ebbb
|
|
BLAKE2b-256 checksum How to use checksums |
8d202c5258eda71a73ee131940047466d9023e5f2efc28baf759c007cac89eb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for langgraph-synapse 0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.