---
title: "Vercel Knowledge Base: Guides, Videos, and Tutorials"
description: In-depth guides, videos, and tutorials for building and deploying with Vercel. Covers AI agents, frameworks, SDKs, backend, security, and more.
url: "https://vercel.com/kb"
published: 2026-06-18
last_updated: 2026-10-26
install_vercel_plugin: npx plugins add vercel/vercel-plugin
search_with_vercel_cli: npx vercel@latest kb search "<query>"
---

# Knowledge Base

In-depth guides, tutorials, and [reference architectures](/kb/architecture) for building with Vercel.

## Libraries

- [Reference Architecture](/kb/architecture)
- [Prompts](/kb/prompts)
- [FDE Field Notes](/kb/fde)

## Featured Topics

- [Agent Stack](/kb/agent-stack): Connect agents to any model, run multi-step work in durable workflows and isolated sandboxes, and give them scoped access to your data, tools, and chat apps.
- [Backends](/kb/backends): Backends on Vercel run on Fluid compute with Active CPU pricing, plus Instant Rollback, the Vercel Firewall, protected previews, and rolling releases.
- [Security](/kb/security): Block bots and abusive traffic, rate limit your APIs, protect deployments, and support PCI DSS, HIPAA, and SOC 2 compliance with the Vercel Firewall and BotID.

## Featured Guides

- [The Complete Guide to Vercel Services](/kb/guide/vercel-services): Vercel Services let you deploy multiple frontends and backends in one project on a shared domain. Learn how to define services in vercel.json, route requests by path prefix, and connect services with generated environment variables.
- [The Complete Guide to Vercel Daemons](/kb/guide/vercel-daemons): Run background workers with Vercel Daemons. Learn how to deploy container images, configure resources, handle shutdowns, and manage instances.
- [Running Docker on Vercel](/kb/guide/docker): Run Docker on Vercel for HTTP apps and background workers, store images in Vercel Container Registry, and test containers with Vercel Sandbox.
- [Migrate from Railway to Vercel](/kb/guide/migrate-railway-to-vercel): Migrate an app from Railway to Vercel. Choose a deployment path, configure services, plan for stored data, and test before switching production traffic.
- [Migrate a Python API from Railway to Vercel](/kb/guide/migrate-a-python-api-from-railway-to-vercel): Move a FastAPI, Flask, or Django API from Railway to Vercel Functions. Replace railway.json start commands, volumes, Celery workers, and cron services.
- [Migrate Railway workers to Vercel Daemons](/kb/guide/migrate-railway-workers-to-vercel-daemons): Move Railway workers to Vercel Daemons with Docker configuration, broker migration, shutdown testing, a gradual queue handoff, and rollback.

## Latest Guides

