Agentic Service Discovery

Resources

R

Redis

by 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

Session cache

Store and retrieve user session data with automatic expiry

2

Rate limiting

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

Om Redis

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

Byg et AI-workflow med Redis

Brug Agentic Planner til at designe, visualisere og forbinde Redis med dine andre værktøjer.

Åbn Agentic Planner

Relaterede Databaser-værktøjer