Authenticated access to AI providers for Upsun staff.
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
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:
ai-gateway run claude — Claude Code Recommended (install)ai-gateway run codex — OpenAI Codex CLI (install)ai-gateway run gemini — Gemini CLI (install)ai-gateway run goose — Goose (install)ai-gateway run opencode — OpenCode (install)ai-gateway run vibe — Mistral Vibe Recommended (install)Or run ai-gateway serve in a dedicated terminal, then use tools directly.
Commonly used commands:
ai-gateway setup — Complete guided setup (install, login, configure)ai-gateway login — Re-authenticate with the gatewayai-gateway status — Check login and proxy service statusai-gateway setup — Complete guided setup (install, login, configure)ai-gateway login — Re-authenticate with the gatewayai-gateway run <tool> — Start proxy and launch a toolai-gateway serve — Start proxy in foreground