Skip to main content

Tavus Conversational Video Interface (CVI) API client for Astrocyte integrations

Project description

astrocyte-integration-tavus

Optional Tavus REST client for Astrocyte integrations — Conversational Video Interface (personas, replicas, conversations, documents, …).

Install

pip install astrocyte-integration-tavus

Usage

Uses the Tavus x-api-key header against https://tavusapi.com/v2 by default (auth).

import os

from astrocyte_integration_tavus import TavusClient

async def main() -> None:
    async with TavusClient(os.environ["TAVUS_API_KEY"]) as tavus:
        page = await tavus.list_conversations(limit=10, status="ended")
        conv = await tavus.get_conversation("c123456", verbose=True)

This package is HTTP only — it does not register Astrocyte ingest drivers or storage SPIs. Use it from gateways, jobs, or MCP tools when you need to call Tavus from application code.

API surface

The first release exposes conversations helpers:

  • list_conversations(limit=..., page=..., status=...)
  • get_conversation(conversation_id, verbose=...)verbose=true returns transcript-rich payloads per Get Conversation.

Extend TavusClient with more endpoints as needed (same _request pattern).

Develop

cd astrocyte-integration-tavus
uv sync --extra dev
uv run pytest tests -v

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

astrocyte_integration_tavus-0.11.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

astrocyte_integration_tavus-0.11.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file astrocyte_integration_tavus-0.11.0.tar.gz.

File metadata

File hashes

Hashes for astrocyte_integration_tavus-0.11.0.tar.gz
Algorithm Hash digest
SHA256 9e05a9b168a471dddd4ced44b3deda23dd4177da8a70c7e4f6c7e8f60e1f4e10
MD5 bd4b9d03998144d2175de79690ced163
BLAKE2b-256 dd63d250a2374a3031e9759f9812cd4d02f970f2d2589ff9d956c09cf90dc970

See more details on using hashes here.

File details

Details for the file astrocyte_integration_tavus-0.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for astrocyte_integration_tavus-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47f8cf9ac4f17a1830550407d8db225eabb941140180e3c5acab461f3277cf60
MD5 ccf82a32d4f0df04107ed785d057f1f1
BLAKE2b-256 48648a2785d35c93afd9df9854524b69d03b7367f4aae47c7217b6a223c4b027

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page