AgentRuntimeChatProps
Agent Runtimes / agents/AgentRuntimeChat / AgentRuntimeChatProps
Interface: AgentRuntimeChatProps
Defined in: src/agents/AgentRuntimeChat.tsx:39
Props for AgentRuntimeChat.
Properties
agentConfig?
optionalagentConfig?:Partial<AgentConfig>
Defined in: src/agents/AgentRuntimeChat.tsx:73
Override the agent config used when creating the agent.
agentSpecId
agentSpecId:
string
Defined in: src/agents/AgentRuntimeChat.tsx:41
Agentspec id to launch, e.g. gallery-analyze-excel-spreadsheet.
brandIcon?
optionalbrandIcon?:ReactNode
Defined in: src/agents/AgentRuntimeChat.tsx:45
Custom brand icon rendered in the header / empty state.
description?
optionaldescription?:string
Defined in: src/agents/AgentRuntimeChat.tsx:47
Description shown in the empty state.
height?
optionalheight?:string|number
Defined in: src/agents/AgentRuntimeChat.tsx:51
Chat height (default: 100% so it fills the enclosing box).
launch?
optionallaunch?:boolean
Defined in: src/agents/AgentRuntimeChat.tsx:61
When false, the runtime is not launched and the chat renders in a disabled launching state. Useful for anonymous users who must sign in first.
Default
true
onRuntimeChange?
optionalonRuntimeChange?: (runtime) =>void
Defined in: src/agents/AgentRuntimeChat.tsx:75
Optional callback invoked when runtime connection state changes.
Parameters
runtime
AgentConnection | null
Returns
void
overlay?
optionaloverlay?:ReactNode
Defined in: src/agents/AgentRuntimeChat.tsx:55
Optional overlay rendered above the (disabled) chat, e.g. a sign-in gate.
protocol?
optionalprotocol?:Protocol
Defined in: src/agents/AgentRuntimeChat.tsx:49
Transport protocol (default: vercel-ai).
showHeader?
optionalshowHeader?:boolean
Defined in: src/agents/AgentRuntimeChat.tsx:69
Show the chat header (default: true).
showModelSelector?
optionalshowModelSelector?:boolean
Defined in: src/agents/AgentRuntimeChat.tsx:63
Show the model selector control (default: true).
showPoweredBy?
optionalshowPoweredBy?:boolean
Defined in: src/agents/AgentRuntimeChat.tsx:71
Show the "powered by" tag (default: false).
showSkillsMenu?
optionalshowSkillsMenu?:boolean
Defined in: src/agents/AgentRuntimeChat.tsx:67
Show the skills menu control (default: true).
showToolsMenu?
optionalshowToolsMenu?:boolean
Defined in: src/agents/AgentRuntimeChat.tsx:65
Show the tools menu control (default: true).
suggestions?
optionalsuggestions?:Suggestion[]
Defined in: src/agents/AgentRuntimeChat.tsx:53
Suggestion chips shown in the empty state.
title?
optionaltitle?:string
Defined in: src/agents/AgentRuntimeChat.tsx:43
Human-friendly title shown in the chat header.