Skip to content
Docs
GitHub

Channels

Expose an Agent to Slack, AG-UI clients, A2A agents, FCP callers, and Public Chat visitors through Agent-owned channels, each with its own lifecycle and auth.

15 min readEdit on GitHub

Applies toFramework (not available)Self-hostedEverruns Demo

A channel is an Agent-owned way for an external caller to reach that Agent and get a reply. Each channel belongs to exactly one Agent and has its own transport configuration, authentication, session routing, and publish state. One Agent can have several channels, and publishing or unpublishing one does not change the others.

Use a channel when an external peer sends a request and waits for a reply. Use an Agent trigger when a schedule or event starts Agent work without a reply channel.

How work enters an Agent: channels (Slack, AG-UI, A2A, FCP, Public Chat) route a caller's message to the Agent and return its reply; triggers (schedule, webhook, GitHub, MCP events) send a configured message with no reply channel. Either way the message lands in a session and the turn runs on the Agent's Harness.

Agent Channel Architecture

Type channel_type Who calls it Canonical route Guide
Slack slack Slack users, through a Slack app /v1/channels/{channel_id}/slack/events Slack
AG-UI ag_ui Browser and app clients that speak the AG-UI protocol /v1/channels/{channel_id}/ag-ui AG-UI
A2A a2a Other agents, over the A2A protocol /v1/channels/{channel_id}/a2a A2A
FCP fcp Any HTTP client, text in and text out /v1/channels/{channel_id}/fcp FCP
Work Chat work_chat Signed-in consumers using a dedicated work interface /v1/channels/{channel_id} Work Chat
Public Chat public_chat Visitors to a hosted chat website for one Agent /v1/channels/{channel_id}/public-chat Public Chat
Voice voice People talking from a browser or app, over WebRTC /v1/agents/{agent_id}/channels/{channel_id}/voice/calls Voice
Agent API api Your own code, with an agent key /v1/channels/{channel_id} Agent API
Poppy poppy People’s own agents, over the Personal Agent Protocol /v1/channels/{channel_id}/poppy Poppy

Routes are relative to the API base, for example https://your-everruns-host/api. The channel ID in each route is the channel’s own ID, not the Agent’s.

Files received through Slack, AG-UI and A2A remain available to the Agent in its session. Opening a stored file’s /v1/files/{file_id} URL downloads its bytes instead of rendering it on the application’s origin. This endpoint uses Content-Disposition: attachment, Content-Type: application/octet-stream and X-Content-Type-Options: nosniff for every stored file, including PDFs and zip archives. File listings retain the original media type. Downloads require authentication and membership in the file’s organization.

  1. Open the Agent and select the Channels and triggers tab.
  2. Select Add channel and choose the channel type.
  3. Configure the type-specific fields and select Create channel.
  4. Select Publish to make the channel live.

The same operations are available over the API under /v1/agents/{agent_id}/channels, with publish and unpublish actions per channel. Every channel runs the Agent’s current configuration.

Each channel has its own lifecycle:

Draft ⇄ Live
Draft → Disabled
Live → Disabled
Disabled → Draft
  • Draft: Configured but does not accept ingress traffic.
  • Live: Published and able to accept traffic while its Agent is active and not paused.
  • Disabled: Kept for configuration but rejects ingress traffic and does not invoke the Agent.

Publishing and unpublishing require the dangerous Agent permission (Owner by default). The same permission is required to change a live channel’s configuration, including its authentication and secrets, or to disable it. Members who can manage Agents can still edit Draft and Disabled channels.

A channel serves traffic only when all three hold: the channel is live, the Agent is active, and the Agent is not paused. Pause agent in the Agent’s ⋯ menu (or everruns agents pause) takes every channel of that Agent offline and stops its triggers and schedules at once, without changing each channel’s or trigger’s own state; Resume restores them.

Every channel has its own page at /agents/{agent_id}/channels/{channel_id}. API, CLI and MCP responses for a channel include that page as view_url, so you can link to it directly.

Errors from public channels are sanitized so they do not expose internal state, such as whether a channel exists or why it is offline.

