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-agent
Install the Vercel CLI globally.
npm i -g vercel
Link to your Vercel project.
vercel link
Pull environment variables from Vercel.
vercel env pull
Install dependencies.
pnpm install
Start the development server.
vercel dev
Test the agent API.
curl -X POST localhost:3000/api/agent -H "Content-Type: application/json" -d '{"prompt": "Howdy"}'