livekit-protocol
Python protocol stubs for LiveKit
What it is and what it does
livekit-protocol is a low-level package that provides auto-generated Python protocol stubs and type definitions for LiveKit's real-time communication system. It serves as the foundation layer for LiveKit's Python SDKs, exposing the protobuf message types and RPC definitions that LiveKit uses internally to communicate between clients and servers.
This package is primarily consumed as a dependency by higher-level LiveKit packages (livekit for real-time SDK, livekit-api for server APIs) rather than used directly in application code. It ensures type safety and IDE support when working with LiveKit's protocol layer, and allows developers building custom LiveKit integrations to access the underlying message definitions.
Use it for:
- Type-safe development when building custom LiveKit client or server extensions that need access to protocol definitions
- IDE autocomplete and type checking for LiveKit protocol messages in Python projects
- Dependency for livekit and livekit-api packages to provide consistent protocol handling across the SDK ecosystem
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python protocol stubs and type definitions for LiveKit's real-time communication APIs, enabling type-safe integration with LiveKit servers for video, audio, and data features.
Yes, if you are using livekit or livekit-api packages—it will be installed automatically as a dependency. Install directly only if building custom LiveKit integrations that require low-level protocol access. No security vulnerabilities, permissive license, and active maintenance make it safe to use.
Install
livekit-protocol on PyPI
pip
pip install livekit-protocoluv
uv add livekit-protocolpoetry
poetry add livekit-protocolInstalling livekit-protocol
Before you install
Low friction: pure-Python wheel with only protobuf and types-protobuf as runtime dependencies. Active maintenance with a recent release (10 days old) and 375 repository stars.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install livekit-protocol
from livekit import protocol
# Use protocol stubs for type hints and message definitions
# when building LiveKit client or server integrations
Requires Python 3.9 or later; protobuf library must be installed.
Verify before relying
- Whether this package is intended for direct use or primarily as a dependency of livekit and livekit-api packages
- Specific protocol version coverage and compatibility with different LiveKit server versions
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.9.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — protobuf, types-protobuf |
| Maintenance | actively maintained — 10 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,261,587/month — #2,125 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: livekit_protocol-1.1.22-py3-none-any.whl
Keywords: audio, livekit, realtime, video, webrtc
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
livekitPython SDK for building real-time video, audio,…
permissive · top 5,000 on PyPI
livekit-apiGenerate access tokens and call LiveKit server…
permissive · top 5,000 on PyPI
livekit-agentsA framework for building realtime multimodal…
permissive · top 5,000 on PyPI
livekit-plugins-noise-cancellationApplies real-time noise cancellation to inbound…
unclear · top 5,000 on PyPI
streamlit-webrtcAdds real-time video and audio streaming over…
permissive · top 15,000 on PyPI
livekit-plugins-telnyxIntegrates Telnyx telephony services with…
permissive · top 15,000 on PyPI
livekit-plugins-anamAnam plugin for the LiveKit Agents framework…
permissive · top 15,000 on PyPI
livekit-plugins-groqIntegrates Groq's fast inference API with…
permissive · top 15,000 on PyPI
daily-pythonA Python SDK for building video and audio…
permissive · top 15,000 on PyPI
go2rtc-clientAsynchronous Python client library for…
permissive · top 15,000 on PyPI