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

Exports

A2ATaskConflictError

An A2A task mutation conflicts with its durable ownership.

A2ATaskCursorError

An A2A list cursor does not identify a task in the selected scope.

A2ATaskPage

One bounded durable task page plus its pre-pagination total.
Fields (— means no declared default):

A2ATaskPersistence

Optional indexed A2A persistence implemented by built-in stores.

A2ATaskPersistence.put_a2a_task

Create or update one owner-scoped A2A task snapshot.

A2ATaskPersistence.get_a2a_task

Read one A2A task through its complete ownership key.

A2ATaskPersistence.list_a2a_tasks

Return a filtered, cursor-based page of owner-scoped A2A tasks.

A2ATaskPersistence.delete_a2a_task

Delete one owner-scoped A2A task and report whether it existed.

A2ATaskRecord

Transport-neutral durable snapshot of one protobuf A2A task.
Fields (— means no declared default):

ADKStore

Explicit lifecycle ownership wrapper for native ADK persistence.
Fields (— means no declared default):

ADKStore.start

Initialize the wrapped ADK session service when supported.

ADKStore.close

Release resources owned by the wrapped ADK session service.

CheckpointAuthority

Typed lifecycle value identifying one checkpoint authority.
Fields (— means no declared default):

CheckpointConflictError

A compare-and-swap or run exclusivity condition failed.

CheckpointError

Base error for checkpoint persistence and ownership.

CheckpointRecord

Opaque framework checkpoint with portable lineage and CAS revision.
Fields (— means no declared default):

CheckpointStore

Storage contract for resumable, in-progress framework execution.

CheckpointStore.start

Initialize resources required by the checkpoint store.

CheckpointStore.begin_run

Create or recover the active checkpoint run for a session.

CheckpointStore.get_run

Read a checkpoint run through its complete ownership scope.

CheckpointStore.get_checkpoint

Read an exact or latest checkpoint within an owned run.

CheckpointStore.list_checkpoints

Stream a bounded checkpoint history for an owned run.

CheckpointStore.put

Persist a checkpoint when its expected revision still matches.

CheckpointStore.put_writes

Persist pending task writes for one checkpoint.

CheckpointStore.get_writes

Read pending writes for one owned checkpoint.

CheckpointStore.get_writes_batch

Read pending writes for several owned checkpoints in one call.

CheckpointStore.transition

Apply one compare-and-swap run-state transition.

CheckpointStore.delete_run

Delete an owned run and all of its checkpoint state.

CheckpointStore.close

Release resources owned by the checkpoint store.

CheckpointWrite

Opaque framework write attached to a checkpoint task.
Fields (— means no declared default):

HarnestStore

Base for framework-neutral stores owned by the Harnest runtime.
Fields (— means no declared default):

HarnestStore.as_langgraph_checkpointer

Return one stable native saver for advanced LangGraph construction.

LangGraphStore

Explicit lifecycle ownership wrapper for a native LangGraph saver.
Fields (— means no declared default):

LangGraphStore.config_specs

Expose the wrapped saver configuration fields to LangGraph.

LangGraphStore.get_tuple

Delegate synchronous checkpoint lookup to the wrapped saver.

LangGraphStore.list

Delegate synchronous checkpoint listing to the wrapped saver.

LangGraphStore.put

Delegate synchronous checkpoint persistence to the wrapped saver.

LangGraphStore.put_writes

Delegate synchronous pending-write persistence to the wrapped saver.

LangGraphStore.delete_thread

Delete all checkpoints for a LangGraph thread.

LangGraphStore.aget_tuple

Delegate asynchronous checkpoint lookup to the wrapped saver.

LangGraphStore.alist

Stream checkpoints from the wrapped asynchronous saver.

LangGraphStore.aput

Delegate asynchronous checkpoint persistence to the wrapped saver.

LangGraphStore.aput_writes

Delegate asynchronous pending-write persistence to the wrapped saver.

LangGraphStore.adelete_thread

Asynchronously delete all checkpoints for a LangGraph thread.

LangGraphStore.get_next_version

Ask the wrapped saver to derive the next channel version.

LangGraphStore.start

Initialize the wrapped saver when it owns a start hook.

LangGraphStore.close

Release resources owned by the wrapped saver.

MemoryStore

Process-local session, checkpoint, and continuation store with atomic CAS.
Fields (— means no declared default):

MemoryStore.start

Reject reopening because closed development state is intentionally lost.

MemoryStore.create

Create one process-local tenant-scoped session.

MemoryStore.get

Read one process-local tenant-scoped session.

MemoryStore.list

List an ordered keyset page without materializing unrelated users.

MemoryStore.update

Merge a state delta into a process-local session.

MemoryStore.delete

Delete one process-local session after its active lease exits.

MemoryStore.acquire

Hold exclusive access to one process-local session.

MemoryStore.close

Close both session and checkpoint sides of the shared store.

MemoryStore.as_langgraph_checkpointer

Return one stable native saver for advanced LangGraph construction.

MemoryStore.put_a2a_task

Upsert one owner-scoped snapshot without allowing context reassignment.

MemoryStore.get_a2a_task

Read one snapshot only through its complete ownership key.

MemoryStore.list_a2a_tasks

Return a stable inclusive-cursor page for the process-local backend.

MemoryStore.delete_a2a_task

Delete exactly one owner-scoped A2A snapshot.

MemoryStore.begin_run

Claim the session for one idempotent invocation run.

MemoryStore.get_run

Read one process-local run through its complete ownership scope.

MemoryStore.get_checkpoint

Load an exact checkpoint or the newest checkpoint in a namespace.

MemoryStore.list_checkpoints

Yield a bounded newest-first checkpoint history.

MemoryStore.put

Persist a checkpoint only when its expected revision still matches.

MemoryStore.put_writes

Add pending writes idempotently by task and channel.

MemoryStore.get_writes

Read process-local pending writes for one owned checkpoint.

MemoryStore.get_writes_batch

Load writes for several checkpoints without per-checkpoint calls.

MemoryStore.transition

Apply one valid compare-and-swap run-state transition.

MemoryStore.suspend_continuation

Atomically register provider work and move its owned run to waiting.

MemoryStore.get_continuation

Return one record only when every run ownership field matches.

MemoryStore.get_provider_continuation

Return an exact continuation together with its provider external ID.

MemoryStore.get_continuation_by_external_id

Resolve one provider identity through the same indexed ownership key.

MemoryStore.list_pending_continuations

Return a bounded provider page for local reconciliation.

MemoryStore.resolve_continuation

Commit a provider result or failure with one status compare-and-swap.

MemoryStore.cancel_continuation

Fail one pending continuation and cancel its exact waiting run.

MemoryStore.claim_continuation

Claim an outcome and return the waiting run to running atomically.

MemoryStore.arm_continuation

Arm a provider wait after its native suspension is checkpointed.

MemoryStore.delete_run

Delete a run and every private checkpoint owned by it.

PendingAction

Portable description of a durable wait without customer payloads.
Fields (— means no declared default):

RunRecord

One framework execution associated with a committed public session.
Fields (— means no declared default):

RunRecord.scope

Return the complete ownership key required for later operations.

RunScope

Complete ownership key required at the store boundary for one run.
Fields (— means no declared default):

RunStatus

checkpoint_metadata

Return immutable, non-secret ownership metadata for an artifact.