翻篇收录说明
翻篇网页快照

Vercel Documentation

https://vercel.com/docs

最近抓取:2026-12-01 07:47:50(北京时间)

最近内容变化:2026-12-01 07:47:50(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Find guides and reference documentation for building, deploying, and managing applications with Vercel, including the CLI, SDKs, and APIs.

正文摘录

Ship anything with VercelDeploy your first app, set up your coding agent to build and deploy on Vercel, or call any AI model through AI Gateway.Get startedSet up your agentGet AI Gateway keyDeploy an appSet up your agentCall a modelterminalnpm i -g vercel vercel login vercelterminal# Plugin for Claude Code, Codex, Grok Build, Cursor, Copilot, Kimi Code npx plugins add vercel/vercel-plugin # Plugin for OpenCode opencode plugin add github:vercel/vercel-plugin # Skills for any other agent npx skills add vercel-labs/agent-skills # Let your agent manage projects, deployments, and logs npx -y add-mcp https://mcp.vercel.com -g # Route your agent's model calls through AI Gateway npx vercel ai-gateway setupterminal# Create an API key and export the key it prints vercel ai-gateway api-keys create export AI_GATEWAY_API_KEY="your-ai-gateway-api-key" # Call any model through one endpoint curl https://ai-gateway.vercel.sh/v1/chat/completions \ -H "Authorization: Bearer $AI_GATEWAY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "anthropic/claude-opus-5", "messages": [{ "role": "user", "content": "Why is the sky blue?" }] }' Set up your coding agent Set up the agent you code with, and the platform for the agents you ship. This prompt hands your agent the Vercel agent setup playbook, the same one the Onboard your agent button uses: Agent PromptSet up Vercel for me. Fetch https://vercel.com/get-started.md and follow it.Show more Vercel PluginGive your coding agent deployment skills, framework best practices, and slash commands. Works with Claude Code, OpenAI Codex, Grok Build, Cursor, GitHub Copilot, Kimi Code, and OpenCode.Agent SkillsInstall skills for any agent that supports them, covering Next.js, the AI SDK, Turborepo, and deploying to Vercel.Vercel MCPLet your agent search the docs, manage projects and deployments, and query Web Analytics through the Vercel MCP server.Vercel ConnectGive your agent short-lived tokens to call Slack, GitHub, Microsoft, Snowflake, or any OAuth or API-key service, and act on behalf of users, without storing provider secrets.Claim DeploymentsLet your agent deploy apps for users, then transfer ownership with a claim URL so each deployment lands in the user's own Vercel account.ContainersRun your agent's runtime and tools from a Docker image on Vercel Functions, or give Sandbox a custom image for the code your agent executes. What's new The latest changes across the Vercel platform. Browse the full changelog for everything that shipped. Nov 30, 2026Agents can now investigate and manage Vercel Firewall from the CLIAgents can now investigate firewall traffic and manage OWASP, Bot Protection, and AI Bots rulesets with the Vercel CLI.Nov 30, 2026Stream a Vercel Sandbox desktop to your browserStream the desktop of a Vercel Sandbox to your browser with screen-relay, an open-source Vercel Labs tool. Control it in real time from your own computer, or have an agent control it with commands.Nov 30, 2026Vercel Connect adds a managed AWS connectorVercel Connect has added a managed AWS connector. Nov 30, 2026Vercel Sandbox adds session lifecycle webhooksUse webhooks to get notified when a named Vercel Sandbox session starts or stops. View the latest Vercel updates from your terminal: terminalvercel changelog Explore changelog filters and options → Build with AI AI GatewayCall 400+ models through one endpoint with the AI SDK, any OpenAI-compatible SDK, or cURL, with budgets, fallbacks, and usage monitoring.AI SDKBuild chat, agents, and structured output in TypeScript with streaming and tool calling across React, Next.js, Vue, Svelte, and Node.js.eveDeploy and run durable backend AI agents built with eve, an open-source, filesystem-first agent framework.SandboxRun untrusted or agent-generated code in isolated, ephemeral execution environments.WorkflowsBuild durable, observable applications and AI agents with the Workflow SDK on a fully managed platform.MCP ServersBuild and deploy Model Context Protocol servers so agents can call your APIs and systems as tools. Build your app Next.jsDeploy Next.js with zero configuration, or bring one of 40+ supported frameworks.FunctionsRun server-side code on demand with Fluid compute, which scales concurrency for AI and I/O-heavy workloads.Routing MiddlewareRun code before a request completes to rewrite, redirect, or personalize responses.Incremental Static RegenerationRegenerate static pages on a schedule or on demand without rebuilding your whole site.Image OptimizationResize and convert images on demand and serve them from the CDN in modern formats.EnvironmentsManage local, preview, production, and custom environments and the variables each one uses. Secure your app Web Application FirewallBlock attacks, scrapers, and unwanted traffic with custom rules, IP blocking, and managed rulesets.Bot ManagementDetect automated traffic and decide which bots can reach your app.BotIDProtect sensitive routes from sophisticated bots with an invisible check instead of a CAPTCHA.Deployment ProtectionControl who can open your preview and production URLs with Vercel Authentication, passwords, or trusted IPs. Deploy and operate Deploy from GitConnect GitHub, GitLab, or Bitbucket to deploy on every push, with a preview URL for every branch.DomainsAdd a custom domain, manage DNS records, and get SSL certificates automatically.CDNCache responses close to your users and control routing, compression, and revalidation for every deployment.Rolling ReleasesPro and EnterpriseSend a new deployment to a percentage of traffic first, then promote it or roll back.Instant RollbackRevert production to a previous deployment without a rebuild when something breaks.ObservabilityMonitor traffic, function performance, and errors with framework-aware insights across your apps and AI workflows. Guides and tutorials Go deeper with guides, videos, and tutorials from the Vercel Knowledge Base: Agent StackBuild AI agents, integrate language models, and deploy AI-powered apps.BackendServer-side patterns, API routes, database connections, and compute.ServicesDeploy multiple frontends and backends within a single Vercel project.SecurityProtect your apps with authentication, firewall rules, and compliance guides.IntegrationsConnect third-party tools, CMSs, and services to your Vercel project.MigrationsBring your existing apps, agents, and workflows to Vercel.NextStart / Getting startedWas this helpful?