Vercel or a server: where should what your AI agent builds live?

Vercel now ships an MCP server, long-running sandboxes, persistent drives and always-on workers. Here is an honest comparison with a persistent agent server, and how to tell which one the thing your agent built actually needs.

Nov 2, 20269 min read

"Vercel for AI agents" is the shorthand people reach for when they describe products like ours, and in 2026 Vercel has made the comparison literal. It has an official MCP server, sandboxes that run for up to a day, persistent drives for agent workspaces, and, since October, always-on background workers. If your agent can already deploy to Vercel, why would it need anything else?

Sometimes it does not. This guide sets out what Vercel offers agents today, where a persistent server is a different shape of thing, and how to decide based on what the agent is actually building. We make Server4Agent, so weigh our view with that in mind. Every Vercel detail below links to Vercel's own documentation as it read on 2 November 2026, and Vercel moves fast, so check those pages before you commit.

Quick answer

  • Use Vercel when there is an engineer in the loop, the result is a web app or API that should sit on a global network, and your team already ships there. Connect Vercel's MCP server and your agent can work inside the deploy pipeline you already trust.
  • Use a persistent agent server such as Server4Agent when the person asking may never read the code, and the result is a tool that has to keep running: a bot holding a connection, a job that fires every ten minutes, a dashboard with data on disk, an internal tool behind a password. The agent builds and runs all of it in one place, from the chat, with no repository or config files to set up first.
  • Use both when it fits. Plenty of teams keep their product and marketing site on Vercel and give their agents a server for the internal tools, monitors and bots around it.

What Vercel gives an agent in 2026

Vercel is no longer only a place to deploy front ends. The pieces that matter for agents:

  • An official MCP server. Vercel's MCP tools reference lists 217 catalog tools, covering deployments, logs, domains, environment variables and sandboxes. An assistant connected to it can inspect and operate your Vercel projects.
  • Functions with longer limits. With Fluid compute, a function can run for 5 minutes on Hobby and up to 800 seconds on Pro, with 30 minutes in beta. Functions can also serve WebSocket connections, which close when the function reaches that maximum duration.
  • Cron jobs. Available on every plan, but on Hobby a job runs at most once a day, within the hour it is due. Pro runs them as often as every minute.
  • Sandboxes. Vercel Sandbox sessions run for up to 45 minutes on Hobby and up to 24 hours on Pro and Enterprise. By default the filesystem is snapshotted when a session stops, and the next session resumes from it. Running processes have to be started again.
  • Drives. Vercel Drives are persistent directories a sandbox mounts, so files outlive any single session.
  • Daemons. Vercel Daemons, in public beta since October, keep a container running continuously: queue consumers, workflow workers, job runners. During the beta they run only in production deployments, accept no inbound HTTP or TCP traffic, and have no persistent local storage. You package one with a Dockerfile and declare it in vercel.json.

That is a serious set of building blocks, and every one of them is aimed at a developer assembling a system.

Where a persistent server is a different shape

The difference is less about what is possible and more about who assembles it.

On Vercel, a small internal tool with a bot, a schedule and some saved data is four products: a function for the web page, a cron job for the schedule, a daemon (with its own Dockerfile) for the bot, and a drive or an external database for the data. Each has its own limits and its own configuration, and the whole thing ships through a deployment. That is a fine architecture for a product with engineers behind it. It is a lot to ask of an agent working for someone who described the tool in one sentence.

On a persistent server, the same tool is one folder and a few processes:

  • The web page is a process listening on the project's port. It is an ordinary program that keeps running between requests, rather than a function that stops at a time limit.
  • The bot is another named process, started the same way. It needs no public address and comes back by itself after the server restarts.
  • The schedule is a line in the server's crontab, as often as every minute.
  • The data is a file or a database on the server's disk, which persists between sessions.

The agent does all of this through one connector, with a shell, a filesystem and a log it can read. It can run what it wrote, see the error, and fix it before anyone looks.

Side by side

VercelServer4Agent
Built forDevelopers shipping web apps and APIs to a global networkAgents building, running and hosting tools from a request
Starting pointA project from a repository, the CLI or a dropA project the agent creates on a server, with nothing needed beforehand
A web appFunctions, up to 5 minutes on Hobby and 800 seconds on Pro per invocationA process on the server that keeps running between requests
Something always runningDaemons (beta): production only, no inbound traffic, no persistent local storageAny named process, restarted after a server restart
Scheduled jobsCron: once a day on Hobby, every minute on ProThe server's crontab, as often as every minute, on every plan
Files that persistDrives mounted into sandboxes, or an external storeThe project folder on the server's disk
Who it is private toYour Vercel deployment protection settingsNobody until you choose: your team, a password, or everyone
SpendingUsage-based, with spend management settingsOne account-wide budget cap, covering compute and AI, that agents cannot raise
Global edge networkYesNo. Tools are served from the server they run on

When Vercel is the better choice

Be honest about this part, because it decides most cases.

  • Your product already runs there. If your agent is changing the app your customers use, it should work inside the deploy pipeline your engineers already review, with preview deployments and rollbacks. Connect Vercel's MCP server and keep one source of truth.
  • The result needs a global network. A public site with traffic from everywhere wants a CDN and edge caching. A single server is the wrong shape for that.
  • There is an engineer who wants the primitives. Daemons, Queues, Workflows and Drives are composable on purpose. A developer who wants that control will get more out of Vercel than out of a box.

When a persistent server fits better

  • The person asking does not code. A founder or ops lead asking a chat app for a tool should get a link back, not a vercel.json to review.
  • The tool keeps running on its own. Monitors, bots, digests and anything with a schedule are processes that live for months. On a server that is the normal case rather than a beta.
  • The agent should work on the result over time. The same server keeps the files, the processes and the history, so "add a column" next week continues the work instead of rebuilding it.
  • You want one ceiling on spending. An agent working on its own can start work nobody approved. One hard cap on the account, which the agent cannot raise, covers the server and the AI it uses.

The longer version of this argument is in why AI agents need persistent workspaces and sandboxes vs build servers.

Using both

The two are not exclusive, and the handoff is easy in one direction. Every Server4Agent project is a git repository with its full history. When an internal tool an agent built turns into something customers use, an engineer can export the project and deploy it to Vercel like any other repository. The reverse is also common: the marketing site stays on Vercel while the agent's monitors, bots and internal dashboards live on a server next to it.

FAQ

Can my AI assistant deploy to Vercel directly?

Yes. Connect Vercel's MCP server or let the assistant use the Vercel CLI, with your Vercel account and project. That is the right setup when the result belongs in an existing Vercel project.

Does Vercel have always-on servers now?

It has always-on workers. Daemons keep a container running and restart it if it exits, but during the beta they take no inbound traffic, run only in production and have no persistent local storage. A web app on Vercel still runs as functions.

Is a persistent server more expensive?

It can be cheaper or dearer depending on the shape of the work. A server that is awake all month costs more than a function that runs for a second a day. Server4Agent servers that are idle (no public project, no schedule, nothing running) go to sleep and stop costing compute, and a budget cap bounds the rest. Our plans are on the pricing page: a free plan, Starter at $29 a month and Pro at $99.

Can I move a project from Server4Agent to Vercel later?

Yes. Export the project's repository and deploy it like any other code. Code that relies on the server's crontab or a long-running process will need Vercel's Cron Jobs or Daemons in its place.

Related reading

External references

Questions, or a tool you want built?

Ask us about this post, or tell us what you would hand to an assistant first. A person reads every message and answers within one business day.