Aerospike-based checkpoint saver for LangGraph
Project description
LangGraph Checkpoint Aerospike
Store LangGraph checkpoints in Aerospike using the provided AerospikeSaver.
Installation
pip install -U langgraph-checkpoint-aerospike
Usage
- Bring up Aerospike locally using prebuilt Aerospike Docker Image:
docker run -d --name aerospike -p 3000-3002:3000-3002 container.aerospike.com/aerospike/aerospike-server
-
Point the saver at your cluster (Default):
AEROSPIKE_HOST=127.0.0.1AEROSPIKE_PORT=3000AEROSPIKE_NAMESPACE=test
-
Use in workflow:
import aerospike from langgraph.checkpoint.aerospike import AerospikeSaver client = aerospike.client({"hosts": [("127.0.0.1", 3000)]}).connect() saver = AerospikeSaver(client=client, namespace="test") compiled = graph.compile(checkpointer=saver) # graph is your LangGraph graph compiled.invoke({"input": "hello"}, config={"configurable": {"thread_id": "demo"}})
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 langgraph_checkpoint_aerospike-0.1.0.tar.gz.
File metadata
- Download URL: langgraph_checkpoint_aerospike-0.1.0.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b3ba161ae7a931059476faec5472e895982d2b4cad8dcdaee9c453c511f6a24
|
|
| MD5 |
fd7f2b1fd20eea7ace66db6dffb16401
|
|
| BLAKE2b-256 |
ec017cbde98041218afebc1cd4d4a959a60923ec8954793cc82d411af5e3b215
|
File details
Details for the file langgraph_checkpoint_aerospike-0.1.0-py3-none-any.whl.
File metadata
- Download URL: langgraph_checkpoint_aerospike-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac9ecefbc09af57c3490a99ee8355585c2af8b881a1ff586e9a920f45a98374c
|
|
| MD5 |
d1d5348e53d16dcb01ac850e6a2540b8
|
|
| BLAKE2b-256 |
e6f777cfe3d80f38b826537d7eeb9a780305e6c773b80f70375d49931a98b98f
|