Skip to main content
The Chat component provides a conversational interface for users to interact with AI agents. It supports real-time messaging, context-aware responses, and direct integration with your business processes.

Overview

Real-time messaging

Instant responses with streaming support

AI agent integration

Connect to custom agents or FlowX accelerators

Session management

Persistent conversations across sessions

Knowledge base access

Context-aware responses from your data

How it works

The Chat component follows a simple flow:
1

User initiates chat

User opens your application and the Chat component loads with a welcome message.
2

Message exchange

User sends a message. The component sends it to the configured AI agent workflow.
3

Agent processing

The agent processes the message, optionally querying knowledge bases or external systems.
4

Response delivery

The agent’s response streams back to the user in real-time.

Key concepts

Agent workflows

The Chat component connects to an agent workflow that defines how messages are processed:
  • Input handling - How user messages are received
  • AI processing - Which models and prompts are used
  • Knowledge access - What data sources the agent can query
  • Response generation - How responses are formatted

Session persistence

Conversations can be persisted to maintain context:
ModeDescriptionUse case
Session-basedConversation lasts for browser sessionQuick queries, support
PersistentConversation saved to databaseOngoing cases, history
Process-linkedTied to a specific process instanceGuided workflows

Knowledge base integration

Agents can access knowledge bases for informed responses:
  • RAG (Retrieval-Augmented Generation) - Agent searches relevant documents before responding
  • Semantic matching - Finds conceptually similar content, not just keyword matches
  • Source attribution - Responses can cite their sources
Knowledge base integration requires configuration in the agent workflow. See Knowledge Base Overview for setup details.

Display modes

The Chat component supports different display modes:
ModeDescription
StandaloneFull-page chat experience
EmbeddedChat panel within a larger UI
FloatingExpandable chat button overlay

Best practices

Use the welcome message to explain what the agent can help with. This reduces user frustration from mismatched expectations.
Pass relevant process data to the agent (user info, current step, etc.) so responses are contextually appropriate.
Configure fallback responses for when the agent can’t help. Offer escalation to human support when needed.
Test the chat experience on mobile devices. Ensure the interface works well with on-screen keyboards.

Implementation

For detailed configuration and styling options, see the UI Designer documentation:

Chat component configuration

Complete configuration reference for the Chat UI component
Last modified on February 12, 2026