The Chat Agent Smart Component adds a conversational AI interface to an application. End-users type questions and receive responses from an AI agent configured through the Build Agent. The Chat Agent can optionally accept file attachments, fill form fields on the end-user's behalf, and download transcripts. It can also answer data questions with charts and log conversations to a database. Responses stream to the end-user as the agent writes them.
![[docs-interactive-image:{"surface":"chat-agent/client-view"}] Chat Agent as an end user sees it](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/api_upload_20261118_182608_53440c9b2d364c28a8bef9c12dd4a41d.png?sv=2026-02-06&spr=https&st=2026-11-23T09%3A05%3A04Z&se=2026-11-23T09%3A29%3A04Z&sr=b&sp=r&sig=Kdjry6scjbh7rCxujXg2ImtgzJQs%2FMNo9Xotddsnip0%3D)
Creators configure the Chat Agent through the Build Agent, not by editing component properties by hand in the Module Builder.
Before You Begin
Before adding a Chat Agent to a module, confirm the following are in place:
- Access to the Build Agent in the environment.
- At least one LLM credential registered in the environment. The Build Agent lists available credentials during setup.
Create a Chat Agent Smart Component
To add a Chat Agent Smart Component to a module:
- Open the module in the Module Builder.
- Open the Build Agent.
- Describe the chat experience you want to build. Include what questions the agent should answer and any capabilities you want, like file attachments or form fill.
- The Build Agent asks which model the Chat Agent should run on. Available options are determined by the LLM credential configured in the environment.
- The Build Agent asks which capabilities to enable for the Chat Agent.
- The Build Agent creates an LLM configuration and adds the Chat Agent Smart Component to the canvas.
![[docs-interactive-image:{"surface":"chat-agent/setup"}] Chat Agent setup panel](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/api_upload_20261118_182608_aad2730a44e2490283f42f0055231876.png?sv=2026-02-06&spr=https&st=2026-11-23T09%3A05%3A04Z&se=2026-11-23T09%3A29%3A04Z&sr=b&sp=r&sig=NX2qUOFYWoilKEteinLpFMZY2mUgciPh%2F22zerH2fhw%3D)
The Build Agent asks about the following capabilities during setup: file attachments, transcript download, thinking display, form fill, generated visualizations, conversation logging, and a docked panel layout. Creators can change most of these later through the component's settings panel. Conversation logging is set on the LLM configuration (see Conversation Logging and Privacy), and the docked layout is changed by asking the Build Agent (see Appearance).
For more on working with the Build Agent, see Build Agent Reference.
Configuration
The Configuration tab in the settings panel exposes the settings below. The Build Agent configures these during initial setup.
How to read settings tables
Values are formatted as follows:
inline code— a value to type exactly as shown | Bold — a value selected from a drop-down, radio button, tab, or choice chip | ON/OFF or True/False — toggle state
Identity and Welcome
The Build Agent sets these fields during setup based on the chat experience description. They can be updated in the settings panel at any time.
| Setting | Type | Description |
|---|---|---|
| Agent Name | Text input | The display name for the AI agent. End-users see this name in the chat interface. Required. |
| Welcome Title | Text input | The heading displayed on the chat welcome screen before end-users send their first message. Required. |
| Welcome Subtitle | Text input | The subtitle displayed below the welcome title on the chat welcome screen. Required. |
LLM Connection
| Setting | Type | Description |
|---|---|---|
| LLM Config | Text input | The name of the LLM configuration that controls the agent's model, system prompt, and response settings. The Build Agent creates this configuration during setup. Enter a fixed value. The chat doesn't run for end-users when this setting is bound to a form field. |
| LLM Credential | Text input | The name of the LLM service credential registered in the environment. The chat fails to respond if this value is missing and no default credential is configured in the environment. Enter a fixed value. The chat doesn't run for end-users when this setting is bound to a form field. |
The LLM configuration holds the agent's system prompt and model settings server-side. End-users cannot access or change it. To update the prompt, model, or response tuning, ask the Build Agent to revise the configuration.
If the Chat Agent produces no response, the most common cause is a missing or unconfigured LLM credential. Confirm with the environment administrator that a credential is registered in the environment before troubleshooting the component.
See LLM Configuration Administration and LLM Credentials Administration for setup details.
AI Model Settings
The Chat Agent's model, system prompt, and response behavior are defined in an LLM configuration managed by the environment administrator in LLM Configuration Administration. The Build Agent creates this configuration automatically during Chat Agent setup. To change the agent's persona, model, or response tuning, ask the Build Agent to update the configuration. Alternatively, work with the environment administrator to edit the configuration in LLM Configuration Administration.
The LLM credential that authorizes requests to the AI provider is registered separately in LLM Credentials Administration. At least one credential must be registered in the environment before a Chat Agent can respond. Supported vendors: Google Vertex AI, Amazon Bedrock, Microsoft Azure OpenAI, and Anthropic.
Each Chat Agent instance is connected to a single LLM credential and model. It cannot switch vendors or models during a conversation. Multiple Chat Agents in the same application can each use a different LLM config, credential, and vendor.
Capabilities
The settings panel displays only the capabilities selected during Build Agent setup. All capabilities can be toggled on or off at any time from the settings panel, regardless of what was chosen during setup.
| Setting | Field | Type | Default | Description |
|---|---|---|---|---|
| Enable File Attachments | enableFileAttachments |
Toggle | False | When set to True, this setting adds a file attachment button and drag-and-drop support to the chat input. End-users can attach supported files to their messages. See File Attachment Limits for accepted types and size constraints. |
| Enable Chat Download | enableChatDownload |
Toggle | False | When set to True, this setting adds a download button to the chat navbar. End-users can download the visible conversation as a Markdown file. |
| Enable Thinking Display | enableThinkingDisplay |
Toggle | False | When set to True, this setting shows the AI model's reasoning steps in the chat before the final response. Reasoning is hidden by default. |
| Enable Form Writes | enableFormWrites |
Toggle | False | When set to True, this setting lets the agent fill form fields in the module on the end-user's behalf. The agent can set component values and attach files to components when asked. |
| Enable Generated Visualizations | enableGeneratedWidgets |
Toggle | False | When set to True, this setting lets the agent answer a data question with a chart in the conversation. See Generated Visualizations. |
The agent cannot submit the form. End-users review the populated values and submit as usual.
The settings panel can display Conversation Logging (deprecated) and Audit Submissions Module ID (deprecated) on a Chat Agent that has them set. A Chat Agent with either setting no longer writes conversation logs, because conversation logging is set on the LLM configuration. To keep logging, set the Conversation audit module field on the LLM configuration. See Conversation Logging and Privacy.
Generated Visualizations
Generated visualizations let the Chat Agent answer a data question with a chart. The end-user sees the chart in the conversation, followed by a short written summary. For example, an end-user who types "Chart sales by region for 2026" receives a bar chart of sales for each region.

