# Frontline CLI

The Frontline CLI is a unified command-line toolbox that ships two binaries:

- **`frontline`** — Public REST API client: agents, workflows, billing, tables, objects, tools, raw GET requests, and Claude Code skills setup.
- **`max`** — Max chat & admin client: send messages, manage conversations, interactive chat.


Both binaries share the same API key, so logging in once works for both.

## Quick install


```bash
npm install -g @getfrontline/cli
frontline auth login <api-key>
frontline auth whoami
```

Requires Node **18+**.

Need an API key? In the Frontline app: click your user name in the bottom-left of the sidebar → **Settings → Bring your own Agent → Create personal API key**. Full breakdown (including the read-only `GENERAL` key flow under **Developer**) in **[Authentication](/cli/authentication)**.

## Read next

- **[Getting started](/cli/getting-started)** — install, login, profiles, output formats, global flags.
- **[Authentication](/cli/authentication)** — `USER` vs `GENERAL` keys, rotation, CI usage.


## Command reference

Browse the **frontline** and **max** groups in the sidebar — there is one page per top-level command group with every sub-command, option, and default.

Pages in those sections are **auto-generated** from the CLI source on every release. If a flag is missing here it isn't shipped yet.