Overview
The Google Chat channel connects ArgentOS to Google Workspace Chat, enabling your agent to communicate through Google’s enterprise messaging platform. The integration uses the Google Chat API with HTTP webhook delivery.Capabilities
| Feature | Supported |
|---|---|
| Direct messages | Yes |
| Group conversations | Yes |
| Threaded replies | Yes |
| Reactions | Yes |
| Media attachments | Yes |
| Streaming | Block streaming (coalesced delivery) |
| Native slash commands | No |
Google Chat messages are limited to 4,000 characters per message. ArgentOS automatically splits longer responses into multiple messages.
Setup
Create a Google Chat App
- Go to the Google Cloud Console
- Create or select a project
- Enable the Google Chat API
- Navigate to APIs & Services > Google Chat API > Configuration
- Configure the Chat app:
- App name: Your agent’s name (e.g., “Argent”)
- Avatar URL: Optional agent avatar
- Description: Brief description of your agent
- Functionality: Enable both “Receive 1:1 messages” and “Join spaces and group conversations”
- Connection settings: Select “HTTP endpoint URL”
- HTTP endpoint URL: Your gateway’s public webhook URL
Multi-Account Configuration
For multiple Google Chat app instances:Threading
Google Chat supports threaded conversations. Configure the reply-to mode:| Mode | Behavior |
|---|---|
off | Replies are sent as new messages (default) |
always | Replies are always threaded |
auto | Thread when the original message is in a thread |
Group Conversations
Mention Requirements
In group conversations, you can require that the agent be mentioned before it responds:Tool Policy
Control which tools are available in group conversations:| Policy | Description |
|---|---|
full | All tools available |
restricted | Limited tool set for group safety |
none | No tools in group conversations |
Block Streaming
Google Chat uses block streaming mode — the agent collects its full response before sending, rather than streaming tokens incrementally. This is due to Google Chat API limitations on message editing frequency.
Aliases
The Google Chat channel ID can be referenced by any of these aliases:googlechat(canonical)google-chatgchat
Troubleshooting
Agent Not Responding
Agent Not Responding
- Verify the HTTP endpoint URL is reachable from Google’s servers
- Check that the user’s ID is in the
allowFromlist - Verify the Google Chat API is enabled in your Cloud Console
- Check gateway logs for incoming webhook events
Messages Not Threading
Messages Not Threading
- Verify
replyToModeis set toalwaysorauto - Ensure the original message is in a thread (for
automode) - Check that the thread ID is being passed correctly in the webhook payload
Group Mention Issues
Group Mention Issues
- Verify
requireMentionis configured correctly - Ensure users are mentioning the Chat app by its configured name
- Check that the mention detection is parsing the Google Chat mention format
