Skip to main content
All Python modules · Import and compatibility guidance

Exports

RedisMemoryStore

Store explicit memories in Redis; durability requires persistent Redis.

RedisMemoryStore.delete_all

Erase one explicit namespace through trusted application code only.

RedisMemoryStore.delete_user

Erase an explicitly authorized owner without registering any endpoint.

RedisMemoryStore.purge_expired

Sweep a bounded key page without exposing another user’s collection.

RedisMemoryStore.put

Validate before atomically persisting a deliberate memory write.

RedisMemoryStore.get

Read only an explicitly scoped live record.

RedisMemoryStore.list

Page records without loading an unbounded provider collection.
Retrieve explicit literal text matches without model or embedding calls.

RedisMemoryStore.delete

Remove memory and its indexes with an optional atomic revision fence.

RedisMemoryStore.start

Open an owned async client only when the selected provider starts.

RedisMemoryStore.close

Release only this provider’s Redis client.

RedisStore

Combined storage with atomic task leases and cron occurrence handoff. Tasks have no expiration: durable retention follows explicit lifecycle operations, independent of the session/checkpoint TTL configuration. Configure Redis persistence and replication for the required durability.
Fields (— means no declared default):

RedisStore.start

Open the client and establish the compatible schema marker.

RedisStore.close

Close only clients created and owned by this store.

RedisStore.create_cron

Atomically persist schedule identity, owner index, and due index.

RedisStore.get_cron

Read one schedule using an owner predicate evaluated by Redis.

RedisStore.list_crons

Return a bounded lexicographic owner-index page in one Redis call.

RedisStore.update_cron

Replace mutable schedule fields with revision and terminal fencing.

RedisStore.delete_cron

Remove one owner’s record and its identity/query indexes atomically.

RedisStore.list_due_crons

Read due schedules from a time/ID index with stable keyset bounds.

RedisStore.commit_cron_occurrence

Enqueue and advance a fenced occurrence within one Lua transaction.

RedisStore.enqueue_task

Persist a job once per scoped key, retaining immutable fingerprints.

RedisStore.get_task

Apply owner scope inside Redis before returning a single record.

RedisStore.claim_tasks

Claim bounded indexed work and recover expired attempts atomically.

RedisStore.renew_task_lease

Renew only the matching unexpired attempt’s fenced queue lease.

RedisStore.finish_task

Commit a fenced result or delayed retry and scrub terminal payloads.

RedisStore.cancel_task

Cancel scoped work and invalidate running claims in one mutation.

RedisStore.as_langgraph_checkpointer

Return one stable native saver for advanced LangGraph construction.

RedisStore.create

Create one tenant-scoped session with an atomic Lua mutation.

RedisStore.get

Read one tenant-scoped session from Redis.

RedisStore.list

Read one lexicographically ordered keyset page with one MGET.

RedisStore.put_a2a_task

Atomically update one A2A record and all of its query indexes.

RedisStore.get_a2a_task

Read one task through its digested application and owner key.

RedisStore.list_a2a_tasks

Use one prefiltered sorted index and one batched record read.

RedisStore.delete_a2a_task

Delete a record and every selected-list index with optimistic CAS.

RedisStore.update

Atomically merge state while preserving session expiry policy.

RedisStore.delete

Delete a session and its user index entry atomically.

RedisStore.acquire

Hold and renew a token-bound distributed lease for one execution.

RedisStore.begin_run

Create an idempotent run while allowing one active run per session.

RedisStore.get_run

Read one Redis checkpoint run through its ownership scope.

RedisStore.get_checkpoint

Resolve an exact or newest checkpoint through its Redis index.

RedisStore.list_checkpoints

Read bounded checkpoint history from sorted-set indexes.

RedisStore.put

Persist checkpoint data and revision indexes with one Lua CAS.

RedisStore.put_writes

Add pending writes idempotently with one Lua operation.

RedisStore.get_writes

Read pending writes for one owned Redis checkpoint.

RedisStore.get_writes_batch

Fetch several pending-write hashes in one Redis round trip.

RedisStore.suspend_continuation

Atomically persist a provider wait and move its run to waiting.

RedisStore.get_continuation

Read one private record only when all ownership fields match.

RedisStore.get_provider_continuation

Load an exact provider envelope only while its owned run exists.

RedisStore.get_continuation_by_external_id

Resolve a callback through its provider-owned Redis index.

RedisStore.list_pending_continuations

Load one indexed provider page with a single batched value read.

RedisStore.resolve_continuation

Resolve an indexed provider callback with an atomic status CAS.

RedisStore.claim_continuation

Claim a provider outcome and resume its run with one Lua CAS.

RedisStore.cancel_continuation

Cancel one exact waiting run and fail its continuation in one script.

RedisStore.arm_continuation

Arm one persisted wait after the framework commits its checkpoint.

RedisStore.transition

Apply one status compare-and-swap and release terminal ownership.

RedisStore.delete_run

Make run data unreachable immediately and let private blobs expire.

RedisStore.list_task_metadata

Index legacy jobs incrementally and project one owner page inside Redis.

RedisStore.list_cron_metadata

Project one indexed owner page in Redis without transferring private arguments.