Skip to main content

InMemoryIdempotencyStore

Defined in the protocols module.
AI Agent Bounded, zero-dependency in-memory :class:IdempotencyStoreProtocol. The default store for single-replica deployments — identical behaviour to the gateway’s original per-process OrderedDict + in-flight set. It is not durable: after a process restart the store is empty, so a durable backend (SQLite/redis) must be injected for the restart/multi-replica case.

Methods

reserve()

Instance method.

record()

Instance method.

release()

Instance method.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1774

Memory Concept

Memory Overview

Memory Configuration

Session Resume