Skip to main content

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: .synapse files 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)

Source distribution for langgraph-synapse 0.1.0
File Size Uploaded
langgraph_synapse-0.1.0.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langgraph-synapse 0.1.0
File Interpreter ABI Platform
langgraph_synapse-0.1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release 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