Logotipo de Zernio Voice Agent

Zernio Voice Agent

Comunidad
Enriquemarq1
zernio-voice-agent

Convierte UN número de WhatsApp en una recepción con IA completa: escríbele y la IA responderá (flujo de Zernio con memoria); LLÁMALO y una IA de voz contestará (Zernio WhatsApp Calling dirige las llamadas entrantes mediante forwardTo a un agente de voz de Retell AI). Claude configura todo: el agente de Retell, el prompt de voz, la configuración de llamadas del número y el flujo de mensajes con una opción para pasar a una llamada con un toque. Probado en producción para llamadas entrantes; también incluye el nodo start_call para llamadas salientes cuando Meta las autorice. Se activa con peticiones como: «que la IA conteste mis llamadas de WhatsApp», «agente de voz para WhatsApp», «recepcionista con IA en WhatsApp», «conectar Retell con Zernio», «dirigir mis llamadas de WhatsApp a una IA» o «recepción con IA».

Add to TypingMind

Descripción general

EditorEnriquemarq1
Repositoriozernio-library-skills
Nombre de la habilidadzernio-voice-agent
Estrellas
50
Forks
13
Archivos incluidos
6
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 6

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por Enriquemarq1 en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Zernio Voice Agent en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/zernio-voice-agent
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Enriquemarq1/zernio-library-skills.git /tmp/zernio-library-skills
mkdir -p .claude/skills
cp -r /tmp/zernio-library-skills/.claude/skills/zernio-voice-agent .claude/skills/zernio-voice-agent
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Zernio Voice Agent en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Zernio Voice Agent automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Zernio Voice Agent no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

zernio-voice-agent

One WhatsApp number, full AI front desk. Text it → an AI answers in chat. Call it → an AI voice picks up. Two tools, one bridge:

  • Zernio owns the WhatsApp number: the text workflow (chat brain) and the call routing.
  • Retell AI is the voice: real-time listen → think → talk, human-sounding.
  • The bridge is one field: the number's forwardTo → your Retell agent's SIP/wss endpoint.

The skill informs; the agent acts. This file + reference/ give Claude the verified contract. You stay in control — Claude shows you both prompts, the graph, and the calling config before creating or activating anything (it goes live on a real business number).

The architecture (live-proven shape)

                       ONE WhatsApp NUMBER (Zernio, calling-eligible)
                      /                                              \
   TEXT: inbound message                                    CALL: inbound WhatsApp call
        │                                                            │
   Zernio workflow: tag → human-escape → ai (memory) → reply → wait  │ number's calling config:
        │  contact asks to TALK                                      │ forwardTo: sip:<retell>@sip.retellai.com
        └─▶ send TAP-TO-CALL deep link (wa.me/call/<number>) ────────┤
                                                                     ▼
                                                        Retell voice agent ANSWERS
                                                     (same persona as the text agent)

Why tap-to-call instead of the outbound start_call node: outbound calling is gated separately by Meta (outboundDisabled stays true on most numbers). The deep link needs only INBOUND calling, works the moment forwardTo is set, and converts better anyway — the contact chooses to call. Keep start_call for when outbound unlocks.

What Claude needs (ask once, remember in-session)

  1. ZERNIO_API_KEY + RETELL_API_KEY (Retell needs a card on file to provision a number).
  2. profileId + accountId of the WhatsApp account (GET /v1/profiles, GET /v1/accounts).
  3. A calling-eligible WhatsApp number — see the gates below. This is the long pole.
  4. The business details in plain words — for BOTH prompts (text + voice), same persona.

The three gates (check BEFORE building — each returns a specific 4xx)

  1. Retell card on file — create-phone-number returns 402 without payment.
  2. Zernio usage-based plan — calling is metered; flat plans return 422 "available on usage-based billing only". Only the account owner can switch plans.
  3. Meta messaging tier — a fresh number (TIER_250) cannot call; enabling returns 422 "requires a daily messaging limit of at least 2,000". The tier is EARNED: message ~2× your current limit in unique opted-in recipients over 7 days with good quality (250→1K→10K...). No API, payment, or support ticket bypasses this — use a warmed number or budget weeks.

The recipe (Claude follows this)

1. Build the voice agent (Retell)

Prompt from templates/retell-voice-agent.base.md (voice discipline: short turns, one question, confirm names/numbers back, no lists/URLs read aloud). Create the LLM + agent: POST /create-retell-llm → POST /create-agent (response_engine: {type: retell-llm, llm_id}, voice_id). Test in the Retell playground before wiring anything.

2. Give the agent an inbound line (Retell)

POST /create-phone-number with inbound_agents: [{agent_id, weight: 1}] (the old inbound_agent_id field is deprecated — returns 400). This number is the forward target.

3. Enable calling on the WhatsApp number (Zernio — THE bridge)

