Redis integration for key-value operations, hashes, lists, sets, and server management
The Redis integration lets your agents read and write data in Redis, supporting strings, hashes, lists, sets, key expiration, and server info.
You need:
- Connection String — A Redis connection string (e.g.,
localhost:6379,password=secret,ssl=true,abortConnect=false). This follows the StackExchange.Redis format.
- Open Integrations from the sidebar
- Select Redis from the catalog
- Click Add Integration Config
- Give the config a display name (e.g., "Redis - Production")
- Enter your Connection String (password and SSL are embedded in the string)
- Optionally set the Default Database index (0-15, default: 0)
- Save the config
- Open your agent in Agent Studio and select an Agent Step
- Under Attached Integration Configurations, click Attach configuration and choose your config
- Attach Redis tools from the tools panel
- Tools are referenced as
redis.get, redis.set, redis.keys, etc.
| Tool | Description | Action Type |
|---|
get | Get a string value by key | ReadOnly |
set | Set a string value with optional TTL | Reversible |
| Tool | Description | Action Type |
|---|
keys | Scan for keys matching a pattern (SCAN, production-safe) | ReadOnly |
delete | Delete one or more keys | Irreversible |
expire | Set or check key expiration (TTL) | Reversible |
| Tool | Description | Action Type |
|---|
hash_get_all | Get all fields and values of a hash | ReadOnly |
hash_set | Set fields in a hash | Reversible |
| Tool | Description | Action Type |
|---|
list_range | Get elements from a list by index range | ReadOnly |
list_push | Push elements to a list (LPUSH or RPUSH) | Reversible |
| Tool | Description | Action Type |
|---|
set_members | Get all members of a set | ReadOnly |
set_add | Add members to a set | Reversible |
| Tool | Description | Action Type |
|---|
info | Get server information (memory, clients, keyspace, etc.) | ReadOnly |