Skip to main content

Getting started with chat components

Learn how to use chat components to interact with large-language models and Retool Agents.

Retool provides two components that allow you to interact with AI in a chat-style interface:

The following tabs outline the differences between the chat types.

To enable comments and discussion between users of your app, choose the Comment Thread component instead.

Use the Agent Chat component to enable users to chat with one of your agents. When you add Agent Chat to your canvas, Retool generates an Invoke Agent query that allows you to select the agent you want to call, with no additional configuration needed. Messages to Agent Chat with questions or requests trigger a run of your selected agent.

Agent Chat configuration.