Logo: Zernio Voice Agent

Zernio Voice Agent

Communautéit
Enriquemarq1
zernio-voice-agent

Gitt ENGEM WhatsApp-Nummer eng vollstänneg KI-Frontdesk-Funktioun — schéckt e Message, an eng KI äntwert (Zernio-Workflow mat Erënnerung); RUFFT un, an eng KI-Stëmm geet derbäi (Zernio WhatsApp Calling leet ukommend Uriff iwwer forwardTo un e Retell-KI-Stëmmagent weider). Claude verbënnt alles: de Retell-Agent plus Stëmm-Prompt, d’Uriff-Konfiguratioun fir d’Nummer an den Text-Workflow mat enger Optioun fir en Uruff mat engem Tippen weiderzeleeden. An der Praxis getest, mat Fokus op ukommend Uriff; behandelt och den outbound start_call node, fir wann Meta outbound erlaabt. Aktivéiert sech bei: „AI answers my WhatsApp calls“, „WhatsApp voice agent“, „AI receptionist on WhatsApp“, „connect Retell to Zernio“, „route my WhatsApp calls to an AI“, „AI front desk“.

Add to TypingMind

Iwwersiicht

EditeurEnriquemarq1
Repositoryzernio-library-skills
Skill-Nummzernio-voice-agent
Stären
50
Forks
13
Matgeliwwert Dateien
6
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 6 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Enriquemarq1 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Zernio Voice Agent an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/zernio-voice-agent
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Zernio Voice Agent an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Zernio Voice Agent automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Zernio Voice Agent net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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).

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Zernio Voice Agent?

Gitt ENGEM WhatsApp-Nummer eng vollstänneg KI-Frontdesk-Funktioun — schéckt e Message, an eng KI äntwert (Zernio-Workflow mat Erënnerung); RUFFT un, an eng KI-Stëmm geet derbäi (Zernio WhatsApp Calling leet ukommend Uriff iwwer forwardTo un e Retell-KI-Stëmmagent weider). Claude verbënnt alles: de Retell-Agent plus Stëmm-Prompt, d’Uriff-Konfiguratioun fir d’Nummer an den Text-Workflow mat enger Optioun fir en Uruff mat engem Tippen weiderzeleeden. An der Praxis getest, mat Fokus op ukommend Uriff; behandelt och den outbound start_call node, fir wann Meta outbound erlaabt. Aktivéiert sech be...

Firwat Zernio Voice Agent op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Zernio Voice Agent besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Zernio Voice Agent an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/zernio-voice-agent an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Zernio Voice Agent benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Zernio Voice Agent benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Zernio Voice Agent domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Zernio Voice Agent gratis?

Jo. Enriquemarq1 huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