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 Integrations from the sidebar
  2. Select Redis from the catalog
  3. Click Add Integration Config
  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 config

Using in Your Agent

  1. Open your agent in Agent Studio. Under Model & capabilities → Tools, click Add tool and add the Redis tools you need
  2. On a tool's card, choose your config under Set default credentials. It applies to every Redis tool in the agent; click Override on one tool's card to give it a different config
  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