Skip to main content

Getting Started

Pai is a hosted platform for running AI agents securely in the cloud. You deploy agents by writing a YAML file and running pai create — no infrastructure to manage.

1. Install the CLI

curl -Lo pai https://pairun.dev/download/pai-macos-arm64
chmod +x pai
sudo mv pai /usr/local/bin/pai
note

Linux and Windows builds are also available at pairun.dev/download.

2. Log in

pai login https://api.pairun.dev --token <your-token>

Your token was provided when your account was created. All subsequent commands use this session automatically.

Verify you're connected:

pai list

3. Deploy your first agent

Follow the Quickstart to deploy an agent in under 5 minutes.