skillfed

hume

A Python SDK for Hume AI

hume v0.14.0 99.2K downloads/30d#13,036 on PyPI178
Permissive license MIT Active released

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 hume

uv

uv add hume

poetry

poetry add hume

Installing 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

Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Tags

empathic voice interface pythontext-to-speech api sdkemotion recognition voicehume ai integrationasync voice api clientspeech emotion detectionmultimodal expression analysis
voice-apiemotion-detectionasync-client

More Python Modules packages