Skip to content
Docs

Running eve Agents Durably on Vercel

eve is Vercel's framework for durable AI agents. Every eve session already runs as a durable workflow on the Workflow SDK and its Worlds, the same foundation as the other harnesses in these guides. A crash, a function timeout, or a redeploy resumes the session from its last completed step.

There's nothing to add: you don't install durable-harness, write a flow route, or configure a queue. To learn how durability works, see Running Agent Harnesses Durably.

  1. The eve CLI scaffolds a new agent project, installs its dependencies, and opens the terminal UI:

    npx eve@latest init my-agent

    To add eve to an existing app, follow the eve framework guide.

  2. Configure authentication for your callers, then deploy to Production from the new project:

    cd my-agent
    npx eve deploy

    See Deploying eve to Vercel for project linking, credentials, and deployment checks.

For tools that need system binaries or CPU-heavy processing, publish a job to Vercel Queues and let a Vercel Daemon process it. The eve session can wait without holding compute until the worker returns the result through the session API. eve manages session durability; make the worker's jobs safe to retry.

Follow Use Vercel Daemons with eve agents for the implementation.

For agents, tools, channels, and everything else, see the eve documentation and eve on Vercel.

Yes. On Vercel, each eve session runs on Vercel Workflows, with no extra configuration. eve checkpoints progress between steps, resumes pending work after a crash, a function timeout, or a redeploy, and suspends the session while it waits for approval or user input. You don't add a workflow wrapper or configure a separate database or queue. See Run durable sessions with Vercel Workflows.

No. durable-harness makes other harnesses, such as Pi, OpenCode, Claude Code, and Codex, durable on a Workflow SDK World. eve already runs every session as a durable workflow on the same foundation, so you don't install durable-harness, write a queue route, or configure a queue. Create the agent with npx eve@latest init and deploy it with npx eve deploy.

It can. Completed steps reuse their recorded results, but a step that a crash interrupts can execute again. Make tool actions that send emails, create records, or charge customers idempotent, for example by passing the system you call an idempotency key, so a retry doesn't repeat the external action. For work you hand to a Vercel Daemon, make the worker's jobs safe to retry too.

No. The model string in agent/agent.ts routes requests through AI Gateway, and on Vercel eve authenticates with the project's OIDC token. To use API credits from an eligible ChatGPT or Claude subscription, add that organization's key to AI Gateway Bring Your Own Key (BYOK). Your deployed agent keeps authenticating to AI Gateway with OIDC. See Use ChatGPT or Claude API credits for your agent.

eve uses the billing and limits of the Vercel resources your agent consumes. These include Vercel Functions for agent routes and tools, Vercel Workflows for durable sessions, Vercel Sandbox for isolated code execution, AI Gateway for model calls, and Tracing for Agent Runs spans. Use Agent Runs to inspect a representative task's model and tool calls, and set up Spend Management for your team.


Was this helpful?

supported.