Use case · LiveKit Agents

Arabic voice for LiveKit Agents, dropped in.

HakimSTT and HakimTTS are official, open-source LiveKit Agents plugins built and maintained by the Hakim team. Swap them into an AgentSession and your voice agent understands and speaks 15 Arabic dialects plus 30+ other languages, streaming at sub-120 ms first-byte latency, with no changes to the rest of your pipeline.

Sub-120 ms (Hakim Saree' v1.3)Streaming TTFB
15 Arabic dialects, 30+ languagesCoverage
MIT, source availableLicense

Three steps to a bilingual agent

The plugin talks to Hakim's public REST/WebSocket API directly, no dependency on a separate, unpublished SDK.
  1. Install the plugin

    Clone github.com/tryHakimAI/hakim-livekit and install its requirements. No API-key setup beyond your Hakim key; the plugin has no other vendor dependency.

  2. Wire it into your AgentSession

    Pass HakimSTT() and HakimTTS(voice=...) as the stt and tts arguments. Both subclass LiveKit's real STT/TTS base classes, so VAD, turn detection, and interruption handling all keep working unmodified.

  3. Pick a region, go live

    Pin a region (UAE, KSA, Qatar, or Frankfurt) or let the plugin auto-route to the closest healthy one. Same latency SLA everywhere; no code change to switch.

Built the way LiveKit plugins are supposed to be built

  • Realtime streaming, not request/response

    One persistent WebSocket per session for both STT and TTS. Audio streams continuously in both directions, matching how LiveKit's own turn-taking pipeline expects a plugin to behave.

  • Batch fallback included

    HakimSTT also implements a plain recognize() call over HTTP, so it works anywhere LiveKit expects one-shot transcription, not only inside a live AgentSession.

  • No dependency on an unpublished SDK

    The plugin speaks Hakim's public REST/WebSocket API directly. It doesn't need the Hakim Python SDK installed at all, so nothing breaks if your project pins a different version.

  • MIT licensed, source available

    Read, fork, or extend the plugin at github.com/tryHakimAI/hakim-livekit. Built and maintained by the Hakim team, not a third party. Issues get triaged by the people who built the API it talks to.

agent.py

Five lines to a bilingual voice agent

Swap your existing STT/TTS plugins for Hakim's and keep every other line of your agent unchanged.
python
from hakim_livekit import HakimSTT, HakimTTS

session = AgentSession(
    vad=silero.VAD.load(),
    stt=HakimSTT(language="ar"),
    llm=your_llm_plugin,
    tts=HakimTTS(voice="your-voice-id"),
)

Built for these LiveKit agent workflows

Same plugin surface, four different products.
  • Customer support voice agents

    Front a support line with an agent that understands the caller's actual dialect instead of forcing MSA. Hand off to a human the moment the LLM hits its limits.

  • Arabic IVR replacement

    Swap a phone-tree IVR for a conversational agent. LiveKit's telephony transports handle the SIP/RTP layer; HakimSTT/HakimTTS handle the audio.

  • In-app voice copilots

    Voice as a first-class input inside a web or mobile app built on LiveKit's room/SFU model. Same plugin, same latency, whether the caller is on a phone line or in your app.

  • Multilingual contact centers

    One agent, 15 Arabic dialects plus 30+ other languages. No separate deployment per language: language and voice are just constructor arguments.

Frequently asked questions

Ship a bilingual LiveKit agent today

Free tier covers everything you need for a working prototype. Talk to us for realtime-tier volume, on-premise, or a custom voice.