Project Setup
In this session, we'll be exploring building Agents with the AI SDK, Vercel Gateway and Vercel Sandbox.
Let's start by setting up our project.
Clone the new project's repository locally.
git clone https://github.com/your-username/vercel-ship-25-coding-agent.git
cd vercel-ship-25-coding-agentInstall the Vercel CLI globally.
npm i -g vercelLink to your Vercel project.
vercel linkPull environment variables from Vercel.
vercel env pullInstall dependencies.
pnpm installStart the development server.
vercel devTest the agent API.
curl -X POST localhost:3000/api/agent -H "Content-Type: application/json" -d '{"prompt": "Howdy"}'