Skip to main content

livekit-agents-adapter-websocket

WebSocket translator for livekit-agents-adapter. Connect any remote agent service to LiveKit via a persistent WebSocket connection.

Installation

pip install livekit-agents-adapter-websocket

Usage

from livekit_agents_adapter import AgentAdapter, AgentAdapterConfig
from livekit_agents_adapter_websocket import WebSocketTranslator

translator = WebSocketTranslator("ws://localhost:8000/ws")

config = AgentAdapterConfig(
    translator=translator,
)

agent = AgentAdapter(
    config=config,
    instructions="You are a helpful assistant.",
)

See examples/websocket_reference_server.py for a reference WebSocket server implementation.

Metadata

Release files for livekit-agents-adapter-websocket 0.1.1

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-agents-adapter-websocket 0.1.1
File Size Uploaded
livekit_agents_adapter_websocket-0.1.1.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for livekit-agents-adapter-websocket 0.1.1
File Interpreter ABI Platform
livekit_agents_adapter_websocket-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / livekit_agents_adapter_websocket-0.1.1.tar.gz

Download URL livekit_agents_adapter_websocket-0.1.1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f0c03487d69952ba1e90d42230b8326e14dc545f34e0e27f18482b5566687f5d
BLAKE2b-256 checksum
How to use checksums
555801de689852ceef005b5ab0178364af65e3cb2de041a335d66de6dc4f1c31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.29

Release files / livekit_agents_adapter_websocket-0.1.1-py3-none-any.whl

Download URL livekit_agents_adapter_websocket-0.1.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec6c147a8d2b9fd1acad62c3a7cf7b805ffa50ac6b394ef606654b6d9ce64839
BLAKE2b-256 checksum
How to use checksums
c72a2551927c191836576346f7732a9d566d9001503b8aa008125f60b2bbeb85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.29

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

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