hume
A Python SDK for Hume AI
What it is and what it does
Hume is a Python SDK that wraps Hume AI's empathic voice and text-to-speech APIs, allowing developers to integrate voice interaction and speech synthesis directly into Python applications. It provides both synchronous and asynchronous clients, with built-in support for WebSocket connections, pagination, automatic retries with exponential backoff, and exception handling through a unified ApiError hierarchy.
The SDK is actively maintained and supports Python 3.9 through 3.15. It depends on httpx for HTTP requests, websockets for real-time communication, and pydantic for data validation. The package is designed to be easy to extend—even if you start with only one API (voice or TTS), the SDK's namespace structure makes it simple to add the other later. Major breaking changes occurred in version 0.7.0, so upgrading from older versions requires consulting the migration guide.
Use it for:
- Build conversational voice interfaces that respond with emotional awareness and natural prosody using the Empathic Voice Interface.
- Add expressive text-to-speech synthesis to applications that need to generate spoken audio with emotional tone.
- Integrate emotion and expression analysis into real-time voice chat or customer service applications.
- Create async, non-blocking voice interaction systems for high-concurrency or event-driven architectures.
- Prototype multimodal AI applications that combine voice, emotion detection, and sentiment analysis.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python SDK for integrating Hume AI's empathic voice and text-to-speech APIs into applications, with support for both synchronous and asynchronous clients.
Yes. The SDK is actively maintained, has low install friction, carries a permissive MIT license, and supports a wide range of Python versions. It is suitable for production use if you need to integrate Hume's empathic voice or text-to-speech APIs. Be aware of platform constraints: Empathic Voice Interface is limited to macOS and Linux, while TTS works across all major platforms. Consult the migration guide if upgrading from pre-0.7.0 versions.
Install
hume on PyPI
pip
pip install humeuv
uv add humepoetry
poetry add humeInstalling hume
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release (58 days ago) and ongoing repository activity. Supports Python 3.9 through 3.15.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it straightforward to integrate into most projects.
Quickstart
pip install hume
from hume.client import HumeClient
client = HumeClient(api_key="YOUR_API_KEY")
client.empathic_voice.configs.list_configs()
Requires a valid Hume API key; Empathic Voice Interface requires macOS or Linux (Python 3.9–3.13), while TTS works on macOS, Linux, and Windows.
Verify before relying
- Whether the SDK's automatic retry behavior with exponential backoff is suitable for your application's latency requirements.
- Specific rate-limiting or quota behavior beyond the documented HTTP 429 retry handling.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4,>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — eval-type-backport, exceptiongroup, httpx, pydantic, pydantic-core, typing_extensions, websockets |
| Maintenance | actively maintained — 58 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 99,207/month — #13,036 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: hume-0.14.0-py3-none-any.whl
Keywords: hume, ai, evi, empathic, multimodal, expression, analysis, sentiment, voice, recognition, detection, emotion, interface, speech, audio, vision, expressive, embeddings, communication, learning
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
deepgram-sdkOfficial Python SDK for Deepgram's speech…
permissive · top 5,000 on PyPI
livekit-plugins-sarvamIntegrates Sarvam.ai's Indian-language voice AI…
permissive · top 15,000 on PyPI
livekit-plugins-deepgramIntegrates Deepgram's voice AI services…
permissive · top 5,000 on PyPI
reka-apiProvides a Python client library for accessing…
permissive · top 15,000 on PyPI
fish-audio-sdkOfficial Python client for the Fish Audio API,…
permissive · top 15,000 on PyPI
speechmatics-voicePython SDK for building real-time voice…
permissive · top 15,000 on PyPI
elevenlabsOfficial Python SDK for ElevenLabs…
permissive · top 5,000 on PyPI
sonioxPython SDK for the Soniox speech-to-text and…
permissive · top 15,000 on PyPI
kugelaudioOfficial Python SDK for KugelAudio's…
permissive · top 15,000 on PyPI
livekit-plugins-cartesiaIntegrates Cartesia's voice AI services…
permissive · top 5,000 on PyPI