Hume evi

From calesthio/generative-media-skills · View interactive version

Hume evi is an AI agent skill from the GitHub repository calesthio/generative-media-skills. Build production realtime voice agents with Hume's Empathic Voice Interface (EVI): speech-to-speech sessions, empathic/prosodic response design, EVI 3 versus EVI 4-mini selection, WebSocket and SDK integration, tools/function calling, interruption/barge-in, turn-taking, transcripts/audio artifacts,

How to use this skill

Skill file

Hume EVI production guide

Use this skill when the task is to design, implement, troubleshoot, or review a Hume Empathic Voice Interface (EVI) realtime voice agent. Do not use it for offline-only Hume Text-to-Speech/Octave work unless the user is explicitly configuring EVI voices or comparing EVI to TTS.

Hume's EVI is a realtime speech-to-speech agent interface. It streams user audio, measures expressive vocal modulation, generates a language response, and produces expressive assistant speech. Treat it as a live conversation system, not as a batch transcription or batch TTS API. Documented facts below were verified on 2026-07-10 unless a source date is explicitly noted.

Primary official sources:

Capability boundaries

Documented facts:

Do not claim:

Choosing EVI version and model path

As of 2026-07-10, Hume documents EVI 3 and EVI 4-mini as the supported EVI versions; EVI 1 and EVI 2 reached end of support on 2025-08-30. If config_id is omitted, Chat uses EVI 3 by default. Source: https://dev.hume.ai/docs/speech-to-speech-evi/configuration/evi-version

Use EVI 3 when:

Use EVI 4-mini when:

Use a supplemental LLM when:

Use a custom language model (CLM) when:

Production heuristic: for a customer-support agent with tools, start with EVI 3 plus a fast supplemental LLM if English-only; start with EVI 4-mini plus a fast supplemental LLM if multilingual support is a hard requirement. Measure actual time-to-first-token and barge-in behavior with the user's target devices before deciding.

Configuration surface

Persistent EVI Configs are versioned and can include:

Source: https://dev.hume.ai/docs/speech-to-speech-evi/configuration/build-a-configuration

Session Settings are temporary and apply only to the current Chat. They can be supplied at Chat initialization or sent during a Chat with a session_settings message. They can override or provide session-specific voice, prompt, context, audio format, tools, built-in tools, dynamic variables, third-party LLM API key, and custom session ID. Source: https://dev.hume.ai/docs/speech-to-speech-evi/configuration/session-settings

Use persistent Configs for release-controlled agent behavior:

Use Session Settings for per-call context:

Avoid burying critical safety or compliance requirements only in ephemeral session context. Put non-negotiable rules in the config prompt and enforce them in tools/backend policy as well.

Audio and realtime UX requirements

Documented facts:

Production heuristics:

Turn taking, interruption, and pausing

EVI supports interruption/barge-in. When a user speaks while the assistant is responding, EVI detects the interruption, stops generating and streaming the current response, and sends user_interruption to the client. The client must also stop local playback and clear queued assistant audio, or the user will still hear the old response. Source: https://dev.hume.ai/docs/speech-to-speech-evi/features/interruptibility

Turn detection parameters documented by Hume:

Source: https://dev.hume.ai/docs/speech-to-speech-evi/configuration/turn-detection

Interruption parameter documented by Hume:

Source: https://dev.hume.ai/docs/speech-to-speech-evi/configuration/interruption

Use verbose_transcription=true on the WebSocket when browser playback interruption feels delayed after EVI has finished generating a response but queued audio is still playing. Hume documents that interim user_message events can be used to stop playback sooner, but transcript logic must ignore or specially handle interim: true. Source: https://dev.hume.ai/docs/speech-to-speech-evi/guides/audio

Use pause_assistant_message / resume_assistant_message when the product needs to keep listening while holding assistant responses. While paused, EVI continues to listen and transcribe; when resumed, it responds considering user input received during the pause. Source: https://dev.hume.ai/docs/speech-to-speech-evi/features/pause-responses

Production heuristics:

Prompting an empathic voice agent

EVI prompts should shape role, tone, pacing, boundaries, escalation, and speech behavior. Hume's prompting guide notes that native SLMs can generate both language and speech for realtime conversation, while supplemental LLMs often do better for complex reasoning, long prompts, and tool use. Source: https://dev.hume.ai/docs/speech-to-speech-evi/guides/prompting

Write prompts for spoken interaction:

Include emotional-expression policy:

Example prompt fragment:

You are an AI voice assistant for Acme Support. Speak naturally, warmly, and briefly.

Conversation style:
- Keep most replies under two spoken sentences unless the user asks for detail.
- Acknowledge frustration or uncertainty without claiming to know the user's emotions.
- Ask one clarifying question at a time.
- If interrupted, stop and adapt to the user's newest request.

