Channel � HTTP API

HTTP API agents, the Rails way.

Turn any agent into a versioned HTTPS endpoint. Streaming and non-streaming, signed with an API key, rate-limited per environment.

One command to install

From the CLI or the agent detail page in your dashboard. We scaffold channels/api.rb, handle OAuth or token exchange, and wire the channel into your agent's chat loop.

# in your Rails app
rails agent channels:add api

What you get out of the box

  • POST /agents/:name/run — streaming or blocking.
  • Signed API keys per environment with rotation in the dashboard.
  • OpenAPI schema generated from your tools.

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/api.rb

Connect HTTP API in one click

Open your agent in the dashboard, hit Channels, pick the one you want. Auth, hosting and delivery are on us.