assistant-ui logo/

useChatuseCloudChat

Cloud persistence and thread management for any Vercel AI SDK app. One import change.

Read the docs
before
fig. 01 · ephemeral
after
fig. 02 · persistentthreads included

Zero config

Set one environment variable. No providers, no context wrappers, no runtime objects.

Thread management

List, select, create, delete, archive, and rename threads. Enough for a ChatGPT-style sidebar.

Auto persistence

Messages persist as they stream in. Users pick up where they left off after a refresh.

Auto titles

Every thread gets an AI-generated title after the first response.

The dashboard

The same threads show up in the Cloud dashboard.

Assistant Cloud dashboard showing analytics, threads, and run tracking
fig. 03 · the same threads, server-side
  • Analytics and cost tracking
  • Thread browser with conversation replay
  • Per-user metrics and activity
  • Run waterfall traces
  • Auth rules for Clerk, Auth0, Supabase, and Firebase
  • API key management