Skip to main content

oliviadb-langgraph

LangGraph persistence in OliviaDB: a checkpointer (OliviaDBSaver: thread state, channel blobs, pending writes) and a store (OliviaDBStore: long-term memories with TTL, filters and ranked search). Tested with langgraph 1.2.24 and langgraph-checkpoint 4.3.2 (all five base capabilities of langgraph-checkpoint-conformance).

Install

pip install oliviadb-langgraph

Python 3.10 or later.

Example

A server from the core image (docker run -d -p 8443:8443 -v oliviadb-data:/data ghcr.io/oliviadb/oliviadb), its API key in OLIVIADB_API_KEY and its certificate in oliviadb-ca.pem (docker cp <container>:/data/tls/server.pem oliviadb-ca.pem):

import os
from typing import TypedDict

from langgraph.graph import END, START, StateGraph
from oliviadb import OliviaDbClient
from oliviadb_langgraph import OliviaDBSaver, OliviaDBStore


class State(TypedDict):
    text: str
    reply: str


client = OliviaDbClient("https://localhost:8443", api_key=os.environ["OLIVIADB_API_KEY"], ca_file="oliviadb-ca.pem")
graph = StateGraph(State)
graph.add_node("echo", lambda state: {"reply": state["text"]})
graph.add_edge(START, "echo")
graph.add_edge("echo", END)
app = graph.compile(
    checkpointer=OliviaDBSaver(client, root=("langgraph", "support")),
    store=OliviaDBStore(client, root=("langgraph", "support", "store")),
)
print(app.invoke({"text": "hello"}, {"configurable": {"thread_id": "demo"}})["reply"])

Licence: Apache-2.0.

Metadata

Release files for oliviadb-langgraph 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oliviadb-langgraph 0.1.1
File Size Uploaded Provenance Actions
oliviadb_langgraph-0.1.1.tar.gz 8.6 kB With provenance Details for oliviadb_langgraph-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oliviadb-langgraph 0.1.1
File Interpreter ABI Platform Actions
oliviadb_langgraph-0.1.1-py3-none-any.whl Python 3 none any Details for oliviadb_langgraph-0.1.1-py3-none-any.whl

Total release size: 16.0 kB

Release files / oliviadb_langgraph-0.1.1.tar.gz

Download URL oliviadb_langgraph-0.1.1.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e0800ccafe68ba9032e554115491cb00721cd1d1c14be5449a3f6110dc44caea
BLAKE2b-256 checksum
How to use checksums
694d161138faaf9b5fdec186da9c800e4f42965eaaec316e5717d1ca4dfbf2b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / oliviadb_langgraph-0.1.1-py3-none-any.whl

Download URL oliviadb_langgraph-0.1.1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cafce145bb03d6aed75fdd34b111f0b7087fb88bacef724d58d355d56bb471e2
BLAKE2b-256 checksum
How to use checksums
2d46905571ccf16a1951d7ee54848b6035ee6012da8d68abed7b34ca289e02ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Security for oliviadb-langgraph 0.1.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for oliviadb_langgraph-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

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.

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