CLI

Authentication Commands

Commands for authenticating with the Agentuity Cloud Platform

The auth commands allow you to authenticate with the Agentuity Cloud Platform, manage your login session, and check your authentication status.

auth login

Logs you into the Agentuity Cloud Platform.

Aliases

agentuity login (shortcut for agentuity auth login)

Usage

agentuity auth login

This command will print out a one-time code and open a browser window where you can log in to your Agentuity account and provide the one-time code. After successful authentication, your credentials will be stored locally for future use. By default, the credentials and other configuration are stored in the following file: $HOME/.config/agentuity/config.json.

Example

$ agentuity auth login
 You are now logged in

auth logout

Logs you out of the Agentuity Cloud Platform.

Aliases

agentuity logout (shortcut for agentuity auth logout)

Usage

agentuity auth logout

This command will remove your stored credentials.

Example

$ agentuity auth logout
 You have been logged out

auth whoami

Displays information about the currently logged-in user.

Aliases

agentuity whoami (shortcut for agentuity auth whoami)

Usage

agentuity auth whoami

Example

$ agentuity auth whoami
╭──────────────────────────────────────────────────────────────────────────────────╮

 Currently logged in as

 Name:           Jeff Haynie                    user_xsjDaYg0UsTcARJWa1BI5irsoB7

 Organization:   Jeff Team                       org_xsjDbpem0VT7QA9DupHGdE72HLQ

╰──────────────────────────────────────────────────────────────────────────────────╯

On this page