Skip to content
vellum-aiPublic

About

An agent plugin to give your assistant access to SMS

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

sms

An SMS channel for the Vellum assistant, backed by Twilio.

What it does

Makes the assistant reachable by text message. People text the configured Twilio number, and the assistant answers over SMS. The assistant can also send on request via the sms skill.

What it does not do

It does not read the user's personal text messages, history, or existing threads. Inbound arrives only on the configured Twilio line.

Getting started

  1. Create or sign in to a Twilio account.
  2. Find the live Account SID and Auth Token in the Twilio Console.
  3. Ask the assistant to set up SMS. It securely collects those two credentials, checks the SMS-capable phone numbers already owned by the Twilio account, and helps choose one for the assistant.
  4. If the account has no SMS-capable number, the assistant can search Twilio's available inventory for a country and present choices. It asks for explicit confirmation before purchasing the selected number in that Twilio account.

The Twilio account, number ownership, and billing remain with the user. Do not paste credentials into chat or run a terminal command yourself.

When the assistant has a public ingress URL, the plugin programs the selected number's SMS webhook automatically. If there is no public ingress URL, inbound SMS cannot arrive until one is available.

For Twilio's account, number, and messaging setup, see Send SMS and MMS messages.

The auth token is also the webhook signing key.

Twilio specifics worth writing down

  • US traffic may need A2P 10DLC registration. Check Twilio's messaging compliance requirements if carriers do not deliver messages.
  • Trial accounts can only text verified numbers added to the Twilio Console.
  • Status callbacks are not messages. A delivery that has MessageStatus but no Body is ignored rather than treated as a conversation turn.
  • MessagingServiceSid numbers are out of scope for v1. The webhook for a number in a messaging service is programmed on the service, not the number.

Development

bun install
bun test
bunx tsc --noEmit

About

An agent plugin to give your assistant access to SMS

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages