Vercel + AgentLine
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.
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.
Get yourself a phone number and call me. Follow https://agentline.cloud/skill.mdWhy give Vercel a phone 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.
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.
vercel env add AGENTLINE_API_KEY2. 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.
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?
Yes. Install the skill or call the REST API from a Vercel route. Your agent reads transcripts and writes the next sentence.
Can I use v0 with AgentLine?
Yes. Paste the install prompt into v0, set AGENTLINE_API_KEY, and ask it to create an agent and buy a number.
Where do webhooks go?
Point them at a public Vercel function. AgentLine signs every payload. A webhook URL is the fallback if you cannot run the local relay.