RedisMemoryDb is a class that implements the MemoryDb interface using Redis as the backend storage system. It provides persistent storage for agent memories with support for JSONB data types, timestamps, and efficient querying.

Parameters

ParameterTypeDescriptionDefault
prefixstrPrefix for Redis keys to namespace the memories"agno_memory"
hoststrRedis host address"localhost"
portintRedis port number6379
dbintRedis database number0
passwordOptional[str]Redis password if authentication is requiredNone