Safety:
- Disclose that you are an AI assistant at the start of the call.
- Do not provide legal, medical, or financial advice. Offer to connect the user to a qualified professional where appropriate.
- Before taking an account action, summarize the action and ask for confirmation.

Tools:
- Use get_order_status only after collecting an order ID.
- If a tool fails, apologize briefly, say what can still be done, and offer human handoff.

Tools and backend actions

Documented facts:

Production tool design:

Transcript, artifacts, and observability

Use Hume artifacts deliberately:

Sources: https://dev.hume.ai/docs/speech-to-speech-evi/features/resume-chats, https://dev.hume.ai/docs/speech-to-speech-evi/features/chat-history, https://dev.hume.ai/docs/speech-to-speech-evi/features/audio-reconstruction, https://dev.hume.ai/docs/speech-to-speech-evi/configuration/webhooks

Production logging checklist:

Do not store raw audio, transcripts, expression predictions, or reconstructed calls by default. These are sensitive artifacts. Store the minimum required for QA/compliance, redact where possible, and align with the user-facing privacy policy.

Pricing, limits, and deployment planning

Volatile facts verified on 2026-07-10:

Source: https://www.hume.ai/pricing

Billing facts:

Source: https://dev.hume.ai/docs/resources/billing

Production heuristics:

Privacy, consent, safety, and rights

Documented facts:

Production requirements:

Production QA

A strong EVI QA plan tests more than "does it answer." Include:

Review failures as system issues:

Example: English support agent with account tools

This example is for a web support agent where users ask order-status and return-policy questions. It uses EVI 3 because the deployment is English-only and wants quick, natural support responses; it uses a supplemental LLM because tool calling is required.

Config choices:

{
  "evi_version": "3",
  "name": "acme-support-agent",
  "voice": {
    "id": "VOICE_LIBRARY_OR_CUSTOM_VOICE_ID",
    "provider": "HUME_AI"
  },
  "turn_detection": {
    "end_of_turn_silence_ms": 800,
    "speech_detection_threshold": 0.5,
    "prefix_padding_ms": 300
  },
  "interruption": {
    "min_interruption_ms": 250
  },
  "timeouts": {
    "inactivity_timeout": 120,
    "max_duration_timeout": 1800
  }
}

System prompt:

You are Acme's AI voice support assistant. At the start, say you are an AI assistant.
Speak warmly and briefly. Use one or two short sentences unless the user asks for detail.

Use vocal tone to show attentiveness, but never claim to know the user's feelings.
If the user sounds upset or frustrated, say: "I'm sorry this has been frustrating. Let's work through it."

Before using order_status, ask for the order ID if missing.
Before taking any account-changing action, summarize it and ask for confirmation.
If a tool fails, explain the problem in plain language and offer human handoff.
Do not provide legal, medical, or financial advice.

Client requirements:

Expected result:

Likely failures:

Example: multilingual travel concierge

This example is for a web/mobile travel concierge that must support Spanish, French, German, and Japanese. It uses EVI 4-mini because those target languages are in Hume's documented EVI 4-mini language list; it requires a supplemental LLM because EVI 4-mini requires one.

Config choices:

{
  "evi_version": "4-mini",
  "name": "multilingual-travel-concierge",
  "voice": {
    "id": "CUSTOM_OR_LIBRARY_VOICE_ID",
    "provider": "CUSTOM_VOICE"
  },
  "turn_detection": {
    "end_of_turn_silence_ms": 1000,
    "speech_detection_threshold": 0.5
  },
  "interruption": {
    "min_interruption_ms": 400
  }
}

Prompt fragment:

You are an AI travel concierge. Begin by disclosing that you are an AI assistant.
Reply in the user's language unless they ask to switch languages.
Ask one question at a time and keep replies concise enough for speech.
Never invent booking confirmations. Use tools for availability and booking-state checks.
If the user sounds stressed, slow down and confirm the next step without claiming to know their emotion.

Session settings example:

{
  "type": "session_settings",
  "variables": {
    "traveler_name": "Mina",
    "preferred_currency": "EUR"
  },
  "context": {
    "type": "persistent",
    "text": "The traveler is comparing flight options for September and wants refundable fares only."
  },
  "custom_session_id": "user-742-session-2026-07-10"
}

Expected result:

Likely failures:

Example: phone calling through a telephony provider

This example is for phone support where the caller uses the public telephone network. Hume documents a Twilio integration for EVI, and its audio guide warns that telephony mulaw audio is not directly supported by EVI and must be converted.

Architecture:

Phone caller
  -> telephony media stream
  -> server bridge: auth, disclosure state, audio conversion, logging policy
  -> Hume EVI WebSocket
  -> server bridge converts/routes assistant audio
  -> caller

Design choices:

Expected result:

Likely failures:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.