# Overview
URL: /docs/api-reference/context-providers

Context providers that establish assistant-ui runtime and message-part scopes.

{/* AUTO-GENERATED by scripts/generate-api-reference-overviews.mts */}

{/* Do not edit manually. */}

Context providers establish the scopes that primitives and hooks read from. Most apps only use `AssistantRuntimeProvider` directly; lower-level providers are for custom renderers and advanced composition.

## Pages \[#pages]

<Cards>
  <Card title="&#x22;<AssistantRuntimeProvider />&#x22;" href="&#x22;/docs/api-reference/context-providers/assistant-runtime-provider&#x22;">
    {"Root provider that connects your runtime to assistant-ui components."}
  </Card>

  <Card title="&#x22;<TextMessagePartProvider />&#x22;" href="&#x22;/docs/api-reference/context-providers/text-message-part-provider&#x22;">
    {"Context provider for reusing text components outside of message content."}
  </Card>
</Cards>
