Skip to main content

livekit-plugins-callyourai

Give your LiveKit voice agent a face. The avatar joins the room as its own participant and speaks with the agent's voice, lips in sync.

pip install livekit-plugins-callyourai
from livekit.agents import AgentSession, room_io
from livekit.plugins import callyourai

async def entrypoint(ctx):
    await ctx.connect()
    session = AgentSession(stt=..., llm=..., tts=...)
    avatar = callyourai.AvatarSession(avatar_id="YOUR_AVATAR_ID")
    await avatar.start(session, room=ctx.room)
    await session.start(agent=MyAgent(), room=ctx.room,
                        room_options=room_io.RoomOptions(audio_output=False))

A complete agent is in examples/agent.py; examples/talk_check.py calls it without a browser and prints what arrived and what was billed.

Environment: CALLYOURAI_API_KEY, plus the usual LIVEKIT_URL, LIVEKIT_API_KEY, LIVEKIT_API_SECRET.

No account yet? Three calls. The full guide for people and coding agents is at https://api.callyour.ai/llms.txt

API=https://api.callyour.ai
curl -X POST $API/v1/signup -d '{"email":"you@example.com"}' -H 'content-type: application/json'   # -> api_key
curl -X POST $API/v1/credits/checkout -H "authorization: Bearer $KEY" -H 'content-type: application/json' -d '{"amount":10}'   # euros
curl -X POST $API/v1/avatars -H "authorization: Bearer $KEY" -H 'content-type: application/json' \
     -d '{"name":"Me","image_url":"https://example.com/me.jpg"}'                                    # -> id

When every avatar is busy

By default start raises CallyouraiError with code no_capacity when no avatar is free. Pass wait_seconds (up to 120) to wait in the queue instead:

avatar = callyourai.AvatarSession(avatar_id="YOUR_AVATAR_ID", wait_seconds=60)
await session.start(agent=MyAgent(), room=ctx.room)      # the agent speaks into the room itself
await avatar.start(session, room=ctx.room)                # returns at once if queued

Started after session.start like this, the agent talks voice-only while the avatar waits, and its speech moves to the avatar as soon as the avatar is live. Started before session.start (with audio_output=False), start waits for the avatar instead. Waiting is free; billing starts when the avatar's video is live. Events: avatar_queued, avatar_joined, avatar_unavailable.

Sessions are billed per second from your prepaid euro credits while the avatar's video is live. CallyouraiError.code tells you why a start was refused (insufficient_credits, no_capacity, ...).

Questions: support@callyour.ai · Terms and pricing: https://callyour.ai

Metadata

Release files for livekit-plugins-callyourai 0.2.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-callyourai 0.2.0
File Size Uploaded Provenance Actions
livekit_plugins_callyourai-0.2.0.tar.gz 9.8 kB With provenance Details for livekit_plugins_callyourai-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 17.5 kB

Release files / livekit_plugins_callyourai-0.2.0.tar.gz

Download URL livekit_plugins_callyourai-0.2.0.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dc255978bbc6a4f06b026b02052986f18d0fbbbae036ae732246e89b032a2774
BLAKE2b-256 checksum
How to use checksums
11300bdc8b9b60a249a116cb55393da331b871d3504209563fb6957e03a1a0eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / livekit_plugins_callyourai-0.2.0-py3-none-any.whl

Download URL livekit_plugins_callyourai-0.2.0-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77b8f06fb8f8599b5592cfcd24f8004cf9afc808f7759674cd59340a2d0e7065
BLAKE2b-256 checksum
How to use checksums
f660e4fefe9ea3058931ae246954c940d0f1651eea8a78822bf6d523266fc81c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for livekit-plugins-callyourai 0.2.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for livekit_plugins_callyourai-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

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