AgentComputerScaffold

@Composable
fun AgentComputerScaffold(state: AgentComputerState, messages: List<Message>, modifier: Modifier = Modifier, layout: AgentComputerLayout = AgentComputerLayout.Auto, content: @Composable () -> Unit)(source)

Lays out content (a conversation) with the agent's computer view of state: by default (AgentComputerLayout.Auto) a side pane next to it when there is room (at least 720dp, as Material 3's supporting pane on expanded widths), a bottom sheet otherwise. The width is the scaffold's own, so it adapts inside a list–detail layout too; an app that has an adaptive scaffold of its own hosts the panel there (AgentComputerLayout.Hosted).