> ## Documentation Index
> Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Smart Chat Features

> AI conversation starters, smart replies, conversation summaries and AI-agent chats in the CometChat iOS UI Kit v6.

> [accordion] AI Integration Quick Reference
>
> | Field | Value |
> | - | - |
> | Products | `CometChatSwiftUI` (SwiftUI) or `CometChatUIKit` (UIKit) |
> | Required setup | `CometChatSession.initialize(appID:region:)` then `CometChatSession.login(uid:authKey:)`, plus the AI features enabled in the [CometChat Dashboard](https://www.cometchat.com/docs/fundamentals/ai-user-copilot/overview.md) |
> | AI features | Conversation Starter, Smart Replies, Conversation Summary, AI-agent chats (streamed replies) |
> | Key component | [Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md) — all three panels and the agent chat |
> | Activation | Enable each feature in the dashboard **and** turn it on per list. SwiftUI: `enableConversationStarter`, `enableSmartReplies`, `enableConversationSummary` — all off by default. UIKit: `enableConversationStarters`, `enableSmartReplies` — off by default — and `enableConversationSummary`, which is **on** by default |
> | Related | [Core Features](https://www.cometchat.com/docs/ui-kit/ios/v6/core-features.md), [Extensions](https://www.cometchat.com/docs/ui-kit/ios/v6/extensions.md), [AI Agent Guide](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-ai-agent.md) |

CometChat's AI features help users start, answer and catch up on conversations. In the iOS UI Kit all three
live in the [Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md). Each is **off by default** — except the UIKit list's Conversation
Summary, which is on: enable the feature in your dashboard, then turn it on for the list.

> [tab] SwiftUI
>
> ```swift theme={null}
> CometChatMessageList(
>     user: user,
>     enableConversationStarter: true,
>     enableSmartReplies: true,
>     enableConversationSummary: true
> )
> ```

> [tab] UIKit
>
> ```swift theme={null}
> messageList.enableConversationStarters = true
> messageList.enableSmartReplies = true
> // enableConversationSummary is already true on the UIKit list; set it to false to turn it off
> ```

The panels appear only in the main list, never in a thread, and not in a chat with an AI agent.

## Conversation Starter

When a user opens a chat with no messages yet, the list suggests opening lines powered by CometChat's AI. A
tap puts the line in the composer, ready to edit and send.

See [Conversation Starter](https://www.cometchat.com/docs/fundamentals/ai-user-copilot/conversation-starter.md) to enable it for your app.

## Smart Replies

Smart Replies are AI-suggested answers to the last incoming text message. They appear above the composer a
moment after the message arrives — 10 seconds by default — and a tap puts the reply in the composer.

See [Smart Replies](https://www.cometchat.com/docs/fundamentals/ai-user-copilot/smart-replies.md) to enable it for your app.

![Smart replies over the bottom of the list: a Smart Replies title, a close button and three suggested replies](https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-messageListSmartReplies.png?fit=max\&auto=format\&n=pWDsskjSUHgot30F\&q=85\&s=5f89b0569ded4deaa69779d60f92ed1a)

In SwiftUI, `smartRepliesKeywords` limits them to messages that contain one of your keywords, and
`smartRepliesDelayDuration` sets the delay in milliseconds.

## Conversation Summary

The Conversation Summary condenses a long stretch of unread messages so a user can catch up quickly. The
list shows it at the top when a chat opens with more unread messages than its threshold — 30 by default,
`unreadMessageThreshold`. The list asks for it only when it opens at the first unread message
(`startFromUnreadMessages`, off by default), so on UIKit, where `enableConversationSummary` is on by default,
a list left at its defaults never calls the AI. If the summary is not enabled for your app, the panel shows its
error state instead.

See [Conversation Summary](https://www.cometchat.com/docs/fundamentals/ai-user-copilot/conversation-summary.md) to enable it for your app.

## AI Agent Chats

A user whose role is `@agentic` is an AI agent, and a chat with one changes shape — with no code:

* the empty chat shows the agent's greeting, introduction and suggested messages; a tap on a suggestion
  puts it in the composer;
* the agent's reply **streams** in — a thinking indicator, then text as it arrives, then the finished
  reply rendered as markdown and cards;
* the header says "AI Assistant" under the agent's name;
* there is no long-press menu, no swipe to reply and no reactions.

![An empty chat with an AI agent named Nova: its avatar, the greeting Hi, I'm Nova, an introduction and four suggested-message chips](https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-messageListAgentGreeting.png?fit=max\&auto=format\&n=pWDsskjSUHgot30F\&q=85\&s=5859a4ed117d870e478fdafb75388c20)

An agent's greeting

![The message composer in a chat with an AI agent](https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-composerAgent.png?fit=max\&auto=format\&n=pWDsskjSUHgot30F\&q=85\&s=bc507484e2fac52b12107c8a4d95c40e)

The composer in an agent chat

See the [AI Agent guide](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-ai-agent.md) to build a chat with an agent.

> [!NOTE]
>
> There is no AI action sheet in the composer. The UIKit composer's AI button is hidden by default
> (`hideAIButton`), and a tap on it only calls your `onAIClick`; the SwiftUI composer never shows one.

***

## Next Steps

> [card] [Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md)
>
> Every AI panel's style and view slot

> [card] [AI Agent Guide](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-ai-agent.md)
>
> Build a chat with an AI agent

> [card] [Core Features](https://www.cometchat.com/docs/ui-kit/ios/v6/core-features.md)
>
> Chat features included out of the box

> [card] [Extensions](https://www.cometchat.com/docs/ui-kit/ios/v6/extensions.md)
>
> Stickers, polls, collaborative tools and more


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.