Skip to main content
description: “Agentbot build process and deployment”

Build & Deployment

Agentbot build and deployment

Vercel Setup

Project Settings

  • Project Name: agentbot
  • Root Directory: web
  • Framework: Next.js (auto-detected)

Environment Variables

Required for production: Optional but recommended:

Build Commands

Deployment

Automatic (Git Push)

Push to main branch triggers Vercel deployment automatically.

Manual

Build Stability

Pre-build Validation

The build includes:
  1. Prisma client generation
  2. Next.js webpack production build
  3. Standalone server output for runtime deploys

Common Issues

Rollback

Vercel automatically keeps deployment history. To rollback:
  1. Go to Vercel Dashboard
  2. Find previous working deployment
  3. Click ”…” → “Promote to Production”