跳到正文
Skillpedia
邮件与消息260k · #546

telephony

它能做什么

这项技能为你的 AI 提供基本的电话功能,例如购买号码、发送短信和拨打电话。适合希望 AI 处理简单电话任务的人。

适用场景

  • ✓你想让 AI 购买并长期保留一个电话号码的时候。
  • ✓你想让 AI 向该号码发送短信,或检查收到的短信的时候。
  • ✓你想让 AI 拨打一个播放简短消息的外呼电话的时候。

技能链接

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/telephony/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/telephony/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请给我登记的号码发短信确认送达,但在发送任何内容之前先问我。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能运行一个辅助脚本,用来保存你的服务商密钥和号码。它通过轮询 Twilio 服务来检查收到的短信,因此不需要 webhook 服务器。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Telephony — Numbers, Calls, and Texts without Core Tool Changes

This optional skill gives Hermes practical phone capabilities while keeping telephony out of the core tool list.

It ships with a helper script, scripts/telephony.py, that can:

  • save provider credentials into ${HERMES_HOME:-~/.hermes}/.env
  • search for and buy a Twilio phone number
  • remember that owned number for later sessions
  • send SMS / MMS from the owned number
  • poll inbound SMS for that number with no webhook server required
  • make direct Twilio calls using TwiML <Say> or <Play>
  • import the owned Twilio number into Vapi
  • place outbound AI calls through Bland.ai or Vapi

What this solves

This skill is meant to cover the practical phone tasks users actually want:

  • outbound calls
  • texting
  • owning a reusable agent number
  • checking messages that arrive to that number later
  • preserving that number and related IDs between sessions
  • future-friendly telephony identity for inbound SMS polling and other automations

It does not turn Hermes into a real-time inbound phone gateway. Inbound SMS is handled by polling the Twilio REST API. That is enough for many workflows, including notifications and some one-time-code retrieval, without adding core webhook infrastructure.

Safety rules — mandatory

  1. Always confirm before placing a call or sending a text.
  2. Never dial emergency numbers.
  3. Never use telephony for harassment, spam, impersonation, or anything illegal.
  4. Treat third-party phone numbers as sensitive operational data:
    • do not save them to Hermes memory
    • do not include them in skill docs, summaries, or follow-up notes unless the user explicitly wants that
  5. It is fine to persist the agent-owned Twilio number because that is part of the user's configuration.
  6. VoIP numbers are not guaranteed to work for all third-party 2FA flows. Use with caution and set user expectations clearly.

Decision tree — which service to use?

Use this logic instead of hardcoded provider routing:

1) "I want Hermes to own a real phone number"

Use Twilio.

Why:

  • easiest path to buying and keeping a number
  • best SMS / MMS support
  • simplest inbound SMS polling story
  • cleanest future path to inbound webhooks or call handling

Use cases:

  • receive texts later
  • send deployment alerts / cron notifications
  • maintain a reusable phone identity for the agent
  • experiment with phone-based auth flows later

2) "I only need the easiest outbound AI phone call right now"

Use Bland.ai.

Why:

  • quickest setup
  • one API key
  • no need to first buy/import a number yourself

Tradeoff:

  • less flexible
  • voice quality is decent, but not the best

3) "I want the best conversational AI voice quality"

Use Twilio + Vapi.

Why:

  • Twilio gives you the owned number
  • Vapi gives you better conversational AI call quality and more voice/model flexibility

Recommended flow:

  1. Buy/save a Twilio number
  2. Import it into Vapi
  3. Save the returned VAPI_PHONE_NUMBER_ID
  4. Use ai-call --provider vapi

4) "I want to call with a custom prerecorded voice message"

Use Twilio direct call with a public audio URL.

Why:

  • easiest way to play a custom MP3
  • pairs well with Hermes text_to_speech plus a public file host or tunnel

Files and persistent state

The skill persists telephony state in two places:

${HERMES_HOME:-~/.hermes}/.env

Used for long-lived provider credentials and owned-number IDs, for example:

  • TWILIO_ACCOUNT_SID
  • TWILIO_AUTH_TOKEN
  • TWILIO_PHONE_NUMBER
  • TWILIO_PHONE_NUMBER_SID
  • BLAND_API_KEY
  • VAPI_API_KEY
  • VAPI_PHONE_NUMBER_ID
  • PHONE_PROVIDER (AI call provider: bland or vapi)

~/.hermes/telephony_state.json

Used for skill-only state that should survive across sessions, for example:

  • remembered default Twilio number / SID
  • remembered Vapi phone number ID
  • last inbound message SID/date for inbox polling checkpoints

This means:

  • the next time the skill is loaded, diagnose can tell you what number is already configured
  • twilio-inbox --since-last --mark-seen can continue from the previous checkpoint

Locate the helper script

After installing this skill, locate the script like this:

SCRIPT="$(find ~/.hermes/skills -path '*/telephony/scripts/telephony.py' -print -quit)"

If SCRIPT is empty, the skill is not installed yet.

Install

This is an official optional skill, so install it from the Skills Hub:

hermes skills search telephony
herm
常见问题

我的 AI 会在未经询问的情况下打电话或发短信吗?

不会。技能有一项安全规则:AI 在拨打电话或发送短信之前必须先确认。

它能拨打紧急号码吗?

不能。技能规定绝不拨打紧急号码。

它能实时接听来电吗?

不能。技能说明,收到的短信是通过轮询检查的,而不是实时接收。

详情

作者的原始描述

Provision Twilio numbers, SMS/MMS, and AI outbound calls.

repo: NousResearch/hermes-agent

热度

GitHub 星标
260k
排名
#546
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能