SKILL5.1K installs29

Cloud

Sets up assistant-ui Cloud persistence and authorization with the assistant-cloud package and AssistantCloud client. Use when adding cross-session thread/message persistence, multi-device chat history, file uploads, or auth to an assistant-ui app: passing the cloud option to useChatRuntime (with AssistantChatTransport from @assistant-ui/react-ai-sdk), configuring AssistantCloud with authToken (JWT), apiKey plus userId/workspaceId (server-side), or anonymous mode, and wiring auth providers like NextAuth, Clerk, or Firebase. Covers cloud.threads.list/get/create/update/delete, cloud.threads.messages.list/create/update(threadId, ...), cloud.files.generatePresignedUploadUrl and pdfToImages, cloud.projects, cloud.runs, the aui/v0 message format, custom adapters (CloudMessagePersistence, createFormattedPersistence, ThreadHistoryAdapter, RemoteThreadListAdapter), auto title generation, external_id/metadata mapping, and env vars NEXT_PUBLIC_ASSISTANT_BASE_URL and ASSISTANT_API_KEY. For the thre

Type
Skill
Author
assistant-ui
GitHub stars
29
Installs
5.1K
Last updated
October 27, 2026

Install

npx skills add https://github.com/assistant-ui/skills --skill cloud

About this skill

Adds cloud persistence and authorization to assistant-ui apps through the assistant-cloud package and AssistantCloud client. Use it to give a chat app cross-session thread history, multi-device sync, file uploads, and auth through NextAuth, Clerk, or Firebase. Covers the threads, files, projects, and runs APIs, custom persistence adapters, and the environment variables that point at your backend.

Summary written with AI assistance from the project's public description.


Categories


More from assistant-ui


Similar Skills