$npx skillfedfor your agent

livekit-api

Python Server API for LiveKit

Worth itPyPI Artificial IntelligenceReleased Jul 20265.0M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — livekit_api-1.2.0-py3-none-any.whl
v1.2.0 · released 2026-07-11 · Python >=3.9.0 · 5 runtime deps: aiohttp, livekit-protocol, protobuf, pyjwt, types-protobuf

Yes. livekit-api is actively maintained, has no known vulnerabilities, low install friction, and is the official way to call LiveKit's server APIs from Python. Install it if you are building a backend that needs to generate tokens, manage rooms, or integrate with LiveKit's services. The async-only design is a minor constraint but standard for modern Python backends.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; API calls must run inside an asyncio event loop.
  • Low install friction; pure Python wheel with five runtime dependencies (aiohttp, livekit-protocol, protobuf, pyjwt, types-protobuf).
  • Active maintenance with recent release (34 days ago) and no known vulnerabilities.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for proprietary backends.

last release 2026-07-11 (34 days) · last repo commit 2026-08-13 · 375 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,999,740 downloads/mo, #2,183 on PyPI

Verify before relying

pip install livekit-api

from livekit import api
import asyncio

async def main():
    lkapi = api.LiveKitAPI("https://my-project.livekit.cloud", api_key="...", api_secret="...")
    token = api.AccessToken().with_identity("bot").with_grants(api.VideoGrants(room_join=True, room="my-room")).to_jwt()
    room_info = await lkapi.room.create_room(api.CreateRoomRequest(name="my-room"))
    await lkapi.aclose()

asyncio.run(main())
  • Whether livekit-protocol and types-protobuf are optional or required for all use cases.
  • Performance characteristics and rate limits of the server API under load.
  • Whether pre-signed token authentication works for all service endpoints or only a subset.
Same gist for agents: .md · .json

What it is and what it does

livekit-api is the server-side Python SDK for LiveKit, a real-time communication platform. It provides two main capabilities: generating JWT access tokens for participants to join LiveKit rooms, and calling LiveKit's backend APIs to manage rooms, configure egress/ingress, handle SIP calls, and dispatch agents. The package wraps LiveKit's gRPC protocol layer (via livekit-protocol and protobuf) and exposes it through async Python methods, making it straightforward to integrate LiveKit into Python backends without blocking I/O.

The SDK is designed for backend use where your API secret can be safely stored. It uses aiohttp and asyncio for non-blocking HTTP calls, so all room and service operations must be called within an async context. Authentication can be done with API key and secret (recommended for backends) or with a pre-signed token (for client-side scenarios where the secret cannot be exposed). Error handling is explicit: failed calls raise ServerError or its subclass SipCallError, exposing the error code, message, and metadata.

Use it for

  • Generate access tokens in your backend to issue to web or mobile clients before they connect to a LiveKit room.
  • Programmatically create, list, and delete rooms from a backend service or admin panel.
  • Set up SIP trunks and initiate outbound calls to phone numbers, integrating LiveKit with telephony systems.
  • Configure egress to record or stream room sessions to external storage or CDNs.
  • Dispatch LiveKit agents to handle specific tasks within rooms as part of a multi-modal AI workflow.
  • Manage ingress streams to ingest external video/audio sources into LiveKit rooms.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

livekit-api is actively maintained, has no known vulnerabilities, low install friction, and is the official way to call LiveKit's server APIs from Python. Install it if you are building a backend that needs to generate tokens, manage rooms, or integrate with LiveKit's services. The async-only design is a minor constraint but standard for modern Python backends.

Install

livekit-api on PyPI

Before you install

Low install friction; pure Python wheel with five runtime dependencies (aiohttp, livekit-protocol, protobuf, pyjwt, types-protobuf). Active maintenance with recent release (34 days ago) and no known vulnerabilities.

Requires Python 3.9 or later; API calls must run inside an asyncio event loop.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for proprietary backends.

Quickstart

pip install livekit-api

from livekit import api
import asyncio

async def main():
    lkapi = api.LiveKitAPI("https://my-project.livekit.cloud", api_key="...", api_secret="...")
    token = api.AccessToken().with_identity("bot").with_grants(api.VideoGrants(room_join=True, room="my-room")).to_jwt()
    room_info = await lkapi.room.create_room(api.CreateRoomRequest(name="my-room"))
    await lkapi.aclose()

asyncio.run(main())

Verify before relying

  • Whether livekit-protocol and types-protobuf are optional or required for all use cases.
  • Performance characteristics and rate limits of the server API under load.
  • Whether pre-signed token authentication works for all service endpoints or only a subset.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
aiohttplivekit-protocolprotobufpyjwttypes-protobuf
MaintenanceActively maintained 34 days since the last release
Last repo commit
First released
Downloads4,999,740 / month, #2,183 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Multimedia :: Sound/AudioTopic :: Multimedia :: VideoTopic :: Scientific/Engineering :: Artificial Intelligence

Evidence: livekit_api-1.2.0-py3-none-any.whl

Tags

Capabilities
livekit server api pythonaccess token generation webrtcroom management apilivekit backend sdkasync video api clientsip integration pythonlivekit room service
Topics
webrtcasync-apivideo-conferencing
PyPI keywords
audiolivekitrealtimevideowebrtc

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “livekit server api python”

  • livekit-apiGenerate access tokens and call LiveKit server APIs (room management,…
  • livekitPython SDK for building real-time video, audio, and data applications…
  • livekit-protocolProvides Python protocol stubs and type definitions for LiveKit's…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also livekit · livekit-protocol · livekit-agents · livekit-plugins-telnyx · daily-python · streamlit-webrtc · livekit-plugins-azure · livekit-plugins-noise-cancellation · livekit-plugins-assemblyai · livekit-plugins-rime