{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-cli/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Frontline CLI","projectTitle":"Frontline Documentation","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"frontline-cli","__idx":0},"children":["Frontline CLI"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Frontline CLI is a unified command-line toolbox that ships two binaries:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["frontline"]}]}," — Public REST API client: agents, workflows, billing, tables, objects, tools, raw GET requests, and Claude Code skills setup."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["max"]}]}," — Max chat & admin client: send messages, manage conversations, interactive chat."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Both binaries share the same API key, so logging in once works for both."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"quick-install","__idx":1},"children":["Quick install"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"npm install -g @getfrontline/cli\nfrontline auth login <api-key>\nfrontline auth whoami\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Requires Node ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["18+"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Need an API key? In the Frontline app: click your user name in the bottom-left of the sidebar → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings → Bring your own Agent → Create personal API key"]},". Full breakdown (including the read-only ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GENERAL"]}," key flow under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Developer"]},") in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/cli/authentication"},"children":["Authentication"]}]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"read-next","__idx":2},"children":["Read next"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/cli/getting-started"},"children":["Getting started"]}]}," — install, login, profiles, output formats, global flags."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/cli/authentication"},"children":["Authentication"]}]}," — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["USER"]}," vs ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GENERAL"]}," keys, rotation, CI usage."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"command-reference","__idx":3},"children":["Command reference"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Browse the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["frontline"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["max"]}," groups in the sidebar — there is one page per top-level command group with every sub-command, option, and default."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Pages in those sections are ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["auto-generated"]}," from the CLI source on every release. If a flag is missing here it isn't shipped yet."]}]},"headings":[{"value":"Frontline CLI","id":"frontline-cli","depth":1},{"value":"Quick install","id":"quick-install","depth":2},{"value":"Read next","id":"read-next","depth":2},{"value":"Command reference","id":"command-reference","depth":2}],"frontmatter":{"seo":{"title":"Frontline CLI"}},"lastModified":"2026-05-27T19:55:08.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/cli","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}