Redis

fra Redis Ltd.

Connect agents to Redis for caching, session storage, pub/sub messaging, and fast key-value data operations.

DatabaserGratis / BetaltBearer-tokencachekey-valuepub-subin-memorydatabasequeue

Sådan bruger agenter Redis

  • Cache LLM responses to avoid redundant API calls and reduce costs
  • Maintain conversation state and session data across agent interactions
  • Implement rate limiting and usage tracking for AI workflows
  • Queue tasks between agent pipeline stages using Redis lists
  • Pub/sub event broadcasting between concurrent agent processes

Agenthandlinger

Get ValueRetrieve the value associated with a key

Input: key

Returnerer: value, exists

Set ValueStore a key-value pair with optional expiration

Input: key, value, ttl, nx

Returnerer: success, previousValue

Delete KeyDelete one or more keys from Redis

Input: keys

Returnerer: deletedCount

Set ExpirationSet or update the TTL on an existing key

Input: key, ttl

Returnerer: success, ttlRemaining

Increment CounterAtomically increment or decrement a numeric value

Input: key, amount

Returnerer: newValue

Hash SetSet fields in a Redis hash (object-like structure)

Input: key, fields

Returnerer: addedFields

Hash GetGet fields from a Redis hash

Input: key, fields

Returnerer: data

List PushPush values onto a Redis list (queue/stack)

Input: key, values, side

Returnerer: listLength

List PopPop a value from a Redis list

Input: key, side, count

Returnerer: value, values

Publish MessagePublish a message to a Redis pub/sub channel

Input: channel, message

Returnerer: subscribers

Scan KeysScan for keys matching a pattern

Input: pattern, count

Returnerer: keys, total

Eksempel på workflows

  1. 1

    Session cache

    Store and retrieve user session data with automatic expiry

  2. 2

    Rate limiting

    Increment counters per user/IP with TTL for sliding window rate limits

Om Redis

Leverandør
Redis Ltd.
Pris Tjek altid detaljerne hos udbyderen
Gratis / Betalt — Redis Community Edition is free and open-source. Redis Cloud offers a free 30MB tier; paid plans start at ~$7/month.
Godkendelse
Bearer-token
Anmodningsgrænse Tjek altid detaljerne hos udbyderen
10000 anmodninger / minut
Kompatible noder
AgentRessourceInputOutput

Sæt Redis bag din AI-agent

Tilføj Redis sammen med dine andre værktøjer i planneren, uden kode, og tegn, hvordan din AI-agent arbejder med det.

Åbn planneren →

Spørgsmål om Redis

Cache LLM responses to avoid redundant API calls and reduce costs Maintain conversation state and session data across agent interactions Implement rate limiting and usage tracking for AI workflows Queue tasks between agent pipeline stages using Redis lists Pub/sub event broadcasting between concurrent agent processes

Get Value, Set Value, Delete Key, Set Expiration, Increment Counter, Hash Set, Hash Get, List Push, List Pop, Publish Message, Scan Keys

Du tilføjer Redis i Fugentics planner, et no-code-lærred, hvor du tegner, hvad din virksomhed laver, og hvilke værktøjer der ligger bag. Det viser, hvordan en AI-agent ville arbejde med Redis. Prøv det gratis på fugentic.ai/solutions/agentic-planner.

Relaterede Databaser-værktøjer