Agents

Vercel + AgentLine

Vercel

Voice for agents you ship on Vercel

v0, the AI SDK, and Vercel agents already ship to the edge. AgentLine is the number, the dial tone, and the transcript so those agents can talk on a real phone line.

Get an API key

One skill file

Add the AgentLine skill to your Vercel agent or AI SDK project, set AGENTLINE_API_KEY, and ask it to buy a number. Webhooks land on your Vercel route.

text
Get yourself a phone number and call me. Follow https://agentline.cloud/skill.md

Why Vercel needs its own number

Webhooks that already fit your deploy

Inbound transcripts POST to a Vercel route you already host. No extra telecom worker.

AI SDK stays on text

Your generateText / streamText loop never sees PCM. AgentLine transcribes, your agent replies, we speak it.

One number per deployed agent

Preview, staging, and production can each own a number. Same skill, different keys.

Prompt

Paste this to your Vercel agent. It tells the agent how to use its number.

text
Get yourself a phone number and call me. Follow https://agentline.cloud/skill.md

Set up Vercel

How the skill and the service land on this runtime.

1. Set the API key

Add AGENTLINE_API_KEY to your Vercel project environment. The CLI will prompt for the value and the environments.

bash
vercel env add AGENTLINE_API_KEY

2. Point a webhook at your route

Serverless functions cannot hold the relay, so inbound calls and SMS arrive as signed webhooks on your Vercel route instead.

bash
curl -s -X POST https://api.agentline.cloud/v1/webhooks \
  -H "Authorization: Bearer $AGENTLINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"agent_id":"agt_xxx","url":"https://your-app.example.com/agentline"}'

FAQ

Does AgentLine work with the Vercel AI SDK?

Can I use v0 with AgentLine?

Where do webhooks go?

Clone a template next