Skip to main content

Redis integration for AI agents

Key-value operations with Redis

Redis is a Sim integration in the Databases category. Sim is the AI workspace where teams build and deploy AI agents. Sim's Redis integration provides 22 tools that AI agents can use inside Sim's visual workflow builder. Redis connects with an API key. Free to start at sim.ai.

View docs

Last updated

What Sim agents can do with Redis

Connect to any Redis instance to perform key-value, hash, list, and utility operations via a direct connection.

Category
Databases
Authentication
API key
Tools
22
Triggers
0
Documentation
Redis docs

How to automate Redis with Sim

  1. Create a free account

    Sign up at sim.ai in seconds. No credit card required. Your workspace is ready immediately.

  2. Add a Redis block

    Open your workspace, drag a Redis block onto the workflow builder, and paste in your Redis API key.

  3. Configure, connect, and run

    Pick the tool you need, wire in an AI agent for reasoning or data transformation, and run. Your Redis automation is live.

Agent templates

Ready-to-use templates featuring Redis. Click any to build it instantly.

Redis tools

22 Redis tools available to Sim agents.

Get

Get the value of a key from Redis.

Set

Set the value of a key in Redis with an optional expiration time in seconds.

Delete

Delete a key from Redis.

List Keys

List all keys matching a pattern in Redis. Avoid using on large databases in production; use the Redis Command tool with SCAN for large key spaces.

HSET

Set a field in a hash stored at a key in Redis.

HGET

Get the value of a field in a hash stored at a key in Redis.

HGETALL

Get all fields and values of a hash stored at a key in Redis.

HDEL

Delete a field from a hash stored at a key in Redis.

INCR

Increment the integer value of a key by one in Redis.

INCRBY

Increment the integer value of a key by a given amount in Redis.

EXISTS

Check if a key exists in Redis.

SETNX

Set the value of a key in Redis only if the key does not already exist.

LPUSH

Prepend a value to a list stored at a key in Redis.

RPUSH

Append a value to the end of a list stored at a key in Redis.

LPOP

Remove and return the first element of a list stored at a key in Redis.

RPOP

Remove and return the last element of a list stored at a key in Redis.

LLEN

Get the length of a list stored at a key in Redis.

LRANGE

Get a range of elements from a list stored at a key in Redis.

EXPIRE

Set an expiration time (in seconds) on a key in Redis.

PERSIST

Remove the expiration from a key in Redis, making it persist indefinitely.

TTL

Get the remaining time to live (in seconds) of a key in Redis.

Command

Execute a raw Redis command as a JSON array (e.g. ["HSET", "key", "field", "value"]).

Frequently asked questions

Sim's Redis integration adds 22 tools to the AI agents you build in Sim's visual workflow builder. Key-value operations with Redis.

Every agent your company runs. All in one place.