详细分析 ▾
运行时依赖
版本
Initial release: AI-powered outbound calls with ElevenLabs voice, GPT brain, and Twilio. Supports one-way messages and live two-way conversations.
安装命令 点击复制
技能文档
Make AI-powered outbound calls via Twilio, voiced by ElevenLabs, with optional live GPT-powered conversation.
Two Modes
Mode 1: One-way 消息 — Generate audio 带有 ElevenLabs, 上传 , play 在...上 Twilio call. Simple, fast, 否 server needed.
Mode 2: Interactive conversation — 开始 server.py, call 带有 webhook URL. AI listens 到 responses (Twilio STT), thinks (GPT), 和 speaks back (ElevenLabs) 在...中 real-时间. Ends 带有 auto-summary sent 通过 iMessage.
必填 Credentials (env vars)
ELEVENLABS_API_KEY # from elevenlabs.io
TWILIO_ACCOUNT_SID # from console.twilio.com (starts with AC...)
TWILIO_AUTH_TOKEN # from console.twilio.com
TWILIO_PHONE_NUMBER # your Twilio number e.g. +12025551234
OPENAI_API_KEY # for interactive mode brain
Mode 1: One-way Call
python3 scripts/one_way_call.py \
--to "+13105551234" \
--text "Hey! Just calling to say good morning." \
--voice "tyepWYJJwJM9TTFIg5U7" # optional, defaults to Clara (Australian female)
See references/voices.md for curated voice IDs.
Mode 2: Interactive Conversation
Step 1 — 开始 tunnel (needed 所以 Twilio 可以 reach server)
npx localtunnel --port 5050 --subdomain my-caller
# Note the URL: https://my-caller.loca.lt
Step 2 — 开始 server
export CLARA_PUBLIC_URL="https://my-caller.loca.lt"
python3 scripts/server.py
Step 3 — 使 call
python3 scripts/interactive_call.py \
--to "+13105551234" \
--url "https://my-caller.loca.lt" \
--persona "You are calling a restaurant to book a table for 2 at 8pm tonight." \
--opening "Hi! I'd like to make a reservation for two people this evening around 8pm. Do you have availability?"
When the call ends, a GPT-generated summary is automatically sent via iMessage to MASTER_PHONE env var.
Scheduling Call
Use macOS cron for timed calls:
# Add to crontab — this example calls at 8:45 AM
crontab -e
45 8 24 2 * python3 /path/to/scripts/one_way_call.py --to "+1..." --text "Good morning!" >> /tmp/call.log 2>&1
Voice Selection
- 默认: Clara
tyepWYJJwJM9TTFIg5U7— Australian female, warm, 清除, professional - See
references/voices.md对于 满 curated 列表 带有 IDs 和 descriptions
键 Notes
- Twilio trial accounts: 可以 仅 call verified numbers. Upgrade 或 验证 numbers 在 console.twilio.com → Verified Caller IDs
- Audio hosting: Scripts 使用 tmpfiles.org 对于 one-off calls (60 min TTL). 对于 scheduled calls, server.py serves audio 在
/audio/通过 tunnel - localtunnel: Free, 否 账户 needed. ngrok requires free 账户 + authtoken
- Interactive mode latency: ~3-5s per turn (ElevenLabs TTS + GPT + audio 上传). Normal 对于 phone conversations
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制