/iblai-vibe:iblai-vibe-agent-voicefrom ibl.ai vibe
Adds the agent Voice tab to a Next.js app, configuring text-to-speech voice, voice instructions, call settings (style, language, provider, Smart Document Retrieval), and dictation (language, hints, microphone visibility) per agent.
Ships in ibl.ai vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Add the agent Voice tab (AgentVoiceTab) -- how the agent sounds and
listens. Scope: per agent; every user of the agent gets the same voice
and call settings. The tab opens with an info box, then three sub-tabs that
are always usable: Voice (the voice that reads chat replies), Calls
(how live calls behave), and Dictation (the speech-to-text side). Calls
and Dictation each open with a box of two switches, In-App Chat and
Embed Widget, that show or hide the chat's call button or microphone
button on that surface. Settings > Capabilities no longer has these switches.
The two In-App Chat switches are only here; the Embed tab (AgentEmbedTab)
still has its own switches for the two Embed Widget fields. Save is
pinned at the bottom on every sub-tab. This is one tab in the agent-settings
family indexed by /iblai-vibe-agent; it shares the AgentSettingsProvider
wrapper with every other tab.
Voice -- no switch here: the voice source (Browser, Google, ibl.ai, OpenAI), the voice, and for OpenAI and Google the Voice Instructions card (here filled from the "Warm and Encouraging" example).

Voice picker -- the voice trigger opens a searchable list of the provider's voices, each with a play button for a sample.

Calls -- the Voice Calls box (In-App Chat and Embed Widget
switches), then call style (Live Conversation / Step-by-Step), spoken
language, AI provider, Smart Document Retrieval, and the voice used on
calls, with Reset and Save. Smart Document Retrieval saves the call
configuration's use_function_calling_for_rag: on, a call that runs step by
step looks things up in the agent's documents only when it needs to (live
conversation calls always work this way). It moved here from Settings >
Capabilities and is saved by this sub-tab's Save.

Dictation -- the Dictation box (In-App Chat and Embed Widget switches for the chat-box microphone), then Spoken Language for transcription (unset = Detect Automatically) and Transcription Hints, with Save.

