# Overview
URL: /docs/api-reference/runtimes

Runtime action and state references used by useAui and useAuiState.

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

{/* Do not edit manually. */}

Runtime state pages document the objects exposed through `useAui` and `useAuiState`. Use this section when you need to control assistant-ui programmatically or inspect the exact state available in a context.

## Pages \[#pages]

<Cards>
  <Card title="&#x22;AssistantRuntime&#x22;" href="&#x22;/docs/api-reference/runtimes/assistant-runtime&#x22;">
    {"Root runtime for managing threads, tool UIs, and assistant state."}
  </Card>

  <Card title="&#x22;AttachmentRuntime&#x22;" href="&#x22;/docs/api-reference/runtimes/attachment-runtime&#x22;">
    {"Hooks for accessing attachment state in composer and messages."}
  </Card>

  <Card title="&#x22;ComposerRuntime&#x22;" href="&#x22;/docs/api-reference/runtimes/composer-runtime&#x22;">
    {"Runtime for programmatically controlling the message composer."}
  </Card>

  <Card title="&#x22;MessagePartRuntime&#x22;" href="&#x22;/docs/api-reference/runtimes/message-part-runtime&#x22;">
    {"Hook for accessing message part state within parts."}
  </Card>

  <Card title="&#x22;MessageRuntime&#x22;" href="&#x22;/docs/api-reference/runtimes/message-runtime&#x22;">
    {"Hooks for accessing message state and edit composer."}
  </Card>

  <Card title="&#x22;ThreadListItemRuntime&#x22;" href="&#x22;/docs/api-reference/runtimes/thread-list-item-runtime&#x22;">
    {"Runtime for managing individual thread list items."}
  </Card>

  <Card title="&#x22;ThreadListRuntime&#x22;" href="&#x22;/docs/api-reference/runtimes/thread-list-runtime&#x22;">
    {"Runtime for accessing and managing the list of threads."}
  </Card>

  <Card title="&#x22;ThreadRuntime&#x22;" href="&#x22;/docs/api-reference/runtimes/thread-runtime&#x22;">
    {"Runtime for thread state, messages, and viewport management."}
  </Card>
</Cards>
