Skip to content
Binary UIKit reference Stable

AgentResponse

Assistant result with consumer-rendered content, streaming state, sources, actions, and follow-up prompts.

Render and sanitize response content in application code. Place sources beside the claims they support. Label every supplied source, action, and follow-up collection. Announce completed semantic chunks, not each streamed token.

Interactive example

Loading interactive example

API

MemberTypeKindRequiredDefault
actionsreadonly AgentResponseAction[] | undefinedpropNo[]
actionsLabelstringpropNoundefined
announcementstringpropNoundefined
contentSnippetsnippetYes
followupsreadonly AgentResponseFollowup[] | undefinedpropNo[]
followupsLabelstringpropNoundefined
labelstringpropYes
onSourcesOpenChange(open: boolean) => voidcallbackNoundefined
responseIdstringpropYes
sourcesreadonly AgentSource[] | undefinedpropNo[]
sourcesLabelstringpropNoundefined
sourcesOpenbooleanbindingNofalse
streamingbooleanpropNofalse
streamingLabelstringpropNoundefined

Examples

Source

Loading source