Package:
@hexos/react-uiFull-featured chat window component for agent conversations.
Orchestrates the complete chat interface including message history, input composer, streaming indicators,
agent status display, and handoff transitions. Connects to the agent runtime via the useAgent hook
from @hexos/react-core.
The component manages error display, empty states, and suggestion chips for initial user engagement. Supports both standalone usage with a direct AgentConfig or integration with an AgentProvider.
Multi-agent features include agent badges, status bars, and handoff indicators. The streaming state automatically disables input and shows visual feedback.
Related components: MessageList, InputComposer, StreamingIndicator, AgentStatusBar
Example
<ChatWindow
config={{ endpoint: '/api/agent/chat' }}
showReasoning
showAgentBadges
suggestions={['Hello', 'Help me with...']}
/>function ChatWindow(props: ChatWindowProps): React.ReactElementParameters