The settings under each box grey out only while both of its switches are off. A field the agent's settings leave out reads as on.
Common setup (brand, conventions, env files, verification): see docs/skill-setup.md.
/iblai-vibe-auth, or vibe-starter).AgentSettingsProvider wraps the route (/iblai-vibe-agent §1).@iblai/iblai-js@^3.6.0 (resolves @iblai/web-containers 2.6.0, which
has the per-surface switches, the ibl.ai source, and the Calls and
Dictation sub-tabs). The four switches work on any platform version.Look for iblai.env in the project root with PLATFORM, DOMAIN, and
TOKEN. If it is missing, tell the user:
"You need an iblai.env with your platform configuration. Download the
template and fill in your values:
curl -o iblai.env https://raw.githubusercontent.com/iblai/vibe/refs/heads/main/iblai.env"
The Google, ibl.ai, and OpenAI cards load their logos from your app's
public/ root, and the SDK ships them in its own public/. Copy them once
(pnpm layout shown; with npm the folder is
node_modules/@iblai/web-containers/public):
cp node_modules/.pnpm/@iblai+web-containers@*/node_modules/@iblai/web-containers/public/llm-* public/
Expect public/llm-google-provider.svg, public/llm-iblai-provider.png, and
public/llm-openai-provider-2.svg. Without them the cards show broken images.
AgentVoiceTab// app/(app)/agents/[mentorId]/voice/page.tsx
"use client";
import { AgentVoiceTab } from "@iblai/iblai-js/web-containers/next";
export default function AgentVoicePage() {
return (
<div className="flex h-full flex-col bg-white">
<AgentVoiceTab />
</div>
);
}
The tab reads tenantKey, mentorId, username, and enableRBAC from
AgentSettingsProvider and does its own fetching and saving. No props are
required. To land on another sub-tab (for example from a URL), pass
defaultSubTab: 'voice' (Voice), 'callConfig' (Calls) or 'settings'
(Dictation). The values kept their old names.
import { AgentVoiceTab } from "@iblai/iblai-js/web-containers/next";
<AgentVoiceTab defaultSubTab="callConfig" />;
The tab renders with the default agent-facing copy (AGENT_VOICE_TAB_LABELS,
localized through the SDK's i18n). Pass a partial labels object to change
any string:
import { AgentVoiceTab } from "@iblai/iblai-js/web-containers/next";
<AgentVoiceTab
labels={{
header: { description: "Pick the voice your agent speaks with." },
subTabs: { callConfig: "Phone Calls" },
}}
/>;
Label groups (VoiceTabLabels):
| Group | Covers |
|---|---|
header | title, description |
infoBox | the box that opens the tab |
surfaces | inAppChat, embedWidget (label, tooltip each): the column labels over the switches |
switchName | (name, surface) => string: each switch's accessible name, such as "Voice Calls, In-App Chat" |
capability | the Voice Calls box: title, description, offHint |
subTabs | voice, callConfig, settings (Voice, Calls, Dictation) |
mentorVoice | Voice sub-tab: description, providerLabel, providerTooltip, providerOptions.{browser,google,iblai,openai}, voicePickerLabel, picker strings (searchPlaceholder, emptyState, errorState, previewAria), saveButton, savingButton, instructions (label, tooltip, placeholder, helpText, presetsLabel, presets.{warm,calm,energetic}) |
callConfig | Calls sub-tab: description, info, fields.{mode,language,llmProvider,ttsProvider,sttProvider,useFunctionCalling,enableVideo} (useFunctionCalling names the Smart Document Retrieval switch), resetButton, saveCreate, saveUpdate, savingButton |
transcription | Dictation sub-tab: toggle (the Dictation box: title, description, offHint), language, instructions, saveButton, savingButton |
toasts | voiceSaved, voiceError, callConfigSaved, callConfigError, transcriptionSaved, transcriptionError, turnedOn(name, surface), turnedOff(name, surface) |
@iblai/web-containers 2.0.0 removed mentorVoice.title, callConfig.title
and transcription.toggle.label / tooltip / helpText. A host that still
passes them in labels should delete them: the tab no longer reads them, and
TypeScript rejects them as unknown keys in an object literal.
get_component_info("AgentVoiceTab")
get_component_info("AgentSettingsProvider")
<AgentVoiceTab> PropsImport from @iblai/iblai-js/web-containers/next.
| Prop | Type | Required | Description |
|---|---|---|---|
labels | DeepPartial<VoiceTabLabels> | No | Override user-visible strings |
defaultSubTab | 'voice' | 'callConfig' | 'settings' | No | Sub-tab to open on (Voice, Calls, Dictation). Defaults to 'voice' |
renderPromptContent | (content: string) => ReactNode | No | Renders the Voice Instructions card (e.g. as Markdown); plain text otherwise |
tenantKey | string | No | Identity override. Falls back to AgentSettingsProvider |
mentorId | string | No | Identity override (agent UUID). Falls back to AgentSettingsProvider |
username | string | No | Identity override. Falls back to AgentSettingsProvider |
enableRBAC | boolean | No | Field-level permission gating; with it on, a switch whose field has write: false is locked. Falls back to AgentSettingsProvider |
From @iblai/iblai-js/web-containers/next:
AGENT_VOICE_TAB_LABELS -- the default label bundle.VoiceTabLabels, AgentVoiceTabProps -- types.| Control | Saves | When |
|---|---|---|
| Voice Calls switches (Calls) | show_voice_call (In-App Chat) or embed_show_voice_call (Embed Widget) on the agent's settings | On the click, only its own field |
| Dictation switches (Dictation) | show_voice_record or embed_show_voice_record | On the click, only its own field |
| Save (Voice) | voice_provider, the picked *_voice, voice_instructions | On click; a voice is sent only when picked this session, instructions only when changed |
| Save (Calls) | The agent's call configuration (mode, language, llm_provider, call voice, use_function_calling_for_rag) | On click; creates the row if missing; needs an org admin |
| Save (Dictation) | transcription_language, transcription_instructions | On click; blocked over 1000 characters |
Clearing instructions or hints sends ""; an absent field means "no change".
A switch toasts "Voice Calls turned off for Embed Widget" and the like. A
refused save turns it back and shows one sentence under the box ("Couldn't
update Voice Calls. Try again."), no toast. With enableRBAC on, a switch
whose field has permissions.field[field].write === false is locked, with
"You don't have permission to change this." under the box.
The platform writes the whole agent on every settings save, so the tab sends its settings saves one at a time: two in flight together could undo each other. A click made during a save shows at once and is sent when that save has finished; a waiting Voice or Dictation Save reads "Saving…". A switch save never resets unsaved Voice or Dictation edits.
| Hook | Purpose |
|---|---|
useGetMentorSettingsQuery | Voice fields plus the embedded call_configuration |
useEditMentorMutation | Voice and Dictation saves and the four switches, on the agent's settings |
useCreateCallConfigurationMutation, useUpdateCallConfigurationMutation | Calls sub-tab, Smart Document Retrieval included |
REST twin: /iblai-api-agent-voice
(settings voice fields, call configurations, and the voice catalog).
Run /iblai-vibe-ops-test before telling the user the work is ready, and give
every page, control and state this skill added its own checkpoint — one Playwright
test titled <ID> · … in e2e/journeys/, listed in e2e/coverage.json;
pnpm e2e:coverage must pass:
pnpm build -- must pass with zero errors.pnpm test -- vitest must pass./agents/<uuid>/voice in the browser as /iblai-vibe-ops-test says: the
info box and the Voice, Calls and Dictation sub-tabs render; the four source cards
show their logos and the voice picker lists voices with working previews; on Calls,
turn Voice Calls off for Embed Widget ("Voice Calls turned off for Embed Widget") and
back on; read the console; check the phone width.show_voice_call,
embed_show_voice_call) is the user talking with the agent on a call;
Dictation (show_voice_record, embed_show_voice_record) is the user
speaking into the chat box. Each field only shows or hides a button in that
surface's chat. Settings > Capabilities no longer has these rows, and its
Save no longer sends them. AgentEmbedTab keeps its own embed voice
switches for hosts that render it./iblai-vibe-agent-screenshare)
and always uses Live Conversation.AgentSettingsProvider once at the layout level
(/iblai-vibe-agent §1); do not wrap each tab.sonner and @iblai/iblai-web-mentor
(pnpm add sonner @iblai/iblai-web-mentor).iblai-vibe-agent-voice-1-capabilities.png (opens in a new tab)iblai-vibe-agent-voice-1-voice.png (opens in a new tab)iblai-vibe-agent-voice-2-voice-picker.png (opens in a new tab)iblai-vibe-agent-voice-2-voice.png (opens in a new tab)iblai-vibe-agent-voice-3-voice-call.png (opens in a new tab)iblai-vibe-agent-voice-3-voice-picker.png (opens in a new tab)iblai-vibe-agent-voice-4-dictation.png (opens in a new tab)iblai-vibe-agent-voice-4-voice-call.png (opens in a new tab)iblai-vibe-agent-voice-5-instructions.png (opens in a new tab)iblai-vibe-agent-voice-6-instructions-edit.png (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
agent-voice, text-to-speech, voice-calls, dictation, agent-settings
npx claudepluginhub iblai/base --plugin iblai-vibe166 skills in this plugin
/iblai-api-agent-accessManage role-based access to an ibl.ai agent via the platform API — list role policies, search users/groups, and grant/revoke editor, chat, or analytics_viewer roles for users, groups, and emails. Use when controlling who can edit, chat with, or view analytics for an agent./iblai-api-agent-auditRead an ibl.ai agent's audit log via the platform API — a who-changed-what trail filterable by action, actor email, and date range. Read-only. Use when investigating configuration changes to an agent./iblai-api-agent-chatSet up live chat with a deployed ibl.ai agent by wiring the hosted iblai-api-agent-chat MCP server into the project (.mcp.json / claude mcp add) using the .env Api-Token and a chosen agent's unique id, or by signing in from claude.ai, ChatGPT or Claude Desktop with only the URL. Use to enable runtime conversations with an agent, and to list or disconnect the apps a user has connected. The actual chatting then happens through the MCP server's tools.Other plugins' skills for the same job