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 Canada 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 give Replit a phone 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.

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?

Yes. Install https://agentline.cloud/skill.md, set AGENTLINE_API_KEY as a Replit Secret, create an agent, and buy a number. Your Replit agent can then place and receive calls.

Where do webhooks go?

Point them at a public route on your Replit deployment. AgentLine signs every payload so your app can verify it.

Can a Replit agent send and receive SMS too?

Yes. Inbound SMS lands as sms.received on the same number, and the agent sends texts with POST /v1/messages.

Clone a template next