---
title: AI SDK RSC
description: Reference documentation for the AI SDK RSC
url: "https://ai-sdk.dev/docs/reference/ai-sdk-rsc"
docs_index: /llms.txt
---

> For an index of all documentation, see [/llms.txt](/llms.txt).

AI SDK RSC is currently experimental. We recommend using [AI SDK
UI](/docs/ai-sdk-ui/overview) for production. For guidance on migrating from
RSC to UI, see our [migration guide](/docs/ai-sdk-rsc/migrating-to-ui).

#### [streamUI](/docs/reference/ai-sdk-rsc/stream-ui)

Use a helper function that streams React Server Components on tool execution.

#### [createAI](/docs/reference/ai-sdk-rsc/create-ai)

Create a context provider that wraps your application and shares state between the client and language model on the server.

#### [createStreamableUI](/docs/reference/ai-sdk-rsc/create-streamable-ui)

Create a streamable UI component that can be rendered on the server and streamed to the client.

#### [createStreamableValue](/docs/reference/ai-sdk-rsc/create-streamable-value)

Create a streamable value that can be rendered on the server and streamed to the client.

#### [getAIState](/docs/reference/ai-sdk-rsc/get-ai-state)

Read the AI state on the server.

#### [getMutableAIState](/docs/reference/ai-sdk-rsc/get-mutable-ai-state)

Read and update the AI state on the server.

#### [useAIState](/docs/reference/ai-sdk-rsc/use-ai-state)

Get the AI state on the client from the context provider.

#### [useUIState](/docs/reference/ai-sdk-rsc/use-ui-state)

Get the UI state on the client from the context provider.

#### [useActions](/docs/reference/ai-sdk-rsc/use-actions)

Call server actions from the client.

---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)