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.13.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.13.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for astrocyte_integration_tavus-0.13.0.tar.gz
Algorithm Hash digest
SHA256 0d53e5782a1a18d3ff01245ac0eb671fc1b4685d6690efcb6c1e5ebf2865f9a2
MD5 e7d138319568e79c9b2f7585c68daff0
BLAKE2b-256 d038305e664b1538d9d4b76f4bb89ae580cf387b06d8bf245904f387d93e922d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for astrocyte_integration_tavus-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90127577defb4363d4c69672c54163f78f5c6ab77b6a51e5065525a40bd9f82d
MD5 cfd7fb995de03cc9bf61e5b46e5120ed
BLAKE2b-256 67fa475c7ce806a3bca8aabfb08000dae2baa594df48e928f6deef47cb3726a8

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