Skip to main content

Upstash integration for AI agents

Serverless Redis with Upstash

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

View docs

Last updated

What Sim agents can do with Upstash

Connect to Upstash Redis to perform key-value, hash, list, and utility operations via the REST API.

Category
Databases
Authentication
API key
Tools
16
Triggers
0
Documentation
Upstash docs

How to automate Upstash 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 Upstash block

    Open your workspace, drag a Upstash block onto the workflow builder, and paste in your Upstash 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 Upstash automation is live.

Agent templates

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

Upstash tools

16 Upstash tools available to Sim agents.

Get

Get the value of a key from Upstash Redis.

Set

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

Delete

Delete a key from Upstash Redis.

List Keys

List keys matching a pattern in Upstash Redis. Defaults to listing all keys (*).

HSET

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

HGET

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

HGETALL

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

INCR

Atomically increment the integer value of a key by one in Upstash Redis. If the key does not exist, it is set to 0 before incrementing.

INCRBY

Increment the integer value of a key by a given amount. Use a negative value to decrement. If the key does not exist, it is set to 0 before the operation.

EXISTS

Check if a key exists in Upstash Redis. Returns true if the key exists, false otherwise.

SETNX

Set the value of a key only if it does not already exist. Returns true if the key was set, false if it already existed.

LPUSH

Prepend a value to the beginning of a list in Upstash Redis. Creates the list if it does not exist.

LRANGE

Get a range of elements from a list in Upstash Redis. Use 0 and -1 for start and stop to get all elements.

EXPIRE

Set a timeout on a key in Upstash Redis. After the timeout, the key is deleted.

TTL

Get the remaining time to live of a key in Upstash Redis. Returns -1 if the key has no expiration, -2 if the key does not exist.

Command

Execute an arbitrary Redis command against Upstash Redis. Pass the full command as a JSON array (e.g., ["HSET", "myhash", "field1", "value1"]).

Frequently asked questions

Sim's Upstash integration adds 16 tools to the AI agents you build in Sim's visual workflow builder. Serverless Redis with Upstash.

Every agent your company runs. All in one place.