Signed-off-by: Colton Padden <colton.padden@vercel.com>
3.5 KiB
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 agent’s 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:
- Run
eve buildto compile the agent and create host output. - Provide a model credential and any secrets required by tools, connections, and route authentication.
- Replace
placeholderAuth()with a production route policy before accepting browser traffic. - Select workflow and sandbox implementations that match the host.
- 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. Don’t 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 provider’s 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:
- Deploy to Vercel: use Vercel Build Output, Workflow, Sandbox, Cron, and observability
- Self-host eve: run the Nitro Node server with infrastructure you manage
- Frontend integrations: mount eve alongside Next.js, Nuxt, or SvelteKit