Files sent to a channel reach the Agent the same way on every channel. Each one is stored with the message and copied into the session’s /attachments folder, where the Agent can open it again later in the conversation, including after compaction.

Channel What is taken
Slack Files shared in the message, downloaded with the app’s bot token. Files linked from external services are described by name.
AG-UI Image, audio, video and document parts of the user message, inline or by URL.
Public Chat The same parts, inline only: at most 3 files of up to 10 MB, since visitors are not signed in.
A2A File parts, as bytes or a URI. PACT endpoints take text only, as the PACT protocol requires.
Agent API The files list of a message, as base64 data or a url (Call your agent from code). A serve app takes the same list.

Files sent by URL are downloaded only from public https addresses. A message keeps at most 10 files of up to 25 MB each, and the file’s contents decide its type, whatever the sender declared. A file that cannot be taken, for example because it is too large or its download failed, becomes a note in the message, such as [Attachment report.pdf not received: 31 MB is over the 25 MB limit], so the Agent knows it was sent.

An AG-UI channel lets a client that speaks the AG-UI protocol run the Agent and stream its events. The channel accepts AG-UI RunAgentInput and streams AG-UI 1.0 events over SSE. Public Chat uses the same protocol.

Use a 1.0-compatible AG-UI client for existing channels as well as new ones. The reasoning event names changed:

Pre-1.0 event AG-UI 1.0 event
THINKING_START REASONING_START
THINKING_TEXT_MESSAGE_START REASONING_MESSAGE_START
THINKING_TEXT_MESSAGE_CONTENT REASONING_MESSAGE_CONTENT
THINKING_TEXT_MESSAGE_END REASONING_MESSAGE_END
THINKING_END REASONING_END

Custom handlers must recognize the new names to render reasoning. This is a breaking wire change for clients that require THINKING_*; the channel does not translate events back to that vocabulary. Text messages still use TEXT_MESSAGE_*.

With npm @ag-ui/core 1.0, import validation schemas from @ag-ui/core/schemas:

import { EventSchemas, RunAgentInputSchema } from "@ag-ui/core/schemas";

Send protocolVersion: "1.0" in the run request to receive the version in RUN_STARTED. Omitting it suppresses that response field; it does not select the old protocol. Open text and reasoning messages and reasoning spans close before a terminal event. Cancelled runs finish with outcome: { type: "cancelled" }.

Subagent events and their activity snapshots are available when the channel enables subagents_visible. This setting defaults to off and stays off for Public Chat.

The agent’s todo list is available as AG-UI shared state when the channel enables state_visible, which defaults to off and stays off for Public Chat. The state is { "todos": [{ "content", "activeForm", "status" }] }: a run sends STATE_SNAPSHOT the first time it knows the list (at run start when the conversation already has one) and STATE_DELTA JSON Patches for later changes. State the client sends in the run request is not read.

AG-UI channels are public client surfaces, so they expose less than the Agent’s own event stream:

  • tool_visibility controls tool activity: none, generic (a fixed text you configure in generic_tool_text), or narrated. Raw tool names, arguments, and results are never sent.
  • Reasoning summaries, token usage, subagent activity, the todo list as shared state, and client answers to tool-approval interrupts are off by default, each behind its own setting.
  • Message reactions stream as a CUSTOM event named everruns.reaction, with value {messageId, emoji, action, actor}. action is added or removed, and actor carries only kind and display name. A client adds its own reactions through the Agent Execution API reaction routes.
  • Access is anonymous by default. Set a shared token or an auth block to require authentication, and rate_limit_per_minute to cap requests per IP.
  • A thread stays resumable for session_expiration_seconds (6 hours by default); after that, the same thread ID starts a new session.

To serve AG-UI from a Rust application without the Platform, see AG-UI in the Framework.

An FCP channel implements the Free Communication Protocol, a minimal text-in, text-out HTTP interface:

  • GET returns a Markdown handshake that describes what the channel can do and how to authenticate.
  • POST takes plain text, or {"message": "..."}, runs one turn, and returns the Agent’s final reply as Markdown. There is no streaming.

