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

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.3
File Size Uploaded Provenance Actions
livekit_plugins_talksign-0.1.3.tar.gz 10.1 kB Without provenance Details for livekit_plugins_talksign-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 22.9 kB

Release files / livekit_plugins_talksign-0.1.3.tar.gz

Download URL livekit_plugins_talksign-0.1.3.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3e96529d5cf38576ec86607ace45b6c798e1eb298ebc089a4384a3593d67f085
BLAKE2b-256 checksum
How to use checksums
0201b9c7044f8ae64cf705c722b9468cebcab81260c52c4f7b124c47c3bb1d1a
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.3-py3-none-any.whl

Download URL livekit_plugins_talksign-0.1.3-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4bcbfb0924cbcc0ade26e307f864fca0fd14875bb98cca699a38a13409a77edb
BLAKE2b-256 checksum
How to use checksums
93b00f62c5d323f4bd0f155ffd9d27ddf4389521b33697ab37577dfc92a96dbc
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.3

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