assistant-ui logo/Docs/API Reference
Runtimes

Runtime State API Reference

Runtime state and actions exposed through useAui and useAuiState, covering AssistantRuntime, ThreadRuntime, ThreadListRuntime, ComposerRuntime, MessageRuntime, and attachment APIs for controlling assistant-ui chat.

Runtime state is the typed control surface behind assistant-ui. These pages document the actions and state objects available through useAui, useAuiState, and scoped runtimes.

Pages