LangChain plugin for LiveKit Agents
This plugin integrates capabilites from LangChain within LiveKit Agents
Installation
pip install livekit-plugins-langchain
Usage
Using LangGraph workflows
You can bring over any existing workflow in LangGraph as an Agents LLM with langchain.LLMAdapter. For example:
from langgraph.graph import StateGraph
from livekit.agents import Agent, AgentSession, JobContext
from livekit.plugins import langchain
...
def entrypoint(ctx: JobContext):
graph = StateGraph(...).compile()
session = AgentSession(
vad=...,
stt=...,
tts=...,
)
await session.start(
agent=Agent(llm=langchain.LLMAdapter(graph)),
)
...
Metadata
Release files for livekit-plugins-langchain 1.8.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| livekit_plugins_langchain-1.8.3.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| livekit_plugins_langchain-1.8.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.5 kB
Release files / livekit_plugins_langchain-1.8.3.tar.gz
| Download URL | livekit_plugins_langchain-1.8.3.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd1388b34cd75bea89b33db7b2a12e861bf7464d170da8020815fc0d55ce4681
|
|
BLAKE2b-256 checksum How to use checksums |
27c137485c9905540cb36288ab4d53d9fab676cd99612c9bda019a54210e44de
|
| 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 23, 2026.
Transparency logRelease files / livekit_plugins_langchain-1.8.3-py3-none-any.whl
| Download URL | livekit_plugins_langchain-1.8.3-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88b1689ff806348c63fcdaad147252af8ec972b5e08646dcff96a848dd0101d9
|
|
BLAKE2b-256 checksum How to use checksums |
ffb9de65e806cf75f60392006ed1b7e69febd322aea28dba1434ccf21c2999ac
|
| 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 23, 2026.
Transparency log