Skip to main content

Voice AI infrastructure monitoring for LiveKit agents

Project description

damasqas_livekit

Voice AI infrastructure monitoring for LiveKit agents. One line to monitor everything.

Installation

pip install damasqas_livekit

Usage

import damasqas_livekit

# After starting your AgentSession:
damasqas_livekit.monitor(session)

Set DAMASQAS_TOKEN as an environment variable (your workspace API key).

What It Captures

  • Pipeline metrics — STT, LLM, TTS latencies per turn (grouped by speech_id)
  • Tool calls — function name, duration, success/failure
  • Transcripts — user and agent speech text
  • State transitions — agent lifecycle (listening, thinking, speaking)
  • Session close — end reason, errors, total turns

All telemetry is batched and sent asynchronously. The SDK never blocks or crashes your voice pipeline.

Configuration

Environment Variable Required Default
DAMASQAS_TOKEN Yes
DAMASQAS_URL No https://connect.damasqas.com/api/v1/voice/ingest

Or pass them directly:

damasqas_livekit.monitor(session, token="your-token", url="https://...")

Logging

The SDK is quiet by default — only warnings and errors are logged. To see per-event INFO logs (batch flushes, metric captures, transcript arrivals, etc.) for debugging, pass verbose=True:

damasqas_livekit.monitor(session, verbose=True)

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

damasqas_livekit-0.3.1.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

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

damasqas_livekit-0.3.1-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file damasqas_livekit-0.3.1.tar.gz.

File metadata

  • Download URL: damasqas_livekit-0.3.1.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for damasqas_livekit-0.3.1.tar.gz
Algorithm Hash digest
SHA256 5649fa66b7709551635a10593f4e18eb8b1ca1413ec5bb631829d62b258faf18
MD5 2b9c8b5ea38e936de9122c5e28908aac
BLAKE2b-256 89d65ecfa2a43059503f02994528e78f665c825d215525aee8dc5f3ac1c57e81

See more details on using hashes here.

File details

Details for the file damasqas_livekit-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for damasqas_livekit-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae4676e90507e8c1aacd21aca3043279afae0eeb8ffea4d064d934a84efe8b47
MD5 12e30d9defd65ad8ac9ef96dd599238a
BLAKE2b-256 386f3e9937b980e891f462fa4e590bfa18f5e79a66bfb67906d798caac3fd142

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