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

Build & 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. TypeScript compilation
  3. Next.js static generation

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”