Vercel
aixyz has first-class Vercel support using the Build Output API v3.VERCEL=1 and outputs a Vercel serverless function using Bun Runtime. The agent URL is auto-detected from Vercel environment variables.
vercel.json
Every aixyz project includes a vercel.json:
vercel.json
--vercel — the flag is automatically detected during Vercel builds.
Set OPENAI_API_KEY and any payment environment variables in the Vercel dashboard under Settings → Environment Variables.
Standalone (Bun Runtime)
For direct deployment on Bun-compatible hosts (DigitalOcean, Railway, Fly.io, etc.):.aixyz/output/server.js.
Environment Variables
Set these before running:Docker
Using the standalone build:Dockerfile
Set the
url field in aixyz.config.ts manually for Docker deployments since Vercel environment variables won’t be
available.