Channel � Web Chat
Web Chat agents, the Rails way.
A single script tag drops a beautiful, streaming chat widget on your marketing site or in-app. Themed, mobile-friendly and hosted from your domain.
One command to install
From the CLI or the agent detail page in your dashboard. We scaffold channels/web.rb, handle OAuth or token exchange, and wire the channel into your agent's chat loop.
# in your Rails app
rails agent channels:add webWhat you get out of the box
- One <script> tag. Streams tokens over SSE with retries built in.
- Themeable via CSS variables. Works with Turbo and Hotwire.
- Anonymous or authenticated — auth flows through your existing Devise or Rails session.
Folder-native, like the rest of Rails Agent
Channels live inside your agent's directory alongside agent.rb, tools/ and knowledge/. Read the whole thing in a minute. Delete a file to remove the channel.
app/agents/support/
??? agent.rb
??? tools/
??? knowledge/
??? channels/web.rbConnect Web Chat in one click
Open your agent in the dashboard, hit Channels, pick the one you want. Auth, hosting and delivery are on us.
Keep reading
Slack agents →
Talk to your agent in any channel or DM.
Discord agents →
Ship a Discord bot without gateway servers.
Google Chat agents →
Agents that live in Google Workspace.
Microsoft Teams agents →
Enterprise chat, one command away.
WhatsApp agents →
Reach customers where they already are.
HTTP API agents →
Every agent is a JSON endpoint.
All channels →
Browse every channel Rails Agent supports.
