Skip to content

CLI

Every command takes --help. Commands that act on an organization use the active one (avant org use), or --org, or AVANT_ORG_ID.

Command Does
avant login Signs in through the dashboard.
avant logout Clears local credentials and unwires configured harnesses.
avant update Updates the CLI.
Command Does
avant org list Lists your organizations.
avant org use <org> Sets the active organization.
avant org create <name> Creates an organization.
avant org members add <org> <email> -r <role> Adds a member (admin or member).
avant org agents create <name> -w <workspace> Creates an agent.
avant org agents workloads add <agent> ... Trusts a workload to act as an agent.
avant org agents auth-mode <agent> <mode> Sets key, key_and_token or token for an agent.
avant org skills, avant org connectors Manage the skill and connector catalogs.
Command Does
avant workspace list Lists workspaces in the active organization.
avant workspace use <workspace> Connects this machine’s harnesses to a workspace.
avant workspace connect <key> Connects with a ws_ key from the dashboard.
avant workspace disconnect Removes Avant from harness configs.
avant workspace generate-key <workspace> Creates or rotates your personal key.
avant workspace create ... Creates a workspace.
avant workspace verify <workspace> Checks a workspace’s vendor or cloud setup.
avant workspace mistral-proof-token <workspace> --audience <aud> Signs the proof token Mistral asks for.
avant workspace members add <workspace> <email> Adds an organization member to a workspace.
avant workspace policy show|set|clear Reads or replaces the policy.
avant workspace auth-mode <workspace> <mode> Sets key, key_and_token or token for people.
Command Does
avant token -w <workspace> Prints an hour-long token for a workspace.
avant sync Runs the token relay on 127.0.0.1:4141 and config sync every 5 minutes in this terminal.
avant sync start Runs sync in the background until avant sync stop or avant logout, also after a restart.
avant sync stop Stops background sync and stops running it at login.
avant sync status Shows whether sync runs, whether it starts at login, and the last sync per workspace.
avant sync --no-config Runs only the token relay, without config sync. Also works with start.
Variable Default
AVANT_PROXY_URL https://proxy.avant.codes
AVANT_ADMIN_URL https://admin.avant.codes
AVANT_DASHBOARD_URL https://dashboard.avant.codes
AVANT_ORG_ID Active organization