Installation

Install the agent SDK and its dependencies.

Install the SDK

npm i experimental-agent

Peer dependencies

The SDK uses the Vercel AI SDK for tool definitions, model selection, and streaming. Install ai alongside it:

npm i ai

If you want durable execution via Vercel Workflow, also install workflow:

npm i workflow

Next steps

On this page

GitHubEdit this page on GitHub