Internal AI gateway

Authenticated access to AI providers for Upsun staff.

Install

This downloads the CLI, authenticates via Okta, installs a background service, and configures your shell and AI tools:

curl -fsSL https://ai-gateway.plat.farm/install.sh | bash

This installer avoids SentinelOne antivirus conflicts:

curl -fsSL https://ai-gateway.plat.farm/download.sh | bash

Then run the printed command to complete setup:

~/.local/bin/ai-gateway setup

Usage

After installation, AI tools work automatically. Restart your terminal (or source your shell config), then run your preferred tool in a project:

On macOS, use ai-gateway run to start the proxy and launch your tool:

Or run ai-gateway serve in a dedicated terminal, then use tools directly.

Commands

Commonly used commands:

Reference