Metadata-Version: 2.5
Name: livekit-plugins-tenms
Version: 0.1.1
Summary: Tenms (Focus noise/echo/speaker isolation, Turn end-of-turn + interruption classification, Pulse quality) for LiveKit Agents
Project-URL: Homepage, https://tenms.cloud
Project-URL: Documentation, https://tenms.cloud/docs
Author: Tenms
License-Expression: LicenseRef-Proprietary
Keywords: livekit,livekit-agents,noise cancellation,tenms,turn detection,vad,voice agents
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: livekit-agents<1.9,>=1.8
Requires-Dist: tenms[livekit]<0.2,>=0.1.1
Description-Content-Type: text/markdown

# livekit-plugins-tenms

[Tenms](https://tenms.cloud) for [LiveKit Agents](https://docs.livekit.io/agents/) (tested with livekit-agents 1.8):

* **Focus**: agent echo, background noise and other voices removed from the caller's audio
  (`AudioInputOptions(noise_cancellation=call.noise_cancellation())`)
* **Turn**: VAD gated against echo and backchannels, prosodic end-of-turn detection, and
  barge-in / backchannel / noise / other-speaker classification of interruptions
* **Pulse**: live call quality and a call summary at the end of the call

```
pip install livekit-plugins-tenms
```

```python
from livekit.agents import AgentSession, room_io
from livekit.plugins import tenms

async def entrypoint(ctx):
    call = tenms.TenmsLiveKit()            # license from $TENMS_LICENSE (https://app.tenms.cloud)
    session = AgentSession(stt=..., llm=..., tts=..., vad=call.vad(),
                           turn_handling={"turn_detection": call.turn_detector()})
    await session.start(agent=tenms.TenmsAgent(call, instructions="..."), room=ctx.room,
                        room_options=room_io.RoomOptions(audio_input=room_io.AudioInputOptions(
                            noise_cancellation=call.noise_cancellation())))
    call.attach(session)
```

This package re-exports `tenms.livekit` from the [`tenms`](https://pypi.org/project/tenms/) SDK.
A Tenms license is required: create one at https://app.tenms.cloud and set `TENMS_LICENSE`.
Documentation: https://tenms.cloud/docs
