Redis
by Redis Ltd.
Connect agents to Redis for caching, session storage, pub/sub messaging, and fast key-value data operations.
How agents use Redis
- ✓Cache LLM responses to avoid redundant API calls and reduce costs
- ✓Maintain conversation state and session data across agent interactions
- ✓Implement rate limiting and usage tracking for AI workflows
- ✓Queue tasks between agent pipeline stages using Redis lists
- ✓Pub/sub event broadcasting between concurrent agent processes
Agent actions
Inputs: key
Returns: value, exists
Inputs: key, value, ttl, nx
Returns: success, previousValue
Inputs: keys
Returns: deletedCount
Inputs: key, ttl
Returns: success, ttlRemaining
Inputs: key, amount
Returns: newValue
Inputs: key, fields
Returns: addedFields
Inputs: key, fields
Returns: data
Inputs: key, values, side
Returns: listLength
Inputs: key, side, count
Returns: value, values
Inputs: channel, message
Returns: subscribers
Inputs: pattern, count
Returns: keys, total
Example workflows
Session cache
Store and retrieve user session data with automatic expiry
Rate limiting
Increment counters per user/IP with TTL for sliding window rate limits
About Redis
- Vendor
- Redis Ltd.
- Pricing Always review details with the vendor
- Free / Paid — Redis Community Edition is free and open-source. Redis Cloud offers a free 30MB tier; paid plans start at ~$7/month.
- Authentication
- Bearer token
- Rate limit Always review details with the vendor
- 10000 requests / minute
- Compatible nodes
- AgentResourceInputOutput
- Website
- https://redis.io
Build an AI workflow with Redis
Use the Agentic Planner to design, visualize, and connect Redis with your other tools.
Open Agentic Planner