Skip to main content
Implement agentic message flows in your Flutter app using CometChat V6 UIKit. This guide covers how to integrate AI-powered message handling with the chat interface.

Overview

The Message Agentic Flow feature enables AI-driven interactions within your chat application. In V6, AI features are handled through MessageTemplateUtils rather than explicit extension registration.
1:1 and group conversations. AI Agents work in both one-on-one and group conversations. In a 1:1 chat, the end user talks directly with the agent user. In a group, the agent participates as a member — the UI Kit renders and attributes agent-generated messages (including cards) like any other member’s message.

Integration

Enable AI Features

Ensure AI features are enabled on your CometChat Dashboard. V6 handles AI integration internally.

Custom AI Message Handling

AI Assistant Chat History

Use the CometChatAIAssistantChatHistory widget to display past AI interactions:

Key V6 Differences