Phone numbers for
AI agents
Provision numbers, capture 2FA codes, send SMS, and make outbound AI voice calls. Three lines of Python.
"text-purple-400">from agentline "text-purple-400">import Agentline
agent = Agentline(api_key="ag_live_...")
# Provision a number and wait for a 2FA code
phone, code = agent.capture_code(
area_code="415",
timeout=60
)
print(f"Number: {phone}")
print(f"Code: {code}") # "847293"Features
Everything an agent needs to communicate
Instant Number Provisioning
Search and provision US phone numbers by area code. SMS and voice-enabled from the start.
2FA Code Capture
Long-poll API holds the connection until a verification code arrives. Regex engine extracts codes from any format.
AI Voice Calls
Outbound calls powered by Deepgram STT/TTS and Claude. Your agent gets a voice and a full transcript.
Send & Receive SMS
Full two-way messaging. Send outbound, receive inbound, auto-extract verification codes.
Provider Agnostic
Telnyx by default, swap to Twilio with one config change. Same API, same SDK, different pipes.
Real-time Webhooks
Inbound messages wake long-poll waiters instantly via Redis pub/sub. No polling loops.
Pricing
Simple, usage-based pricing
14-day free trial per number. No credit card required to start.
Phone Numbers
- ✓14-day free trial per number
- ✓50 inbound SMS/month included
- ✓SMS + voice enabled
- ✓Instant provisioning
SMS
- ✓First 50 inbound/month free
- ✓$0.02 per outbound SMS
- ✓Auto code extraction
- ✓60 outbound/hr rate limit
Voice
- ✓Outbound AI calls
- ✓Real-time STT + TTS
- ✓Claude-powered conversation
- ✓Full transcript included