# Cloud Persistence
URL: /docs/cloud

Add managed thread persistence and chat history to your AI app in minutes — assistant-ui Cloud handles thread sync, search, and multi-tenant storage.

> For AI agents: a documentation index is available at [llms.txt](/llms.txt). Use `.md` for canonical markdown pages; `.mdx` is kept as a backwards-compatible alias on supported URL paths.

Assistant Cloud is a hosted service that adds thread management, message persistence, and user authorization to AI chat applications. It works with any React UI—whether you use assistant-ui components or your own.

## What You Get

- **Thread Persistence** — Messages automatically save as conversations progress. Users can resume chats at any time, even across sessions.
- **Thread List** — Built-in UI components (or hooks) for browsing, switching, and managing conversations.
- **Auto-Generated Titles** — Conversations get meaningful titles based on the initial messages.
- **User Authorization** — Integrates with your auth provider to scope threads per user or workspace.

## Supported Backends

| Backend   | Standalone Mode                      | With assistant-ui                                   |
| --------- | ------------------------------------ | --------------------------------------------------- |
| AI SDK    | [`useCloudChat`](/docs/cloud/ai-sdk) | [`useChatRuntime`](/docs/cloud/ai-sdk-assistant-ui) |
| LangGraph | —                                    | [`useLangGraphRuntime`](/docs/cloud/langgraph)      |
| Custom    | —                                    | Local Runtime                                       |

## Getting Started

> [!info]
>
> You'll need an Assistant Cloud account. [Sign up here](https://cloud.assistant-ui.com/) to create a project.
>
> From your project settings, copy the **Frontend API URL** (`https://proj-[ID].assistant-api.com`)—you'll need it for the guides below.

### Choose Your Integration Path

**Using AI SDK with your own UI?**\
→ Follow the [AI SDK guide](/docs/cloud/ai-sdk) for the `useCloudChat` hook. One hook, minimal changes to your existing code.

**Want pre-built components like `<Thread />` and `<ThreadList />`?**\
→ Follow the [AI SDK + assistant-ui guide](/docs/cloud/ai-sdk-assistant-ui) for full UI components with cloud persistence.

**Using LangGraph?**\
→ Follow the [LangGraph guide](/docs/cloud/langgraph) for cloud-backed LangGraph Cloud integration.

## Example Repositories

- [AI SDK (standalone)](https://github.com/assistant-ui/assistant-ui/tree/main/examples/with-cloud-standalone) — Minimal `useCloudChat` setup
- [AI SDK + assistant-ui](https://github.com/assistant-ui/assistant-ui/tree/main/examples/with-cloud) — Full component integration
- [LangGraph + assistant-ui](https://github.com/assistant-ui/assistant-ui/tree/main/examples/with-langgraph) — LangGraph Cloud with persistence