Lalk
Real-time voice agents, built for natural conversation.
A Python SDK, server, and desktop workspace for real-time voice agents.
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:
- Compiles the native VoiceProcessingIO library.
- Packages the Python server as the
lalk-serversidecar. - Builds the React WebUI.
- Bundles and signs the Tauri application locally.
- 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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| lalk-0.1.0.tar.gz | 9.6 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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 logSecurity 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.
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 logA 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.