Skip to main content

ledgermem-langgraph

LangGraph BaseStore backed by LedgerMem — give your agents persistent, searchable cross-thread memory in one line.

Install

pip install ledgermem-langgraph

Quickstart

from langgraph.graph import StateGraph, MessagesState
from ledgermem import LedgerMem
from langgraph_ledgermem import LedgerMemStore

store = LedgerMemStore(LedgerMem(api_key="lm_...", workspace_id="ws_..."))

# Write
store.put(("users", "u1"), "profile", {"name": "Ada", "tz": "PKT"})

# Read by exact key
item = store.get(("users", "u1"), "profile")
print(item.value)

# Semantic search across the namespace
hits = store.search(("users",), query="who lives in Pakistan?", limit=5)
for hit in hits:
    print(hit.score, hit.value)

Wire into a LangGraph workflow

graph = StateGraph(MessagesState)
# ... add nodes / edges ...
app = graph.compile(store=store)

The store is passed to every node via the standard config["configurable"]["store"] channel — your nodes can store.put(...) and store.search(...) to share long-term context across threads.

License

MIT — see LICENSE.

Metadata

Release files for getmnemo-langgraph 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 getmnemo-langgraph 0.1.0
File Size Uploaded Provenance Actions
getmnemo_langgraph-0.1.0.tar.gz 6.3 kB Without provenance Details for getmnemo_langgraph-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 12.4 kB

Release files / getmnemo_langgraph-0.1.0.tar.gz

Download URL getmnemo_langgraph-0.1.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f2de982b4f9ad4ec803bc1f24d67adf1f45bf6d85268d64c021f24006f1bc438
BLAKE2b-256 checksum
How to use checksums
9793a1fc658ba89ff8523dab5ef7e0f12891450388372bd1b4ee56c59c1341d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / getmnemo_langgraph-0.1.0-py3-none-any.whl

Download URL getmnemo_langgraph-0.1.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d8a4392331280390901a0123a754489086e93eb2b0229dd2724508564ccad5e
BLAKE2b-256 checksum
How to use checksums
f1c757bb7a727b49b2859fc2bce44cb71336d943b6597f53721eb5b677e6e4dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for getmnemo-langgraph 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

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