Agents

Replit + AgentLine

Replit

Give your Replit agent its own phone number

Replit already hosts your app and your agent session. AgentLine adds a real US or Canadian number so that agent can place calls, answer inbound voice, and read SMS.

Get an API key

One skill file

Add the AgentLine skill to your Replit project or Replit Agent session, store AGENTLINE_API_KEY as a Replit Secret, and ask it to provision a number. Webhooks land on your Replit deployment URL.

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

Why Replit needs its own number

A number for the workspace

Replit gives the project a URL. AgentLine gives it a phone line: its own E.164 identity, never your personal phone.

Webhooks that already fit Replit

Inbound transcripts POST to a route on your Replit deployment. No extra telecom worker to host.

Same skill as every other runtime

skill.md installs the same way as Cursor and Claude Code. No Replit-specific SIP config.

Prompt

Paste this to your Replit 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 Replit

How the skill and the service land on this runtime.

1. Store the API key as a Secret

Open your Repl → Tools → Secrets and add AGENTLINE_API_KEY with your al_live_... key. Verify it is visible to the shell:

bash
echo "key present: $(printenv AGENTLINE_API_KEY | head -c 8)..."

2. Point a webhook at your deployment

Inbound calls and SMS arrive as signed webhooks on your Replit deployment URL. Workspace processes stop when the tab closes, so for an always-on relay instead, use a Reserved VM deployment.

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 Replit Agent?

Where do webhooks go?

Can a Replit agent receive SMS too?

Clone a template next