AI Integration Quick Reference
AI Integration Quick Reference
Overview
The AI plugin handles messages in theagentic category. It renders three types of AI-generated content:
- Assistant messages — completed AI responses with markdown formatting
- Tool call arguments — JSON display of arguments passed to a tool
- Tool results — JSON display of results returned by a tool
- Streaming messages — real-time streaming bubble while the AI is generating a response

Installation
The AI plugin is NOT included in the default plugins. Add it explicitly:Message Types
Bubble Rendering
Assistant Bubble
Renders the AI response with full markdown support (headings, lists, code blocks, bold, italic, links). UsesCometChatAIAssistantBubble.
Streaming Bubble
Shows a real-time streaming animation while the AI is generating. Connects to the streaming service keyed bychatId. Uses CometChatStreamMessageBubble.