Turn On Generated Visualizations
Generated visualizations are off by default. To turn them on:
-
Select the Chat Agent Smart Component in the module.
-
In the settings panel, open the Configuration tab.
-
Set Enable Generated Visualizations to True.

The Build Agent also asks about generated visualizations when it sets up a Chat Agent. When the setting is False, the agent answers in text only, and end-users see no chart and no message about it.
How Charts Work
- Chart types: The agent can create area, bar, line, pie, radar, radial bar, scatter, and combined charts. It can also draw box-and-arrow diagrams. Free-form drawings are not available.
- Data: The values in a chart come from the same approved API modules the agent uses for written answers. A chart needs the same data access as a text answer. See Data Access.
- Single answers: The agent answers a question with one value, like a total, in text instead of with a chart.
- Saving: A chart exists only in the conversation where the end-user asked for it. The platform does not save it.
- Failed charts: If a chart fails to display, the agent tries again. After two failed attempts in one reply, the agent answers in text and says it could not display the chart.
The agent writes the chart's display code while it answers. The platform checks that code on the server, and it then runs in the end-user's browser. Turn on generated visualizations only when the chat experience calls for charts.
The quality of a chart depends on the AI model the Chat Agent uses. Some models write chart code that fails more often, which leads to more text-only answers. After turning on generated visualizations, ask several chart questions with the chosen model. If charts fail often, ask the Build Agent to change the model in the Chat Agent's LLM configuration.
When conversation logging is on, the log can include the data a chart displays. Apply the organization's encryption and retention standards to stored conversations. See Conversation Logging and Privacy.
Appearance
The Appearance tab controls the color scheme for the Chat Agent.
| Setting | Type | Description |
|---|---|---|
| Theme Mode | Drop-down | Sets the color scheme for this component. Options include: Light, Dark, or System (follows the end-user's device preference). |
The Chat Agent's position in the module is determined by the Build Agent during setup, not through a component setting. The Build Agent can place the Chat Agent as a drawer at the edge of the viewport or inline in the form. To change placement, ask the Build Agent to update the configuration.
Data
The Data tab sets how the Chat Agent stores data in the module.
| Setting | Type | Default | Description |
|---|---|---|---|
| Store Data in Database | Toggle | OFF | When set to ON, this setting saves the component's key-value data to the database when the module is submitted. |
Store Data in Database saves the component's field value as part of the module submission. This is separate from conversation logging, which saves full conversation transcripts as submissions in the module set on the LLM configuration.
File Attachment Limits
When Enable File Attachments is True, end-users can attach the following file types to their messages.
| Limit | Value |
|---|---|
| Accepted file types | PNG, JPEG, GIF, WEBP, PDF, TXT, MD, JSON, LOG, XML, YAML, CSV, TSV |
| Per-file size limit | 3 MB |
| Conversation total size limit | 3 MB |
| PDF page limit | 100 pages |
| Text character limit per conversation | 500,000 characters |
Files that exceed these limits are rejected before they reach the agent.
The agent reads file content during the session. File bytes are not stored by the platform after the session ends.
Data Access
The Chat Agent automatically reads component data from the module in which it is placed. No configuration is required. During an end-user session, the agent can read the current value, label, and state of every component in the module.
The agent does not have access to the following by default:
- Past submissions from the same end-user or other end-users.
- Data from modules outside the current screen.
- The module's configuration or structure.
The agent cannot make direct requests to external systems. MCP Connectors work only with the Build Agent, so they do not give the Chat Agent access to outside systems. To connect an external API, build a Unqork module that proxies the external service. Then instruct the Build Agent to use that module when answering relevant questions. The agent selects which API module to call based on end-user intent and the instructions in its system prompt.
If a use case requires the agent to answer questions about submitted records, previous sessions, or data from another module, the application team must expose that data through API modules.
Creators are responsible for verifying that any backend data access module generated by the Build Agent implements the correct filtering, access controls, and input validation. The Build Agent generates the module structure, but data security must be confirmed through standard testing before deploying to end-users.
Conversation Logging and Privacy
Conversation logging saves each conversation as a submission in a module the Creator chooses. Logging is off by default. It is configured on the LLM configuration instead of the component, so end-users cannot turn logging on or change where their conversations are stored.
To turn on conversation logging, set Conversation audit module on the Chat Agent's LLM configuration to the module that stores the logs. Ask the Build Agent to set it, or edit the configuration in LLM Configuration Administration. To turn logging off, choose Don't record conversations. The setting applies to every Chat Agent that uses the same LLM configuration.
When conversation logging is on, every end-user message and every agent response is stored as a submission. This includes the full text of each conversation. Evaluate privacy requirements and applicable data regulations before enabling logging.
Each conversation is stored as one submission that updates after every turn. The log includes the agent's tool activity, so it can contain form values the agent read or wrote and data returned by API modules. When a turn fails, the log records the failure in place of a response. When the end-user stops a turn or leaves the page before the reply finishes, the log notes that the turn was stopped. Agent reasoning, the system prompt, and attached file contents are not stored.
Logs are written as the end-user who is chatting. The audit module must grant that end-user's role permission to create and update submissions. If the module uses field-level permissions, it also requires persistent Hidden components with the keys sessionId, startedAt, updatedAt, and transcript. Otherwise, the submissions are saved empty.
Logs are stored as submissions in the audit module. Set retention for that module according to the organization's policy.
Changelog
| Date | Change |
|---|---|
| 2026-11-18 | Renamed the LLM Configs Administration links to LLM Configuration Administration and LLM Config to LLM configuration in prose. Corrected the LLM Credential setting description. |
| 2026-11-16 | Reworded the streaming description. Clarified that the logging settings on a Chat Agent are deprecated and that Conversation audit module on the LLM Config replaces them. Removed the error code detail and added a retention reminder to Conversation Logging and Privacy. |
| 2026-11-12 | Added a Generated Visualizations section that covers the setting, chart types, data sources, and the text fallback. Added a model reliability tip. Capabilities settings now show the False and True values the settings panel displays. |
| 2026-11-06 | Noted that MCP Connectors work only with the Build Agent. |
| 2026-10-22 | Documented that a failed turn is logged, and that a stopped turn is marked. |
| 2026-10-20 | Conversation audit module is picked from a module search instead of typed as an ID. |
| 2026-10-09 | Conversation logging is now set on the LLM Config's Conversation audit module field; removed the deprecated component settings and the host-module fallback; corrected what the log stores; added audit module permission requirements; documented Enable Generated Visualizations and the full list of setup capabilities; LLM Config and LLM Credential must be fixed values. |
| 2026-09-04 | Fixed all internal link paths to include /public/; POV fixes (You → Creators, your → omitted); "within" → "in"; "user intent/user-visible" → end-user equivalents; split two long sentences in Data Access section. |
| 2026-08-28 | Renamed the Block Appearance tab to Appearance, matching the settings panel. |
| 2026-08-27 | Added SSE streaming note to intro; added supported vendors and single-LLM-per-instance to AI Model Settings; corrected Data Access external systems bullet (proxy pattern); added creator data security responsibility note; fixed POV violation. |
| 2026-08-20 | Added Data Access section; documented Form Writes submission boundary, file byte storage behavior, placement behavior, and LLM credential troubleshooting tip. |
| 2026-08-17 | Initial publication. |