Every response, including errors, is text/markdown with instructions that point back to the handshake. Access is anonymous by default; set anonymous to false and a token to require a shared bearer token. FCP has its own rate limit and does not accept the auth block that AG-UI and A2A use. response_timeout_seconds (120 by default) bounds how long a POST waits for the reply.

A Public Chat channel serves an isolated, hosted chat website for one Agent. Visitors see only that Agent: there is no console navigation, organization switcher, or access to other agents, channels, or sessions.

  • Visitors can be anonymous, or sign in through the channel’s auth configuration, such as Google sign-in. Anonymous visitors can be required to pass a Cloudflare Turnstile challenge before a session starts.
  • The chat streams AG-UI events, and raw tool names, arguments, results, and internal IDs never reach the browser.
  • The deployment-level public_chat feature flag (FEATURE_PUBLIC_CHAT) controls whether Public Chat routes are mounted and whether the type appears under Add channel.

The website reads its public configuration from /v1/channels/{channel_id}/public-chat/config. That response never includes channel secrets.

AgentID is a sign-in for AI agents. To let agents sign in to a Public Chat channel:

  1. Register an AgentID client with the redirect URI {API base URL}/v1/agentid/callback, then set AGENTID_CLIENT_ID and AGENTID_CLIENT_SECRET on the server. One client serves every channel in the deployment.
  2. Set the channel’s sign-in to AgentID and enter the client ID. The chat page then shows Continue with AgentID.

Each agent becomes its own end user in the organization, keyed by its AgentID subject; it never becomes a console user. By default one agent owner can sign in 5 agents per organization; change that with agentid_agents_per_owner on the organization. A sign-in lasts 15 minutes, after which the agent signs in again.

To list the agent in the AgentID directory, use {API base URL}/v1/agentid/initiate-login as the sign-in URL and set AGENTID_DEFAULT_CHANNEL to the channel it should open. Without a default channel that URL creates nothing, because it does not say which chat the agent wants. AGENTID_OWNER_SCOPES=true also requests the owner’s name and email; leave it off unless you need to contact owners.

An Agent API channel gives one Agent a base URL, /v1/channels/{channel_id}, that your own code calls with an agent key (evr_ak_…). A key reaches only this Agent’s session routes, never the management API. Callers start sessions, send messages, follow events over SSE, answer questions, approve tool calls and cancel turns, and each caller sees only its own sessions. Channel settings add end users, your own identity provider, browser origins, safe retries and a daily spending limit per caller. In the console that daily limit sits with the channel budget under Spending: the budget is the shared pool, and the daily limit caps each person until midnight UTC.

Add an Agent API channel on the Agent’s Channels and triggers tab, publish it, and create a key in its Agent keys card. See Agent API for keys, every route, authentication, settings, streaming and errors, and Call your agent from code for a walkthrough. A serve app serves the same routes at /v1/channels/{agent}.

The same channel model also carries transports that do not need a reply channel:

  • webhook runs the Agent when an authenticated HTTP call reaches /v1/channels/{channel_id}/webhook, and is created as a webhook trigger under Add trigger. Webhook channels created before keep working. A sender that retries can set an Idempotency-Key header: a repeat of a key the channel accepted in the last day answers "delivery": "duplicate" and starts nothing.
  • schedule runs the Agent on a cron schedule. Create schedules as Agent triggers, which also cover webhook, GitHub, and MCP event starts.

Channels replace the former Agent Endpoint name. Existing channel IDs and configuration stay the same. CLI commands now use everruns agents channels; the management API uses /v1/agents/{agent_id}/channels. The former /v1/agents/{agent_id}/endpoints routes remain aliases, and console bookmarks under /agents/{agent_id}/endpoints redirect to the channel pages.

Apps are retired from Everruns management. Everruns keeps existing App records for historical attribution and compatibility, and existing installs continue to serve traffic, but the App list, detail page, create flow, and management API are retired.

