Overview
Redis tool allows you to interact with Redis for caching, key-value storage, and pub/sub messaging.Installation
Environment Variables
Quick Start
Usage with Agent
Available Methods
get(key)
Get a value by key.set(key, value, ttl=None)
Set a key-value pair with optional TTL.delete(key)
Delete a key.keys(pattern)
Find keys matching a pattern.hget/hset
Hash operations.Docker Setup
Common Errors
| Error | Cause | Solution |
|---|---|---|
redis not installed | Missing dependency | Run pip install redis |
Connection refused | Redis not running | Start Redis server |
NOAUTH | Authentication required | Provide password |
Related Tools
- MongoDB - NoSQL database
- PostgreSQL - SQL database
- Upstash - Serverless Redis

