Skip to main content

Talksign plugin for LiveKit Agents

Support for Talksign sign language avatars: an Echo 2.0 avatar signs your agent's replies in ASL as a video track in the room, while the agent's voice still plays.

pip install livekit-plugins-talksign   # then: await talksign.AvatarSession().start(session, room=ctx.room)

Pre-requisites

You'll need an API key from the Talksign Developer Console. It can be set as an environment variable: TALKSIGN_API_KEY

Usage

from livekit.agents import Agent, AgentSession, JobContext
from livekit.plugins import talksign


async def entrypoint(ctx: JobContext):
    session = AgentSession(stt=..., llm=..., tts=...)

    avatar = talksign.AvatarSession(avatar_id="arthur", sign_language="asl")
    await avatar.start(session, room=ctx.room)

    await session.start(agent=Agent(instructions="You are a helpful assistant."), room=ctx.room)

What it does:

  • publishes a talksign_avatar camera track from the agent's own participant (1280x720, 30 FPS by default), showing the avatar's idle loop between answers;
  • takes the agent's reply text from the session's transcription output and streams it to Echo 2.0, sentence by sentence (the transcription itself is forwarded unchanged);
  • leaves the agent's audio untouched;
  • stops signing and returns to idle when the user interrupts the agent.

Sign → text (Palm) is coming soon.

Argument Default
avatar_id "arthur" Talksign avatar
sign_language "asl" Sign language
api_key TALKSIGN_API_KEY Talksign API key
width, height, fps 1280, 720, 30 Video track
client new client Reuse a talksign.AsyncTalksign
source_options {} Extra talksign.video.EchoFrameSource options (crossfade_ms, background, ...)

Example agent: examples/signing_agent.py. Tested with livekit-agents 1.9.0.

Development

pip install -e ../talksign-python[video] -e ".[dev]"
pytest   # offline: a fake Talksign API, a fake room, the real AgentSession

Metadata

Release files for livekit-plugins-talksign 0.1.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-talksign 0.1.0
File Size Uploaded Provenance Actions
livekit_plugins_talksign-0.1.0.tar.gz 9.1 kB Without provenance Details for livekit_plugins_talksign-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 20.9 kB

Release files / livekit_plugins_talksign-0.1.0.tar.gz

Download URL livekit_plugins_talksign-0.1.0.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b39c8a825c89d63cb3dafcc4055874806e656679b89f33dd089343eb408a1492
BLAKE2b-256 checksum
How to use checksums
334c90467db158fd99f1840da7352f4494c0458e1c831506aae5e2b15ab4432a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / livekit_plugins_talksign-0.1.0-py3-none-any.whl

Download URL livekit_plugins_talksign-0.1.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea85684aaef483ab9f5f4b5b859daa468280cdf566ad4994c7133d5ef3c3d12d
BLAKE2b-256 checksum
How to use checksums
e0aa835df895f99904221c285189c112f0b04e7b860dd961b22e87abec56b336
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for livekit-plugins-talksign 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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