Zernio Voice Agent 标志

Zernio Voice Agent

社区
Enriquemarq1
zernio-voice-agent

为一个 WhatsApp 号码打造完整的 AI 前台:给它发消息,AI 就会回复(使用带记忆功能的 Zernio 工作流);拨打这个号码,AI 语音助手就会接听(Zernio WhatsApp Calling 通过 forwardTo 将来电转接给 Retell AI 语音智能体)。Claude 会配置整套系统:Retell 智能体及其语音提示词、该号码的呼叫设置,以及带有一键呼叫升级功能的消息工作流。已验证可正常处理呼入电话;也涵盖 Meta 开通外呼权限后使用的 outbound start_call 节点。适用于以下需求:“让 AI 接听我的 WhatsApp 电话”“WhatsApp 语音智能体”“WhatsApp AI 接待员”“将 Retell 连接到 Zernio”“把我的 WhatsApp 电话转接给 AI”或“AI 前台”。

Add to TypingMind

概览

发布者Enriquemarq1
代码仓库zernio-library-skills
技能名称zernio-voice-agent
星标数
50
复刻数
13
附带文件
6
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 6 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Enriquemarq1 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Zernio Voice Agent AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/zernio-voice-agent
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Zernio Voice Agent,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Zernio Voice Agent。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Zernio Voice Agent 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Zernio Voice Agent AI 技能有什么作用?

为一个 WhatsApp 号码打造完整的 AI 前台:给它发消息,AI 就会回复(使用带记忆功能的 Zernio 工作流);拨打这个号码,AI 语音助手就会接听(Zernio WhatsApp Calling 通过 forwardTo 将来电转接给 Retell AI 语音智能体)。Claude 会配置整套系统:Retell 智能体及其语音提示词、该号码的呼叫设置,以及带有一键呼叫升级功能的消息工作流。已验证可正常处理呼入电话;也涵盖 Meta 开通外呼权限后使用的 outbound start_call 节点。适用于以下需求:“让 AI 接听我的 WhatsApp 电话”“WhatsApp 语音智能体”“WhatsApp AI 接待员”“将 Retell 连接到 Zernio”“把我的 WhatsApp 电话转接给 AI”或“AI 前台”。

为什么在 TypingMind 中使用 Zernio Voice Agent?

因为您只需安装一次,就能搭配任何模型使用。Zernio Voice Agent 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Zernio Voice Agent?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/zernio-voice-agent。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Zernio Voice Agent?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Zernio Voice Agent 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Zernio Voice Agent 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Zernio Voice Agent AI 技能免费吗?

是的。Enriquemarq1 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