upstash-redis-start

द्वारा upstash

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…

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

upstash की और Skills

context7-docs
upstash
किसी भी लाइब्रेरी, फ्रेमवर्क, SDK, CLI टूल या क्लाउड सेवा के लिए अद्यतन दस्तावेज़ और कोड उदाहरण प्राप्त करें। जब भी उपयोगकर्ता किसी विशिष्ट… के बारे में पूछे तो उपयोग करें।
official
context7-mcp
upstash
यह कौशल तब उपयोग किया जाना चाहिए जब उपयोगकर्ता लाइब्रेरी, फ्रेमवर्क, API संदर्भों के बारे में पूछता है, या कोड उदाहरणों की आवश्यकता होती है। सेटअप प्रश्नों, कोड… के लिए सक्रिय होता है।
official
ctx7-cli
upstash
ctx7 CLI का उपयोग लाइब्रेरी दस्तावेज़ प्राप्त करने, AI कोडिंग कौशल प्रबंधित करने और Context7 MCP कॉन्फ़िगर करने के लिए करें। जब उपयोगकर्ता "ctx7" या "context7" का उल्लेख करे तो सक्रिय करें,…
official
docs
upstash
किसी भी प्रोग्रामिंग लाइब्रेरी या फ्रेमवर्क के लिए Context7 से नवीनतम दस्तावेज़ीकरण और कोड उदाहरण प्राप्त करता है और क्वेरी करता है। उस कोड को लिखते समय उपयोग करें जो… पर निर्भर करता है।
official
documentation-lookup
upstash
प्रशिक्षण डेटा पर निर्भर रहने के बजाय वर्तमान लाइब्रेरी दस्तावेज़ीकरण और कोड उदाहरण प्राप्त करें। लाइब्रेरी नामों को Context7 दस्तावेज़ीकरण आईडी में हल करता है, फिर सेटअप, कॉन्फ़िगरेशन और API संदर्भ जानकारी के लिए क्वेरी करता है। प्रमुख फ्रेमवर्क और लाइब्रेरी का समर्थन करता है: React, Vue, Svelte, Next.js, Express, Prisma, Supabase, Tailwind, और अन्य। सेटअप प्रश्नों, कोड जनरेशन अनुरोधों और फ्रेमवर्क-विशिष्ट पूछताछ के लिए स्वचालित र
official
find-docs
upstash
किसी भी लाइब्रेरी के लिए Context7 CLI का उपयोग करके वर्तमान दस्तावेज़ीकरण और कोड उदाहरण प्राप्त करें।
official
redis-js
upstash
Upstash Redis JavaScript/TypeScript SDK के साथ सर्वरलेस Redis संचालन के लिए काम करें। कैशिंग, सत्र भंडारण, दर सीमित करने, लीडरबोर्ड, पूर्ण-पाठ… के लिए उपयोग करें।
official
upstash-search-js
upstash
Upstash Search के त्वरित आरंभ, मुख्य अवधारणाओं और TypeScript SDK उपयोग को कवर करने वाले दस्तावेज़ीकरण कौशल का प्रवेश बिंदु। तब उपयोग करें जब कोई उपयोगकर्ता आरंभ करने का तरीका पूछे,…
official