- [Vercel AI Gateway vs Datadog AI Gateway](/kb/guide/vercel-ai-gateway-vs-datadog-ai-gateway): Compare Vercel AI Gateway and Datadog AI Gateway as LLM gateways, including providers, routing, access control, spend limits, guardrails, and observability.
- [Vercel Sandbox vs CodeSandbox](/kb/guide/vercel-sandbox-vs-codesandbox): Compare Vercel Sandbox and CodeSandbox as AI agent sandboxes, including isolation, persistence, network controls, SDKs, and workload fit.
- [Migrate from E2B to Vercel Sandbox](/kb/guide/migrate-from-e2b-to-vercel-sandbox): Move E2B sandbox code to Vercel Sandbox in TypeScript or Python, from templates and pauses to Volumes, network rules, Secrets, and a staged cutover.
- [Migrate from Neon AI Gateway to Vercel AI Gateway](/kb/guide/neon-aig-to-vercel-aig): Swap Neon's per-branch base URL and credential for Vercel's, map each short model ID to a creator/model slug, and replace the Gemini endpoint, rate limits, and daily spend cap.
- [Migrate from Modal Sandboxes to Vercel Sandbox](/kb/guide/migrate-from-modal-sandboxes-to-vercel-sandbox): Migrate from Modal Sandboxes to Vercel Sandbox in TypeScript or Python, including images, persistent files, network policies, and a staged cutover.
- [Run research agents, data analysis, and evals on Vercel Sandbox](/kb/guide/sandbox-research-workloads): Give a research agent a Python execution tool, analyze datasets, fork parallel trials from one baseline, restrict network access, and resume a workspace across sessions.
- [Vercel Sandbox vs HubSpot Sandbox](/kb/guide/vercel-sandbox-vs-hubspot-sandbox): Compare Vercel Sandbox with HubSpot sandbox accounts, pick one for each marketing operations task, and run AI-generated scripts against HubSpot without exposing your API token.
- [Vercel Sandbox vs E2B](/kb/guide/vercel-sandbox-vs-e2b): Compare Vercel Sandbox and E2B as AI agent sandboxes, including isolation, persistence, network controls, SDKs, and deployment regions.
- [Build your startup's product on Vercel Sandbox](/kb/guide/startups-on-vercel-sandbox): Build code interpreters, app previews, and upload-processing features with Vercel Sandbox, including authentication, persistence, security, and cost controls.
- [Migrate from Netlify AI Gateway to Vercel AI Gateway](/kb/guide/netlify-aig-to-vercel-aig): Replace Netlify's injected provider keys and base URLs with a Vercel AI Gateway credential, map each model to a creator/model slug, and move Gemini SDK calls to a supported API.

## All Topics

Explore guides by topic across the Knowledge Base.

- [Agent Stack](/kb/agent-stack): Connect agents to any model, run multi-step work in durable workflows and isolated sandboxes, and give them scoped access to your data, tools, and chat apps.
- [AI](/kb/ai): Build AI-powered applications using Vercel's agentic infrastructure.
- [AI Gateway](/kb/ai-gateway): The AI Gateway for developers. Route to hundreds of AI models through a centralized interface.
- [AI SDK](/kb/ai-sdk): The unified TypeScript SDK for building AI apps with modern streaming, fallbacks, and multi-model support.
- [Backends](/kb/backends): Backends on Vercel run on Fluid compute with Active CPU pricing, plus Instant Rollback, the Vercel Firewall, protected previews, and rolling releases.
- [Build and Deploy](/kb/build-and-deploy): Build, preview, and deploy with Vercel's CI/CD pipeline, git integration, rollbacks, and more.
- [CDN](/kb/cdn): Vercel's CDN is a globally distributed platform that stores content near your customers and runs compute in regions close to your data, reducing latency and improving end-user performance.
- [Chat SDK](/kb/chat-sdk): The unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, and more. Write your bot logic once, deploy everywhere.
- [Comparisons](/kb/comparisons): Side-by-side comparisons of Vercel and alternative platforms, frameworks, and tools. Weigh features, pricing, and performance to choose the right fit for your project.
- [Docker](/kb/docker): Deploy HTTP applications from a standard Dockerfile with Vercel Functions, and run continuous background workers with Vercel Daemons. Find deployment and migration guides for both.
- [Enterprise Apps and Agents](/kb/enterprise): Explore how enterprises build, deploy, and govern internal apps and AI agents. Learn about citizen development, shadow IT, shadow AI, access controls, and agent auditing, with guidance for turning employee-built tools into supported business applications.
- [eve](/kb/eve): eve is a filesystem-first framework for durable backend agents on Vercel.
- [FDE Field Notes](/kb/fde): Insights from our work with customers. Explore the patterns, diagnostics, and recommendations Vercel’s Forward Deployed Engineers use in production.
- [Infrastructure and Compute](/kb/infrastructure-and-compute): Scale and deliver applications efficiently across regions using Vercel's Fluid Compute and CDN.
- [Integrations](/kb/integrations): Integrate third-party tools across observability, AI, storage, and more.
- [Jev from TypeSafe AI](/kb/jev-from-typesafe-ai): Jev is TypeSafe AI's System One model for fast, typed decisions. It evaluates supplied context and returns choices, scores, and probabilities that applications can use to classify requests, route tasks, and assess proposed actions without generating prose.
- [Migrations](/kb/migrations): Learn how to migrate your application or agent to Vercel's agentic infrastructure.
- [Observability](/kb/observability): Monitor and analyze performance with Speed Insights, Web Analytics, Logs, and more.
- [Python](/kb/python): Build, deploy, and scale Python on Vercel. Run FastAPI, Flask, Django, or any ASGI or WSGI app on Vercel Functions with zero configuration, and find guides on background jobs, storage, AI workloads, containers, and migrating from other platforms.
- [Retail](/kb/retail): Build resilient storefronts and e-commerce experiences that hold up when traffic spikes.
- [Security](/kb/security): Block bots and abusive traffic, rate limit your APIs, protect deployments, and support PCI DSS, HIPAA, and SOC 2 compliance with the Vercel Firewall and BotID.
- [Software Factory](/kb/software-factory): Software factories put an agent on every stage of your development loop: triage, planning against a live repo checkout, implementation verified with your own checks, and independent review. Work items become draft PRs while you keep the judgment calls.
- [TanStack](/kb/tanstack): Everything you need to build and deploy TanStack apps on Vercel. Find migration and framework guides for TanStack Start, plus resources for the wider TanStack ecosystem.
- [Vercel Blob](/kb/vercel-blob): Vercel Blob is a scalable, cost-effective object storage service with private and public access modes for files of any size.
- [Vercel Connect](/kb/vercel-connect): Securely connect agents to the tools, data, and services they need to take action.
- [Vercel Container Registry](/kb/vercel-container-registry): Vercel Container Registry (VCR) is a project-scoped registry for OCI container images. Use VCR to store, push, and pull Docker images on Vercel.
- [Vercel Drop](/kb/vercel-drop): Vercel Drop lets you deploy a file, folder, or .zip by dragging it into your browser, with no Git, Vercel CLI, or local setup.
- [Vercel Sandbox](/kb/vercel-sandbox): Vercel Sandbox runs coding agents and AI workloads in isolated Firecracker microVMs. Snapshots and Drives carry work across sessions, and Active CPU pricing doesn't bill time spent waiting on models or I/O.
- [Vercel Services](/kb/vercel-services): Vercel Services let you deploy multiple backends and frontends within a single Vercel project.
- [Workflow SDK](/kb/workflow-sdk): 'use workflow' brings durability, reliability, and observability to async JavaScript. Build apps and AI Agents that can suspend, resume, and maintain state with ease.

## Reference Architecture

Choose a stack and work through the decisions behind it, with curated documentation, guides, templates, and courses to help you build.

- [Agent stack](/kb/architecture/agents): Build and operate agents with models, tools, and durable workflows.
- [Web applications](/kb/architecture/web): Choose rendering, data, authentication, and caching approaches.
- [Backends](/kb/architecture/backends): Choose a runtime, connect services, and run background work.

[Browse all stacks](/kb/architecture)

## Build with prompts

Build an app, extend an agent, or improve your project with ready-to-use prompts for your coding agent.

[Browse the prompt library](/kb/prompts) · [Read the Markdown index](/kb/prompts.md)

## Search guides from your terminal

Search the Knowledge Base and read guides as Markdown with the Vercel CLI. No login required.

```bash
# Find guides by keyword
npx vercel@latest kb search "rewrites and redirects"
npx vercel@latest kb search "AI SDK streaming"

# Show the latest guides
npx vercel@latest kb

# Print a guide as Markdown, by slug or URL
npx vercel@latest kb inspect <guide>
```
