Files
vercel__eve/docs/guides/deployment/overview.md
T
2026-08-12 21:49:04 -04:00

3.5 KiB
Raw Blame History

title, description
title description
Overview Choose a deployment strategy and prepare an eve agent for production.

Deploy eve to Vercel or run it as a Node service on your own infrastructure. Your deployment strategy determines the build output, workflow storage, sandbox backend, and routing. The agents filesystem-based configuration remains portable across these strategies.

Choose a deployment strategy

Choose where the eve runtime will run:

Strategy Build output Workflows Sandbox Choose it when
Vercel .vercel/output Vercel Workflow Vercel Sandbox You want Vercel to operate the runtime services
Self-hosting .output/ Node server Local or custom Workflow world Docker, microsandbox, or custom You operate your own Node or container infrastructure

eve is frontend agnostic and can be deployed within Next.js, Nuxt, or SvelteKit applications. See Frontend integrations for more details.

Prepare for production

Every production deployment must satisfy the same runtime requirements:

  1. Run eve build to compile the agent and create host output.
  2. Provide a model credential and any secrets required by tools, connections, and route authentication.
  3. Replace placeholderAuth() with a production route policy before accepting browser traffic.
  4. Select workflow and sandbox implementations that match the host.
  5. Verify the health route and complete a real agent turn.

eve build always writes compiler artifacts under .eve/. A Vercel build also writes .vercel/output. A build for another host writes the standard Nitro server under .output/.

Configure credentials

Keep credentials in your deployment environment or secret manager. Dont include them in source or compiled artifacts.

Your model configuration determines the required credential. A string model ID uses the Vercel AI Gateway and requires Vercel project OpenID Connect (OIDC) or AI_GATEWAY_API_KEY. A provider-authored model uses that providers package and API key. See Agent configuration for both forms.

Configure production route authentication separately from model access. The default policy rejects browser traffic in production. See Authentication for the available policies and secret requirements.

Verify the deployment

Check the public health route first:

curl https://your_agent.example.com/eve/v1/health

Then connect the development terminal user interface (TUI) to the deployment and send a real message:

eve dev https://your_agent.example.com

Set VERCEL_AUTOMATION_BYPASS_SECRET locally first if a Vercel deployment uses Deployment Protection.

Continue with a platform guide

Follow the guide for your deployment platform or application topology: