Skip to main content

InMemoryCallbackPayloadStore

Defined in the protocols module.
AI Agent Bounded, zero-dependency in-memory :class:CallbackPayloadStoreProtocol. The default store when a channel does not inject a durable one. Entries are kept until their expires_at and the store is capped at max_entries (oldest inserted evicted first) so a long-running process cannot grow unbounded. This is per-process only; durable, restart-surviving persistence belongs to a runtime-provided backend (as approvals already do).

Methods

put()

Instance method.

get()

Instance method.

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 1413

Memory Concept

Memory Overview

Memory Configuration

Session Resume