Vercel — AI · · 1 min read

Build with OpenAI Agents API on Vercel

Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.

OpenAI Agents API provides an OpenAI-hosted agent harness for long-running, tool-using workflows. You can host the agent experience on Vercel and connect each session to Vercel Sandbox for code execution and file access.

OpenAI runs the agent loop and maintains session state. Signed OpenAI webhooks are processed through Vercel Queues, while Vercel Sandbox provides an isolated, persistent execution environment for each agent session.

With this integration, you get:

  • An OpenAI-managed agent loop and session state

  • Durable processing of sandbox lifecycle events

  • An isolated execution environment for every agent session

  • Persistent workspaces that remain available across follow-up instructions

  • A scale-to-zero architecture without long-lived virtual machines

Follow the step-by-step guide to build and deploy an agent, or explore the sample application.

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from Vercel — AI