Skip to main content
Redis gives Agents fast caching, sessions, and real-time messaging. Redis enables your Agents to cache responses, maintain sessions across requests, and communicate in real-time. This is essential for production Agents that need speed and scalability.

Quick Start

1

Simple Usage

2

With Configuration

Use persistent session keys and rate limiting — see sections below.

Agent with Response Caching

Cache expensive Agent responses to reduce latency and API costs:

Agent with Persistent Sessions

Maintain conversation history across server restarts:

Multi-Agent Communication with Pub/Sub

Agents can communicate in real-time:

Agent Rate Limiting

Prevent API abuse with Redis-based rate limiting:

Agent State Storage

Store Agent state and context:

Agent Task Queue

Queue tasks for background processing:

Environment Variables

Sessions

Session management

PostgreSQL

Persistent storage