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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for astrocyte_integration_tavus-0.12.2.tar.gz
Algorithm Hash digest
SHA256 62157efe9409946dcf0c25fe6c4c94dc9d2b4c71e973a33b6bc61ddd3bb99400
MD5 88cbb405dfcf5e1535c6ab786c0dabbb
BLAKE2b-256 35ef37ff6cd54e9190942eaf9c41466c8d095995097465a58599ab85b1383c8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for astrocyte_integration_tavus-0.12.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aa6c5c41c36b0326bc6c4e58f5abef88726025083ad16cb792290bb48ebb04a9
MD5 0ed1d9ec57379630ba264f31abdc1e19
BLAKE2b-256 281dde43fc1ed64af94035d40bb0ea1294f7b3c76ae7f4bfbff6468a6f4c58a5

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