Skip to main content

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.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for livekit-plugins-langchain 1.9.0
File Size Uploaded Provenance Actions
livekit_plugins_langchain-1.9.0.tar.gz 6.1 kB With provenance Details for livekit_plugins_langchain-1.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for livekit-plugins-langchain 1.9.0
File Interpreter ABI Platform Actions
livekit_plugins_langchain-1.9.0-py3-none-any.whl Python 3 none any Details for livekit_plugins_langchain-1.9.0-py3-none-any.whl

Total release size: 12.4 kB

Release files / livekit_plugins_langchain-1.9.0.tar.gz

Download URL livekit_plugins_langchain-1.9.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
144097d38af484e6fbae30d33f944309726af093016eafba3b231de824b60bb3
BLAKE2b-256 checksum
How to use checksums
76ecfac1bd338bda32265c425be98b607887f8ccb9262c762668d2a7e10e9c52
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 25, 2026.

Transparency log

Release files / livekit_plugins_langchain-1.9.0-py3-none-any.whl

Download URL livekit_plugins_langchain-1.9.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91ec38c22abdb1e8dcfa2c166bb77db723313ed79e7c21ce96c991105540fe55
BLAKE2b-256 checksum
How to use checksums
ebe2912dcd5a2e727427af6f87ca9fc4f3a5807e38ac1d5352231539073b1d9e
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 25, 2026.

Transparency log

Security for livekit-plugins-langchain 1.9.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for livekit_plugins_langchain-1.9.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 Nov 25, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

1.9.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page