Clone and install
For the complete documentation index see: llms.txt
All documentation pages available in markdown.
Clone the repository, start Aerospike, and install Python dependencies.
Clone the repository
-
Clone the
langgraph-aerospikerepository and change into it:Terminal window git clone https://github.com/aerospike/langgraph-aerospike.gitcd langgraph-aerospike
Start Aerospike Database
-
Start Aerospike in Docker:
Terminal window docker run -d --name aerospike -p 3000-3002:3000-3002 container.aerospike.com/aerospike/aerospike-server -
Verify the database is listening on port 3000:
Terminal window nc -z localhost 3000 && echo 'Aerospike database is running.'Expected result Connection to localhost port 3000 [tcp/hbci] succeeded!Aerospike database is running.
Install dependencies
-
From the repository root, install dependencies:
Terminal window uv syncExpected result Using CPython 3.13.11 interpreter at: /opt/homebrew/opt/python@3.13/bin/python3.13Creating virtual environment at: .venvResolved 85 packages in 18msBuilt langgraph-checkpoint-aerospike @ file:///.../langgraph-checkpoint-aerospikeBuilt langgraph-store-aerospike @ file:///.../langgraph-store-aerospikePrepared 10 packages in 920msInstalled 78 packages in 220ms+ aerospike==19.2.2+ langgraph-checkpoint-aerospike==0.2.1 (from file:///.../langgraph-checkpoint-aerospike)+ langgraph-store-aerospike==0.2.1 (from file:///.../langgraph-store-aerospike)... -
Verify the AerospikeSaver import:
AerospikeSaveris the plugin LangGraph uses to save and load checkpoints in Aerospike.Terminal window uv run python -c "from langgraph.checkpoint.aerospike import AerospikeSaver; print('ok')"Expected result ok