The old /v1/e/{channel_id}/… and /v1/apps/{app_id}/… ingress paths remain permanent aliases. They resolve to the migrated channel and continue to work. Do not rewrite a working existing installation only to change its URL. New integrations use the channel-scoped canonical routes above.

  • Publish an Agent to Slack: a step-by-step Slack setup.
  • A2A: inbound A2A channels and outbound delegation.
  • Voice: talk to an Agent and hear its answers.
  • Agent API: call one Agent from your own code with an agent key.
  • Poppy: answer people’s personal agents as a company.
  • Agent Triggers: proactive scheduled and event-driven work.
  • Change History: see and restore earlier Agent configurations.

Publish Work Chat to give an Agent a dedicated browser experience with its own consumer sign-in. Each channel has a stable hostname on the hosted content domain configured by your deployment. That hostname is assigned when the channel is created and is not the channel id. Several Work Chat channels can point to the same Agent.

The channel page shows that address once, above the settings. Open it with Open chat page in the header. The address stays the same when you change settings. A link built from the channel id does not open the chat. Publishing alone does not create the hostname until the deployment has a hosted chat domain.

Choose Multiple conversations for a conversation list, or Single chat with threads for one permanent main conversation per consumer and related work threads. Single mode requires coordinator thread tools on the effective Agent, including inherited harness capabilities. Publication and later configuration updates reject an incompatible combination. A worker-only coordination capability does not qualify.

{
"channel_type": "work_chat",
"channel_config": {
"interface_mode": "multi_chat",
"membership": "open",
"execution": {
"visibility": "full",
"errors": "public"
}
}
}

Choose who can sign in. Open access admits anyone who can register and sign in with the deployment’s identity provider. On the Everruns demo instance that is an Everruns ID. Single user + invites admits one email address plus the people you list. Organization users admits current members of this organization. Someone who is not included is turned away at sign-in. A publisher-chosen provider, such as an external OpenID Connect issuer, is not a membership mode yet.

Consumers are separate from console members. The browser host uses its deployment’s identity provider and host-only sessions. It shows streamed replies, work activity, threads, questions and permitted approvals. Workspace tools enable file browsing and editing; read-only files remain protected. Provider reasoning, debug records and private runtime mounts are excluded.

Existing budgets, approval policies and session ownership continue to apply. Spending on the channel page is the shared channel budget and the optional daily limit for each person. The shared budget stops the channel when the pool is spent. The daily limit stops one person until the next UTC day; leave it empty for no per-person cap. A rate limit stays under Advanced. Changing a channel’s configuration changes the same URL. The channel introduces no separate history or retention policy.

Self-hosters deploy the optional standalone browser app separately from the console. Follow its deployment instructions for the content domain, TLS, OIDC broker and least-privilege credential storage. Publishing a channel alone does not provision hosting or DNS.

The sidebar shows who is signed in. Their name comes from the identity provider, with email and picture when those claims are present. A provider that sends no name leaves the Work Chat label in place. The sidebar and the empty conversation use the Agent’s avatar. An Agent with no avatar keeps the round mark.

A message the Agent sends is the reply. It is rendered as Markdown, and it is not listed again as work. Other tool steps stay in the work log.

The hosted chat renders Markdown, OpenUI charts and all 69 standard A2UI 1.0 components inline, using the same renderer as console chat. See Generative UI for forms, bindings and saved-message compatibility. Enable the corresponding capabilities on the Agent when it should produce those formats. Replies include expandable work logs, and background task cards open their delegated conversation.

Consumers can search, pin, rename and archive independent conversations. Archived conversations retain their history and can be reopened. Messages use the model configured on the Agent. Reasoning effort and existing spending controls apply.

Attach up to three files totaling 4 MB through the composer, paste or drag-and-drop. The Workspace panel previews Markdown, images, CSV tables and text, supports revision-checked editing, and downloads both text and binary files. HTML/SVG previews display in a sandbox without scripts or external network access.

Conversation actions → Share read-only link publishes that conversation’s messages and widgets, including future messages, to anyone holding the link. Files, approvals and execution controls remain private. Revoke public links removes access; creating another link replaces the earlier one. Channel unpublication also removes public access.