Logo : Phone Calls

Phone Calls

OrganisationPopulaire
vellum-ai
phone-calls

Make outgoing phone calls, receive incoming calls, and pull up past call transcripts

Présentation

Éditeurvellum-ai
Dépôtvellum-assistant
Nom de la compétencephone-calls
Étoiles
1.3K
Forks
186
Fichiers inclus
8
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 8

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par vellum-ai sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Phone Calls dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/vellum-ai/vellum-assistant/tree/main/assistant/src/config/bundled-skills/phone-calls
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vellum-ai/vellum-assistant.git /tmp/vellum-assistant
mkdir -p .claude/skills
cp -r /tmp/vellum-assistant/assistant/src/config/bundled-skills/phone-calls .claude/skills/phone-calls
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Phone Calls dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Phone Calls dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Phone Calls n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

You are helping the user set up and manage phone calls via Twilio. This skill covers enabling the calls feature, placing outbound calls, receiving inbound calls, and interacting with live calls. Twilio credential storage, phone number provisioning, and public ingress are handled by the twilio-setup skill.

External Identity

When speaking on behalf of your user during calls, refer to yourself as an "assistant" (not "AI assistant"). Use your user's name and pronouns from their user persona file (users/<slug>.md). Don't volunteer that you are an AI unless directly asked.

Overview

The calling system connects both outbound and inbound voice calls over Twilio Media Streams: the assistant transcribes and synthesizes call audio itself using the STT provider telephony selects (services.stt.roles.telephony when set, otherwise services.stt.provider) and the TTS provider (services.tts.provider, default: ElevenLabs), so working API keys for both are required before calls can connect. After Twilio setup, the assistant prompts the user to choose a voice from a curated list of supported options.

Initial Setup

Follow the steps below to ensure everything is prepared to make and receive phone calls.

Step 1: Twilio Setup

Immediately load the twilio-setup skill to begin setup. That skill marks Twilio setup as started before its read-only checks, which gives managed deployments a chance to open the Velay tunnel WebSocket while the user finishes entering credentials and choosing a number. Twilio setup is a prerequisite to all subsequent steps.

Step 2: Enable Calls

Once Twilio is confirmed to be fully configured, enable calls by updating the config:

bash
assistant config set calls.enabled true

Verify:

bash
assistant config get calls.enabled

Step 3: Choose a Voice

Voice selection and tuning are handled by the elevenlabs-voice skill. Follow the instructions there to pick a curated voice, optionally set up an ElevenLabs API key for advanced selection, or tune voice parameters.

Step 4: Verify Setup (Test Call)

Before making real calls, offer a quick verification. Suggest a test call to the user's own phone: "Want to do a quick test call to your phone to make sure everything works? This is a good way to make sure everything works and that you like the way I sound."

If they agree, ask for their personal phone number and place a test call with a simple task like "Introduce yourself and confirm the call system is working."

Step 5: Guardian Verification

The final step is for the user to verify themselves so that they are recognized when they call you. It's also a great way for them to hear what you sound like and decide if they want you to use a different voice.

Load the guardian-verify-setup skill and follow the instructions for guardian verification over the phone channel. This will require the user to provide you with their phone number and then for you to give them a call. Say something like:

Want to do a quick verification call now so that you can hear what I sound like and also so that I recognize your number when you call me in the future? I'll show a 6 digit code here in the chat and when you answer my call, enter it using your phone's keypad.

You can check their verification status with:

bash
assistant channel-verification-sessions status --channel phone --json

After they are verified, ask them what they think of your voice and offer to let them change it. Load up the elevenlabs-voice skill and follow the instructions there to see what voices are available and how to update your configured voice. Say something like:

Great, you're verified! What did you think of my voice? We can update it if you'd like.

Making Outbound Calls

Use the call_start tool to place outbound calls. Every call requires:

  • phone_number: The number to call in E.164 format (e.g. +14155551234)
  • task: What the call should accomplish - this becomes the AI voice agent's objective
  • context (optional): Additional background information for the conversation

Example calls:

Making a reservation:

call_start phone_number="+14155551234" task="Make a dinner reservation for 2 people tonight at 7pm" context="The user's name is John Smith. Prefer a table by the window if available."

Calling a business:

call_start phone_number="+18005551234" task="Check if they have a specific product in stock" context="Looking for a 65-inch Samsung OLED TV, model QN65S95D. Ask about availability and price."

Following up on an appointment:

call_start phone_number="+12125551234" task="Confirm the dentist appointment scheduled for next Tuesday at 2pm" context="The appointment is under the name Jane Doe, DOB 03/15/1990."

Caller identity in calls

Implicit calls always use the assistant's Twilio number (assistant_number). Only specify caller_identity_mode when the user explicitly requests a different identity for a specific call.

Default call (assistant number):

call_start phone_number="+14155551234" task="Check store hours for today"

Call from the user's own number:

call_start phone_number="+14155551234" task="Check store hours for today" caller_identity_mode="user_number"

Decision rule: Implicit calls (no explicit mode) always use the assistant's Twilio number. Only use caller_identity_mode="user_number" when the user explicitly requests it for a specific call.

Phone number format

