Loading...
Loading...
Provision a zero-config, no-signup Upstash Redis database for an AI agent via a single POST to `https://upstash.com/start-redis`. Use when an agent needs scratch Redis for short-term memory, conversation history, sub-agent work queues, or ranked recall and the user has not provided credentials. The database lives 3 days unless the user claims it.
npx skill4agent add upstash/skills upstash-redis-startstart-redis# Generate a fresh UUIDv4 yourself, then POST it as the Idempotency-Key.
# The UUIDv4 you send becomes the database id.
curl -X POST -H "Idempotency-Key: <uuidv4>" https://upstash.com/start-redisIdempotency-KeyIdempotency-KeyDatabase IDEndpointTokenMetricsExpiresConsole URL# SET with TTL
curl https://<endpoint> \
-H "Authorization: Bearer <token>" \
-d '["SET","session:abc","{\"step\":2}","EX","3600"]'
# GET
curl https://<endpoint> \
-H "Authorization: Bearer <token>" \
-d '["GET","session:abc"]'@upstash/redisupstash-redis| Need | Commands |
|---|---|
| Short-term memory across tool calls in one run | |
| Conversation / turn-by-turn log | |
| Sub-agent work queue (producer/consumer) | |
| Ranked memory (recent-first or score-first) | |
GET