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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for astrocyte_integration_tavus-0.12.0.tar.gz
Algorithm Hash digest
SHA256 b28227bdb523f71f8cc91c7925b265f477c0fec2662e596d4fb1e2bec65f6a4a
MD5 35bf44477dc7cda69a4f501d012ab06d
BLAKE2b-256 4b2f61e12b9ecf16481632a984c462e96213d0ad7ffd435d0aef8984703abbfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for astrocyte_integration_tavus-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09627b5ff7a6a8889a25d8d3e6e838c5d04e7b5c3b139cc78f41bd062da555c3
MD5 1992405f3a7f36769183049e5047f4f2
BLAKE2b-256 ad1a8cfa6cf9bb4ca5cde4465c979ba92bdaaeb6a9705baac0deb8d1d72f3721

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