Agno supports using Redis as a storage backend for Agents using theDocumentation Index
Fetch the complete documentation index at: https://docs-v1.agno.com/llms.txt
Use this file to discover all available pages before exploring further.
RedisStorage class.
Usage
Run Redis
Install docker desktop and run Redis on port 6379 using:redis_storage_for_agent.py
Params
| Parameter | Type | Description | Default |
|---|---|---|---|
prefix | str | Prefix for Redis keys to namespace the sessions | Required |
host | str | Redis host address | "localhost" |
port | int | Redis port number | 6379 |
db | int | Redis database number | 0 |
password | Optional[str] | Redis password if authentication is required | None |
mode | Optional[Literal["agent", "team", "workflow"]] | Storage mode | "agent" |
Developer Resources
- View Cookbook