> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.astropods.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.astropods.com/_mcp/server.

# Types of agents

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.

| Type             | What people get                                       | Set in `astropods.yml` | Page                                   |
| ---------------- | ----------------------------------------------------- | ---------------------- | -------------------------------------- |
| Chat agent       | A chat behind Astropods sign-in, a Slack bot, or both | `messaging: true`      | [Web chat](/web-chat), [Slack](/slack) |
| Custom app agent | Your own web app on a dedicated HTTPS hostname        | `frontend: true`       | [Custom app](/custom-app)              |

## Choose the type

Set `interfaces` under `agent`:

**`astropods.yml`**

```yaml title="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 offers  | **Launch** opens                                                              |
| ----------------- | ----------------------------------------------------------------------------- |
| Web chat only     | **Chat**, the built-in web chat                                               |
| A custom app only | **Custom app**, your hostname in a new tab                                    |
| Both              | The 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`](/cli/agent#agent-access). See [Access control](/access-control).

## Next steps

* [Web chat](/web-chat): chat with the agent behind Astropods sign-in
* [Slack](/slack): create the Slack app and connect it to the agent
* [Custom app](/custom-app): serve your own web app from the agent