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의 다른 스킬

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 문서 ID로 변환한 후 설정, 구성 및 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