upstash-redis-start

B

npx skills add https://github.com/upstash/skills --skill upstash-redis-start

Upstash Redis for Agents (start-redis)

A zero-config Redis database for AI agents — no signup, no UI, no SDK setup. One HTTP request returns a working endpoint + token. Databases live for 3 days unless the user claims them.

Use this when:

  • The agent needs Redis right now and the user has not given you credentials.
  • You want short-term memory across tool calls, conversation history, a sub-agent work queue, or recent-first ranked recall.

This is built for quick experiments, prototypes, and demos rather than production workloads or anything tied to a real user account — the database is temporary and unauthenticated until claimed, so keep PII, secrets, and production credentials out of it.

Create or re-fetch a database

# 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-redis
  • Sending your own UUIDv4 makes the first call retry-safe — if the response is lost, retrying with the same UUID returns the same database instead of minting a duplicate.
  • Re-POST with the same Idempotency-Key to re-fetch credentials for an existing database.
  • The header is optional. Omit it to mint a new database with a server-generated id (returned in the response — re-fetch later by passing that id back as Idempotency-Key). Only UUIDv4 is accepted.

The response is markdown containing:

  • Database ID, Endpoint, Token
  • Metrics URL (JSON: uptime, commands, keys, throughput, memory, bandwidth)
  • Expires date
  • Console URL to share with the user (where they view usage and click Claim to keep the database)
  • An inline quickstart for the body-style REST API

Parse these out of the markdown response and use them directly — there is no separate JSON envelope.

Calling the database (body-style REST)

The returned endpoint speaks the Upstash Redis REST API. Prefer the body-style form: POST a JSON array as the body so you don't have to URL-encode the command.

# 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"]'

You can also use the official SDKs against the same endpoint + token (@upstash/redis for TS/JS, upstash-redis for Python).

Common agent patterns

NeedCommands
Short-term memory across tool calls in one runSET key value EX <ttl> / GET key
Conversation / turn-by-turn logLPUSH chat:<user> <json> / LRANGE chat:<user> 0 20
Sub-agent work queue (producer/consumer)LPUSH jobs <json> / RPOP jobs
Ranked memory (recent-first or score-first)ZADD memories <score> <member> / ZREVRANGE memories 0 9

Tell the user

After provisioning, surface the console URL from the response to the user. Make clear that:

  • The database expires in 3 days.
  • They can view usage at the console URL and click Claim to keep it.
  • This is unauthenticated scratch storage — don't put secrets or PII in it.

Reference

Mehr Skills von upstash

context7-docs
upstash
Aktuelle Dokumentation und Codebeispiele für jede Bibliothek, jedes Framework, SDK, CLI-Tool oder jeden Cloud-Dienst abrufen. Verwenden Sie dies, wenn der Benutzer nach einem bestimmten … fragt.
official
context7-mcp
upstash
Diese Fähigkeit sollte verwendet werden, wenn der Benutzer nach Bibliotheken, Frameworks, API-Referenzen fragt oder Codebeispiele benötigt. Aktiviert für Einrichtungsfragen, Code…
official
ctx7-cli
upstash
Verwende die ctx7 CLI, um Bibliotheksdokumentation abzurufen, KI-Codierungsfähigkeiten zu verwalten und Context7 MCP zu konfigurieren. Aktiviere, wenn der Benutzer "ctx7" oder "context7" erwähnt,…
official
docs
upstash
Ruft aktuelle Dokumentation und Codebeispiele von Context7 für jede Programmbibliothek oder jedes Framework ab und führt Abfragen durch. Verwenden Sie dies beim Schreiben von Code, der von … abhängt.
official
documentation-lookup
upstash
Ruft aktuelle Bibliotheksdokumentation und Codebeispiele ab, anstatt sich auf Trainingsdaten zu verlassen. Löst Bibliotheksnamen in Context7-Dokumentations-IDs auf und fragt dann nach Setup-, Konfigurations- und API-Referenzinformationen ab. Unterstützt wichtige Frameworks und Bibliotheken: React, Vue, Svelte, Next.js, Express, Prisma, Supabase, Tailwind und andere. Aktiviert automatisch bei Setup-Fragen, Code-Generierungsanfragen und frameworkspezifischen Anfragen. Gibt versionsbewusste Dokumentation und offiziellen Code zurück...
official
find-docs
upstash
Rufe aktuelle Dokumentation und Codebeispiele für jede Bibliothek mit der Context7 CLI ab.
official
redis-js
upstash
Arbeiten Sie mit dem Upstash Redis JavaScript/TypeScript SDK für serverlose Redis-Operationen. Verwenden Sie es für Caching, Sitzungsspeicher, Ratenbegrenzung, Bestenlisten, Volltext…
official
upstash-search-js
upstash
Einstiegspunkt für Dokumentationsfähigkeiten, die Schnellstarts, Kernkonzepte und die Nutzung des TypeScript SDKs von Upstash Search abdecken. Verwenden Sie dies, wenn ein Benutzer fragt, wie man loslegt,…
official