Phone numbers MUST be in E.164 format: + followed by country code and number with no spaces, dashes, or parentheses.

  • US/Canada: +1XXXXXXXXXX (e.g. +14155551234)
  • UK: +44XXXXXXXXXX (e.g. +442071234567)
  • International: +{country_code}{number}

If the user provides a number in a different format, convert it to E.164 before calling. If the country is ambiguous, ask.

Trial account limitations

On Twilio trial accounts, outbound calls can ONLY be made to verified numbers. If a call fails with a "not verified" error:

  1. Tell the user they need to verify the number at https://console.twilio.com/us1/develop/phone-numbers/manage/verified
  2. Or upgrade to a paid Twilio account to call any number

Receiving Inbound Calls

Once Twilio is configured and the assistant has a phone number, inbound calls work automatically. When someone dials the assistant's number:

  1. The gateway resolves the assistant by phone number and forwards to the runtime
  2. A new voice session is created, keyed by the Twilio CallSid
  3. The LLM-driven orchestrator answers in receptionist mode - greeting the caller warmly and asking how it can help
  4. The conversation proceeds naturally, with ASK_GUARDIAN dispatches to consult the user when needed

No additional configuration is needed beyond Twilio setup and calls.enabled being true. As long as the phone number has been provisioned/assigned, inbound calls are handled automatically.

Guardian voice verification for inbound calls

To set up guardian verification, load the skill: skill_load skill=guardian-verify-setup. Once a guardian binding exists, inbound callers may be prompted for verification before calls proceed.

Interacting with a Live Call

During an active call, the user can interact with the AI voice agent via the HTTP API endpoints. After placing a call with call_start, use call_status to poll the call state.

Answering questions

When the AI voice agent encounters something it needs user input for, it dispatches an ASK_GUARDIAN request to all configured guardian channels (mac desktop, Telegram). The call status changes to waiting_on_user.

  1. The question is delivered simultaneously to every configured channel. The first channel to respond wins (first-response-wins semantics) -- once one channel provides an answer, the other channels receive a "already answered" notice.
  2. On the mac desktop, a guardian request conversation is created with the question. On Telegram, the question text and a request code are delivered via the gateway.
  3. If DTMF callee verification is enabled, the callee must enter a verification code before the call proceeds (see the DTMF Callee Verification section above).
  4. The guardian provides an answer through whichever channel they prefer. The answer is routed to the AI voice agent, which continues the conversation naturally.

Important: Respond to pending questions quickly. There is a consultation timeout (default: 2 minutes). If no answer is provided in time, the AI voice agent will move on.

Guardian timeout and follow-up

When a consultation times out, the voice agent apologizes to the caller and moves on -- but the interaction is not lost. If the guardian responds after the timeout:

  1. Late reply detection: The system recognizes the late answer on whichever channel it arrives (desktop or Telegram) and presents a follow-up prompt asking the guardian what they would like to do.
  2. Follow-up options: The guardian can choose to:
    • Call back the original caller with the answer
    • Send a text message to the caller with the answer
    • Decline if the follow-up is no longer needed
  3. Automatic execution: If the guardian chooses to call back or send a message, the system resolves the original caller's phone number from the call record and executes the action automatically -- placing an outbound callback call or sending a message via the gateway.

All user-facing messages in this flow (timeout acknowledgments, follow-up prompts, completion confirmations) are generated by the assistant to maintain a natural, conversational tone. No fixed/canned responses are used.

The follow-up flow works across all guardian channels. The guardian can receive the timeout notice on Telegram and choose to call back -- the system handles cross-channel routing transparently.

Steering with instructions

When there is no pending question but the call is still active, the user can send steering instructions via the HTTP API (POST /v1/calls/:id/instruction) to proactively guide the call in real time - for example:

  • "Ask them about their cancellation policy too"
  • "Wrap up the call, we have what we need"
  • "Switch to asking about weekend availability instead"
  • "Be more assertive about getting a discount"

The instruction is injected into the AI voice agent's conversation context as high-priority input, and the agent adjusts its behavior accordingly.

Note: Steering is done via the HTTP API, not the desktop chat conversation. The desktop conversation only receives pointer/status messages about the call.

Call status values

  • initiated - Call is being placed
  • ringing - Phone is ringing on the other end
  • in_progress - Call is connected, conversation is active
  • waiting_on_user - AI agent needs input from the user (check pending question)
  • completed - Call ended successfully
  • failed - Call failed (check lastError for details)
  • cancelled - Call was manually cancelled

Ending a call early

Use call_end with the call session ID to terminate an active call:

call_end call_session_id="<session_id>" reason="User requested to end the call"

Reference

For detailed information on the following topics, see the reference files:

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Phone Calls ?

Make outgoing phone calls, receive incoming calls, and pull up past call transcripts

Pourquoi utiliser Phone Calls sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Phone Calls se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Phone Calls dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/vellum-ai/vellum-assistant/tree/main/assistant/src/config/bundled-skills/phone-calls. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Phone Calls ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Phone Calls ?

Autant que vous le souhaitez. Vous pouvez utiliser Phone Calls avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Phone Calls est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par vellum-ai sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