Skip to navigation

Types of agents

Build a chat agent, an agent with its own web app, or both
View as Markdown

An agent’s type decides how people use it: a chat agent answers in web chat and Slack, and a custom app agent serves its own web app. One agent can be both.

TypeWhat people getSet in astropods.ymlPage
Chat agentA chat behind Astropods sign-in, a Slack bot, or bothmessaging: trueWeb chat, Slack
Custom app agentYour own web app on a dedicated HTTPS hostnamefrontend: trueCustom app

Choose the type

Set interfaces under agent:

astropods.yml
agent:
build:
context: .
dockerfile: Dockerfile
interfaces:
messaging: true # web chat and Slack
frontend: true # your own web app
  • Without interfaces, the agent gets messaging only.
  • Once you set interfaces, messaging defaults to false, so set it to keep web chat and Slack.
  • Put interfaces under agent. The platform ignores it at the top level.

Open the agent

Launch, on the agent’s card and its page, opens the agent:

The agent offersLaunch opens
Web chat onlyChat, the built-in web chat
A custom app onlyCustom app, your hostname in a new tab
BothThe custom app. The arrow beside Launch picks Custom app or Chat.

Launch works only while the agent is active. Hover it to see what the agent is waiting on.

Who can reach the agent

Web chat, Slack, and the custom app each have their own access list. A new agent opens web chat to you, and Slack to anyone when Slack is on. Change access on the agent’s Configuration > Access page, or with ast agent access set. See Access control.

Next steps

  • Web chat: chat with the agent behind Astropods sign-in
  • Slack: create the Slack app and connect it to the agent
  • Custom app: serve your own web app from the agent