Skip to main content

Installation

Commands

ao init

Initializes AO in your current project directory. Creates an ao.toml configuration file if one doesn’t already exist.
Example output: Initialized AO configuration file at: /your/project/ao.toml

ao login

Authenticates your machine with your AO account. Opens a browser window to complete login. Your API key is stored securely in your system’s keychain.

ao logout

Removes your stored API key from the system keychain.

ao deploy

Zips your current project and deploys your agent to AO’s infrastructure.
Options: Requirements before deploying:
  • ao.toml must exist (run ao init first)
  • requirements.txt must exist
  • pyproject.toml must exist
Example output: Deploying agent to production… Packing project… Deployment successful! You can view your new deployment at: https://aodeploy.com/dashboard/deployments

ao run

Triggers a run of a deployed agent. --input must be a valid JSON object.
Options: Example:

Global options