NULL Scratch vs Redis: Capability-Keyed Agent Handoffs vs In-Memory Cache

NULL Scratch is an HTTPS/MCP burn-after-read state API with per-record cryptographic capability keys and zero infrastructure management. Redis is a general-purpose, ultra-low-latency in-memory datastore for high-throughput application caching and pub/sub.

Capability / Criterion NullPK Redis
Setup OverheadZero setup — instant HTTPS & MCP endpointRequires managed instance or self-hosted server
Access ControlPer-record salted HMAC capability tokensConnection-level AUTH / ACLs
Burn-After-ReadBuilt-in atomic max_reads counterRequires custom Lua script or GETDEL
Payload & TTL LimitsUp to 32 KB, 60s–24h TTLUp to 512 MB per value, optional persistence

When to Choose NullPK

  • You need burn-after-read handoffs between loosely coupled AI agents without provisioning or securing a Redis server.
  • You want per-record cryptographic read/delete tokens so agents cannot enumerate other records.
  • You want native MCP tool access out of the box.

When to Choose Redis

  • You need sub-millisecond VPC-local caching, pub/sub, sorted sets, or millions of operations per second.
  • You need persistent data structures larger than 32 KB or TTLs longer than 24 hours.

Frequently Asked Questions

Should I replace my production Redis cache with NULL Scratch?

No. Use Redis for high-throughput application caching; use NULL Scratch for zero-ops ephemeral AI agent handoffs and burn-after-read state.

Explore NullPK Tool → Try Live Playground