Enterprise access
Agent Serve is available to teams by invitation. Tell us what you want to build and we will set up your workspace with you.
Agent Serve · Databases integration
Serverless Redis with Upstash
Upstash is a Databases integration for Agent Serve, the AI workspace where teams build and deploy AI agents. Agent Serve's Upstash integration provides 16 Upstash tools that AI agents can use inside Agent Serve's visual workflow builder. Upstash connects with an API key. Explore deployment options with the Agent Serve team.
Last updated
Connect to Upstash Redis to perform key-value, hash, list, and utility operations via the REST API.
Agent Serve accounts are created by invitation. Request access for your team, or accept an invitation from your workspace admin, then sign in.
Open your workspace, drag a Upstash block onto the workflow builder, and paste in your Upstash API key.
Pick the tool you need, wire in an AI agent for reasoning or data transformation, and run. Your Upstash automation is live.
16 Upstash tools available in Agent Serve.
Get the value of a key from Upstash Redis.
Set the value of a key in Upstash Redis with an optional expiration time in seconds.
Delete a key from Upstash Redis.
List keys matching a pattern in Upstash Redis. Defaults to listing all keys (*).
Set a field in a hash stored at a key in Upstash Redis.
Get the value of a field in a hash stored at a key in Upstash Redis.
Get all fields and values of a hash stored at a key in Upstash Redis.
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.
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.
Check if a key exists in Upstash Redis. Returns true if the key exists, false otherwise.
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.
Prepend a value to the beginning of a list in Upstash Redis. Creates the list if it does not exist.
Get a range of elements from a list in Upstash Redis. Use 0 and -1 for start and stop to get all elements.
Set a timeout on a key in Upstash Redis. After the timeout, the key is deleted.
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.
Execute an arbitrary Redis command against Upstash Redis. Pass the full command as a JSON array (e.g., ["HSET", "myhash", "field1", "value1"]).
Ready-to-use templates featuring Upstash. Click any to build it instantly.
Agent Serve's Upstash integration adds 16 Upstash tools to the AI agents you build in Agent Serve's visual workflow builder — you build it all visually. Serverless Redis with Upstash. Teams often pair Upstash with Affinity and Redis in the same agent.
Agent Serve is available to teams by invitation. Request access and the team will map out the Upstash agents, connections, and team access your process needs.