VLM Run plugin for LiveKit Agents
Vision-language models from the VLM Run gateway as an
LLM for LiveKit agents, through the gateway's OpenAI-compatible chat completions API. Images in the
chat context (ImageContent, including rtc.VideoFrame camera frames) are sent to the model.
vlmrun.DecisionModel answers typed questions (probability, choice, score) through the gateway's
System One API.
Installation
pip install livekit-plugins-vlmrun
Pre-requisites
Set VLMRUN_API_KEY (from app.vlm.run).
Set VLMRUN_GATEWAY_BASE_URL (or VLMRUN_GATEWAY_URL) to use another gateway.
Usage
from livekit.agents import AgentSession
from livekit.plugins import vlmrun
session = AgentSession(llm=vlmrun.LLM(model="qwen/qwen3.8-27b"), stt=..., tts=...)
Tool calling works on qwen/qwen3.8-27b and the provider models (google/gemini-*,
moonshotai/kimi-k3, minimax/minimax-m3, meta/muse-*); the provider models need a paid
account. Sampling settings are sent only when set, because the gateway rejects settings a model
doesn't support.
Requests time out after 70 s by default, because the gateway allows qwen/qwen3.8-27b up to 60 s
to its first token. Set AgentSession(conn_options=...) to change it, or pass conn_options to
DecisionModel.evaluate().
See the LiveKit docs for more.
Decisions
from livekit.agents import llm, utils
from livekit.plugins import vlmrun
async with utils.http_context.open():
model = vlmrun.DecisionModel() # qwen/qwen3.8-27b
context = llm.ChatContext.empty()
context.add_message(role="user", content="Please let me speak to a person.")
response = await model.evaluate(
input=context,
decisions={
"handoff": llm.Probability("The caller requests a human."),
"intent": llm.Choice(
"What does the caller want?",
options={"booking": "Make a reservation", "other": "Anything else"},
),
"frustration": llm.Score(
"How frustrated is the caller?", levels=["Calm", "Annoyed", "Angry"]
),
},
)
for name, result in response.results.items():
print(name, result.value)
input also accepts a string, which is sent as-is. Each requested decision appears in either
response.results or response.errors. Request failures and malformed responses raise.
Metadata
Release files for livekit-plugins-vlmrun 1.8.13
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 | Actions |
|---|---|---|---|---|
| livekit_plugins_vlmrun-1.8.13.tar.gz | 9.3 kB | With provenance | Details for livekit_plugins_vlmrun-1.8.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| livekit_plugins_vlmrun-1.8.13-py3-none-any.whl | Python 3 | none | any | Details for livekit_plugins_vlmrun-1.8.13-py3-none-any.whl |
Total release size: 21.8 kB
Release files / livekit_plugins_vlmrun-1.8.13.tar.gz
| Download URL | livekit_plugins_vlmrun-1.8.13.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c27f7f9b9704f1a2937c6cc586a7fbc7f6c830c9d721b654c97c26e788128af
|
|
BLAKE2b-256 checksum How to use checksums |
9728792eda3ee436e414eca839ae97de82d365af2ab69b55c3dc7fc318264eb6
|
| 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 Nov 18, 2026.
Transparency logRelease files / livekit_plugins_vlmrun-1.8.13-py3-none-any.whl
| Download URL | livekit_plugins_vlmrun-1.8.13-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
714ccc579bef52ea44fccbae115183a0af245efab074316cb3b70a31a5bcc86d
|
|
BLAKE2b-256 checksum How to use checksums |
8f69d362e3bd7b8128ab0fda58c2909803c0062692a53a348db131215241ebbe
|
| 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 Nov 18, 2026.
Transparency logSecurity for livekit-plugins-vlmrun 1.8.13
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
Both files in this release have been uploaded with provenance metadata.
Attestation for livekit_plugins_vlmrun-1.8.13.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 Nov 18, 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.