CORTEX

Cortex CLI

The Cortex Client CLI communicates with the Cortex platform API from the terminal. It is separate from the Cortex infrastructure management CLI.

Current base

The command starts as cortex-client. The initial base exposes a status command and a clear landing output while API login, chat, document, run, and artifact commands are added.

cortex-client
cortex-client status

Command surface

CommandPurpose
loginAuthenticate and store an API token.
whoamiShow current user, organization, and API URL.
chatStart an interactive streaming chat.
run "..." --streamSend one request and stream the response.
attachments upload <file>Upload an attachment through the API upload flow.
runs events <id>Replay or follow run events.
artifacts download <id>Download a generated artifact.
approvals approve <id>Approve a pending action.
approvals reject <id>Reject a pending action.