bash
curl -s -X POST "https://zernio.com/api/v1/whatsapp/phone-numbers/{phoneNumberDocId}/calling" \
  -H "Authorization: Bearer $ZERNIO_API_KEY" -H "Content-Type: application/json" \
  -d '{"accountId":"<accountId>","forwardTo":"tel:+1<retellNumber>","recordingEnabled":false}'

Use tel: for a Retell-PURCHASED number — it's the proven path. The purchased number is a real, managed phone number; forwarding by plain call needs zero extra setup. The sip:+1<num>@sip.retellai.com;transport=tcp form is the advanced option: it skips the PSTN leg (slightly cheaper/faster) but Retell's direct-SIP ingress is designed for its elastic SIP trunking (imported numbers, IP-allowlist on the SIP-sender's side — which is the platform's infra, not yours). Verify a sip: forward with a live test call before trusting it; if the call doesn't land, fall back to tel:. Verify with GET /v1/whatsapp/calling?accountId=<accountId> → expect callingEnabled: true and a callDeepLink (https://wa.me/call/<number>) — save that link for step 4. Full endpoint set + field semantics: reference/whatsapp-calling-api.md.

4. Build the text agent (Zernio workflow)

Start from templates/whatsapp-ai-front-desk.workflow.json — the live-tested graph: memory loop + human-escape + call-intent detection → sends the callDeepLink. Fill the [BRACKETS], paste the deep link, POST /v1/workflows, confirm with the user, /activate.

5. Test end to end (in this order)

Text → short reply with memory → "can we talk on a call?" → deep link arrives → tap → the voice agent answers → give a name + number → it confirms them back → hang up → chat continues → "let me talk to a REAL person" → handoff fires. Inspect runs: GET /v1/workflows/{id}/executions.

Gaps to design around (all live-verified)

  • Condition regex needs operator: "matches" — with contains the regex is treated as a literal substring and the rule silently NEVER fires (everything falls to the AI). This bug ships easily and looks like "the AI just talks a lot."
  • One persona across text + voice — same name, same warmth in both prompts, or the chat→call hop feels like a transfer. The voice agent must NOT pretend to remember chat specifics (the two brains share no history) — instruct it to "continue helping naturally."
  • Keep text replies SHORT — hard-rule the style block (max 1–2 sentences, one question). Long AI replies read as spam on WhatsApp and hurt the quality rating your tier depends on.
  • Memory accumulator on the text AI node (set_variable history trick) — without it the agent re-greets every message. Unbounded growth caveat applies (see zernio-workflow-creator).
  • outboundDisabled is separate from inbound — inbound calling live ≠ start_call works. Wire outbound only after checking the flag.
  • Recording off by default — enable only with consent + disclosure (two-party-consent laws).
  • Two bills — Zernio meters the WhatsApp/carrier side; Retell bills voice minutes + the number's monthly fee. Cents per call, but know it.
  • Both APIs move fast — re-verify against live docs before a production deploy.

Guardrails

  • Confirm before create/activate/enable-calling. Show both prompts, the graph, the forwardTo.
  • Never print API keys.
  • Workflow edits only while paused/draft — pause → PATCH → activate.
  • The voice IS the brand on the phone — pick it deliberately, test by talking, not reading.

Reference

  • reference/whatsapp-calling-api.md — Zernio WhatsApp Calling: all four calling endpoints, forwardTo forms, gates, deep link, start_call node spec.
  • reference/retell-voice-api.md — Retell wiring: agent/LLM creation, inbound_agents, SIP forms.
  • templates/whatsapp-ai-front-desk.workflow.json — the proven inbound graph (text + tap-to-call).
  • templates/whatsapp-voice-agent.workflow.json — the outbound start_call variant (for when Meta grants outbound).
  • templates/retell-voice-agent.base.md / .example.md — the voice prompt (blank + filled).
  • Pairs with zernio-workflow-creator (full 16-node Workflow API contract) and zernio-comment-to-dm (comment → DM → this front desk).

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Zernio Voice Agent?

Convierte UN número de WhatsApp en una recepción con IA completa: escríbele y la IA responderá (flujo de Zernio con memoria); LLÁMALO y una IA de voz contestará (Zernio WhatsApp Calling dirige las llamadas entrantes mediante forwardTo a un agente de voz de Retell AI). Claude configura todo: el agente de Retell, el prompt de voz, la configuración de llamadas del número y el flujo de mensajes con una opción para pasar a una llamada con un toque. Probado en producción para llamadas entrantes; también incluye el nodo start_call para llamadas salientes cuando Meta las autorice. Se activa con pet...

¿Por qué usar Zernio Voice Agent en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Zernio Voice Agent está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Zernio Voice Agent en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/zernio-voice-agent. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Zernio Voice Agent?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Zernio Voice Agent?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Zernio Voice Agent con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Zernio Voice Agent?

Sí. Enriquemarq1 la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