The TinyCloud Stack
TinyCloud is a protocol for creating spaces: user-controlled data containers where individuals retain sovereignty over their information. A space is not an app database owned by a platform. It is a durable boundary for a user’s data, authorization history, and application state. The TinyCloud stack is built around a simple rule: applications should ask for scoped authority instead of taking custody. Users own spaces. Owners delegate capabilities to apps, services, devices, agents, and session keys. Those delegates can then act within the exact scope they were granted. That rule changes what application architecture can look like.The Pieces
The current stack has four core pieces:- TinyCloud Node stores spaces, validates signed invocations, enforces capabilities, and exposes KV, SQL, hooks, and encryption services.
- OpenKey gives users a practical way to operate self-custodiable owner keys with passkeys, OAuth, and TEE-backed signing.
- TinyCloud Secrets is a user-facing secret manager for API keys, tokens, and environment variables.
- Listen is a transcript workspace that shows how an app can compose TinyCloud primitives into a real product.
Owner Keys And Delegates
TinyCloud’s top-level authority is the owner key. Owner keys have two important properties:- they are self-custodiable
- they can update a public registry
Secrets As A TinyCloud Composition
TinyCloud Secrets is not a standalone vault bolted onto the side of the system. It is a composition of TinyCloud primitives:- KV records hold encrypted secret payloads.
- SQL stores provider metadata such as names, scopes, test status, and notes.
- Encryption networks provide decrypt authority.
- Capabilities define who can read, write, delete, or decrypt.
- The user stores a secret in their TinyCloud space.
- An app declares the secret it needs.
- The user grants scoped access.
- The delegate uses that grant only for the requested workflow.
Listen As A Reference App
Listen is a transcript workspace built on TinyCloud. It syncs or imports conversations, stores normalized rows in TinyCloud SQL, stores transcript blobs in TinyCloud KV, and uses TinyCloud Secrets for provider credentials. That makes Listen a useful reference application because it touches the parts real products need:- browser sign-in through OpenKey
- app manifests and capability requests
- SQL for structured application state
- KV for larger transcript and media data
- hooks for live updates
- backend delegations for sync jobs
- secret access for providers like Fireflies, Granola, AssemblyAI, and Deepgram
What This Enables
TinyCloud makes a different class of software easier to build. Apps can share a user’s data layer without merging into one platform account. A personal AI agent can receive a delegation for a specific task, use the CLI or SDK to act, and fail clearly when it lacks permission. A backend can sync data from an external provider without owning the user’s whole space. A user can inspect, rotate, and revoke the secrets that apps depend on. This is especially relevant for AI software. Agents need context, memory, credentials, and permissioned actions. The default platform model asks users to trust one service with too much. TinyCloud makes the permission graph explicit. The owner grants scoped authority, delegates perform work, and the node verifies the chain. That gives us a practical path to apps that are more capable without becoming more custodial.Why Open Source This Stack
Open sourcing OpenKey, TinyCloud Secrets, and Listen gives developers concrete examples of the TinyCloud model:- OpenKey shows practical owner-key operation.
- Secrets shows how user-controlled credentials can be represented as a first-class TinyCloud composition.
- Listen shows how a full application uses delegated access across frontend, backend, storage, and secrets.
LICENSE.md.
The Direction
The next phase is making the developer workflow smoother:- clearer permission prompts
- first-class CLI flows for owners and delegates
- simpler secret grants for bulk operations
- stronger network encryption support
- more reference apps that show TinyCloud as an application substrate