Skip to main content
Two LlamaIndex packages, both from lokutor-ai/llama-index-lokutor (Apache-2.0): They are not on PyPI yet. Until they are, install from the repository subdirectories:

Reader

load_data / aload_data take a path, bytes or a file-like object and return one Document; metadata has file_path, language_code, and with diarize=True the speakers. Calls POST /v1/speech-to-text. WAV only: convert MP3/M4A first.

Agent tools

text_to_speech(text, output_path, voice=None, language=None) writes a WAV via POST /v1/tts/synthesize and returns the path; transcribe_audio(audio_path, language=None) returns the transcript of a WAV file.

Why a separate repository

LlamaIndex’s contribution guide states that the main repository no longer accepts new integration packages, so these are maintained and published independently.

What was tested

Unit tests with a mocked HTTP layer, and one live round trip per package (a short sentence synthesized, then transcribed) against api.lokutor.com, on llama-index-core as resolved at build time on 2026-11-03. Not run: an LLM-driven agent calling the tools, the async reader against the live API, non-English languages, or diarization against the live API.