Key-value operations with Redis
Redis is a Databasesintegration for Sim, the AI workspace where teams build and deploy AI agents. Sim's Redis integration provides 22 Redis tools that AI agents can use inside Sim's visual workflow builder. Redis connects with an API key. Free to start at sim.ai.
Last updated
Connect to any Redis instance to perform key-value, hash, list, and utility operations via a direct connection.
Sign up at sim.ai in seconds. No credit card required. Your workspace is ready immediately.
Open your workspace, drag a Redis block onto the workflow builder, and paste in your Redis API key.
Pick the tool you need, wire in an AI agent for reasoning or data transformation, and run. Your Redis automation is live.
Ready-to-use templates featuring Redis. Click any to build it instantly.
22 Redis tools available in Sim
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. [
Sim's Redis integration adds 22 Redis tools to the AI agents you build in Sim's visual workflow builder — no code required. Key-value operations with Redis. Teams often pair Redis with Upstash and Rippling in the same agent.

Build your first AI agent with Redis in minutes. Connect to every tool your team uses. Free to start, no credit card required.