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

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.2
File Size Uploaded Provenance Actions
livekit_plugins_talksign-0.1.2.tar.gz 9.9 kB Without provenance Details for livekit_plugins_talksign-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 22.5 kB

Release files / livekit_plugins_talksign-0.1.2.tar.gz

Download URL livekit_plugins_talksign-0.1.2.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3abec94c00b81a6ed0c7e217e6073a3269021a60dfb0a527185f3df577facb0f
BLAKE2b-256 checksum
How to use checksums
630c698ced40f19d8b816962050c59cee2ae2ee50fae2647d2c5aa8bbac3f8bb
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.2-py3-none-any.whl

Download URL livekit_plugins_talksign-0.1.2-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01aded9cd5840ce6dfa3022ad56f4e2e8ab234b888e8e1c784e562b4663ac066
BLAKE2b-256 checksum
How to use checksums
5de69d68b3198597d270033f61c8c02416a5dfa8e08544c60bcbd5f96a1067e4
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.2

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