AI Chat Bots
Better Messages allows you to create AI-powered chat bots using multiple AI providers: OpenAI, Anthropic (Claude), and Google Gemini.
How it works
AI bots appear as regular users in the messaging interface. When a user sends a message to a bot, the message is processed through the selected AI provider and a response is generated. Each bot can be configured with its own provider, model, system instructions, and specific capabilities. In group conversations, bots respond when mentioned with @botname.
Key capabilities
- Multiple AI providers — choose between OpenAI, Anthropic (Claude), and Google Gemini per bot
- Create multiple AI bots with different personalities and purposes
- Custom system prompts to define bot behavior and knowledge
- Per-bot settings — each bot can have its own provider, model selection, and API key override
- Web search — bots can search the web for current information
- File search — bots can search through uploaded knowledge base files (OpenAI)
- Image generation — bots can generate images (OpenAI, Gemini)
- Real-time response streaming in conversations
- Group conversation support — add bots to group conversations, bots respond when mentioned with @botname
- Conversation summarization — AI-generated summaries of conversation history, configurable per thread
- Scheduled digests — AI-generated conversation digests on a schedule (hourly, twice daily, daily), configurable per thread
- Token usage tracking — per-bot token usage tracking with cost estimation
- Points charging — charge users MyCred or GamiPress points for AI responses
- Online presence — bots appear as online users (WebSocket version)
- Typing indicators — bots show a typing indicator while generating responses (WebSocket version)
- E2E encryption exclusion — bots are automatically excluded from end-to-end encrypted conversations
- Dedicated admin page for bot management
How to enable
Step 1: Configure your AI provider API keys at WP Admin → Better Messages → Settings → Integrations.
- OpenAI — Enter your API key from platform.openai.com
- Anthropic — Enter your API key from console.anthropic.com
- Google Gemini — Enter your API key from aistudio.google.com
You only need to configure the providers you plan to use.
Step 2: Create and configure bots at WP Admin → Better Messages → AI Bots.
- Click Add New to create a bot
- Set the bot's display name and avatar
- Select the AI provider and model
- Write a system prompt defining the bot's personality and instructions
- Enable desired capabilities (web search, file search, image generation — availability depends on provider)
- Optionally override the global API key with a per-bot key
- Configure points charging, summarization, and digest settings as needed
- Publish the bot
Write detailed system prompts for your bots. The more specific the instructions, the better the bot will perform for your specific use case.