FruxonDocs

Redis

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.

Prerequisites

You need:

  • Connection String — A Redis connection string (e.g., localhost:6379,password=secret,ssl=true,abortConnect=false). This follows the StackExchange.Redis format.

Setup

  1. Open your agent in Agent Studio
  2. In the Integrations panel, click Add Integration Config
  3. Select Redis from the integration list
  4. Give the config a display name (e.g., "Redis - Production")
  5. Enter your Connection String (password and SSL are embedded in the string)
  6. Optionally set the Default Database index (0-15, default: 0)
  7. Save the agent revision

Using in Your Agent

  1. In an Agent Step, attach Redis tools from the tools panel
  2. The agent uses your integration config for all Redis operations
  3. Tools are referenced as redis.get, redis.set, redis.keys, etc.

Available Tools

String Operations

ToolDescriptionAction Type
getGet a string value by keyReadOnly
setSet a string value with optional TTLReversible

Key Management

ToolDescriptionAction Type
keysScan for keys matching a pattern (SCAN, production-safe)ReadOnly
deleteDelete one or more keysIrreversible
expireSet or check key expiration (TTL)Reversible

Hash Operations

ToolDescriptionAction Type
hash_get_allGet all fields and values of a hashReadOnly
hash_setSet fields in a hashReversible

List Operations

ToolDescriptionAction Type
list_rangeGet elements from a list by index rangeReadOnly
list_pushPush elements to a list (LPUSH or RPUSH)Reversible

Set Operations

ToolDescriptionAction Type
set_membersGet all members of a setReadOnly
set_addAdd members to a setReversible

Server

ToolDescriptionAction Type
infoGet server information (memory, clients, keyspace, etc.)ReadOnly

On this page