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 web

What 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.rb

Connect 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.