Skip to main content
Lalk

Lalk

Real-time voice agents, built for natural conversation.

A Python SDK, server, and desktop workspace for real-time voice agents.

Python PyPI Platform

English | 简体中文


Overview

Lalk brings the complete real-time voice pipeline into one project: microphone capture, voice activity detection, turn detection, speech recognition, Agent execution, speech synthesis, interruption handling, observability, a local server, and a Tauri desktop application.

The Python SDK is modular, so each audio, ASR, VAD, Agent, TTS, and turn-detection component can be replaced independently. The desktop application packages the Python server as a local sidecar and keeps runtime traffic on localhost.

Core Capabilities

  • Full-duplex voice sessions with natural user interruption.
  • Native macOS VoiceProcessingIO audio with echo cancellation.
  • Silero VAD, adaptive input gating, and Smart Turn semantic turn detection.
  • Local ASR and interchangeable cloud speech recognition implementations.
  • Bumblehive-powered Agent runtime with streaming events and tool execution.
  • Streaming TTS with word-level playback marks.
  • Conversation inactivity policies and proactive follow-up support.

Platform Support

Lalk currently targets Apple Silicon Macs (M-series) running macOS 14 or later.

Requirements

  • Apple Silicon Mac
  • macOS 14+
  • Python 3.11+
  • Node.js 22+
  • pnpm 10.33.0
  • Rust stable toolchain
  • Xcode Command Line Tools

Quick Start

Install the Python SDK from PyPI:

python -m pip install lalk

For repository development, create and activate a Python environment:

conda create -n lalk_env python=3.11 -y

Install all project dependencies and verify the environment:

pnpm run setup

The setup command prepares the Python and Node.js dependencies required for development and desktop packaging.

If downloading from the default PyPI index is slow, use the Tsinghua PyPI mirror for this setup command only:

PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple pnpm run setup

Development

Start the local server on 127.0.0.1:17841:

pnpm dev:server

In another terminal, start the WebUI:

pnpm dev:web

Start the desktop application in development mode:

pnpm dev:desktop

Build the Desktop App

Create the Apple Silicon macOS application and DMG installer:

pnpm build:desktop

The installer is written to:

desktop/src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/

The build pipeline automatically:

  1. Compiles the native VoiceProcessingIO library.
  2. Packages the Python server as the lalk-server sidecar.
  3. Builds the React WebUI.
  4. Bundles and signs the Tauri application locally.
  5. Creates the Apple Silicon DMG.

Metadata

Release files for lalk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lalk 0.1.0
File Size Uploaded Provenance
lalk-0.1.0.tar.gz 9.6 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lalk 0.1.0
File Interpreter ABI Platform
lalk-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.3 MB

Release files / lalk-0.1.0.tar.gz

Download URL lalk-0.1.0.tar.gz
Size 9.6 MB
Tags Source
SHA-256 checksum
How to use checksums
5852a9c90f6357a340cf8422c5705e588e5e4ef28b059edcc96821172b95854b
BLAKE2b-256 checksum
How to use checksums
c4d301da55612f6ec1de3cbd49cb069026e204d5b8431ace906348960ab4d878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / lalk-0.1.0-py3-none-any.whl

Download URL lalk-0.1.0-py3-none-any.whl
Size 9.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5a2e3dc6ef9c4dde1c4e94468eef4a939c3ba82e9d0601061635c207ad151c24
BLAKE2b-256 checksum
How to use checksums
826ca2225551d921b84c2225206e3dc59a3e7c8d0367f2d495b3d92e221d0b90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Security for lalk 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lalk-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page