Skip to main content

Voice AI observability dev tool for Pipecat

Project description

Finchvox - elevated debuggability for Voice AI apps

Do your eyes bleed like a Vecna victim watching Pipecat logs fly by? Do OpenTelemetry traces look impressive … yet explain nothing? If so, meet Finchvox, a local debuggability tool purpose-built for Voice AI apps.

Finchvox unifies conversation audio and traces in a single UI, highlighting voice-specific problems like interruptions and high user <-> bot latency. Good luck convincing DataDog to add that!

👇 Click the image for a short video:

Table of Contents

Prerequisites

  • Python 3.10 or higher
  • A Pipecat Voice AI application

Installation

# uv
uv add finchvox "pipecat-ai[tracing]"

# Or with pip
pip install finchvox "pipecat-ai[tracing]"

Setup

  1. Add the following to the top of your bot (e.g., bot.py):
import finchvox
from finchvox import FinchvoxProcessor

finchvox.init(service_name="my-voice-app")
  1. Add FinchvoxProcessor to your pipeline, ensuring it comes after transport.output():
pipeline = Pipeline([
    # SST, LLM, TTS, etc. processors
    transport.output(),
    FinchvoxProcessor(), # Must come after transport.output()
    context_aggregator.assistant(),
])
  1. Initialize your PipelineTask with metrics, tracing and turn tracking enabled:
task = PipelineTask(
    pipeline,
    params=PipelineParams(enable_metrics=True),
    enable_tracing=True,
    enable_turn_tracking=True,
)

Usage - Finchvox server

uv run finchvox start

For the list of available options, run:

uv run finchvox --help

Troubleshooting

Port already in use

If port 4317 is already occupied:

# Find process using port
lsof -i :4317

# Kill the process
kill -9 <PID>

No spans being written

  1. Check collector is running: Look for "OTLP collector listening on port 4317" log message
  2. Verify client endpoint: Ensure Pipecat is configured to send to http://localhost:4317

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

finchvox-0.0.2.tar.gz (8.1 MB view details)

Uploaded Source

Built Distribution

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

finchvox-0.0.2-py3-none-any.whl (119.9 kB view details)

Uploaded Python 3

File details

Details for the file finchvox-0.0.2.tar.gz.

File metadata

  • Download URL: finchvox-0.0.2.tar.gz
  • Upload date:
  • Size: 8.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for finchvox-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ba41d51d35e4e25876f980b1b3dae8962c196631a8a6de8f1684635ed9eb7e42
MD5 46ba77fa5ceb3f75867e4e7fd6c0c861
BLAKE2b-256 ea3e9045fd58bc9512b2ce6542ab22d1aa31373f67877884caabbde3d79118ae

See more details on using hashes here.

File details

Details for the file finchvox-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: finchvox-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 119.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for finchvox-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 81bb4dc9c120ccba751bcdc561fa0f253c6606da9a8bd32c00336ede35ec5004
MD5 5a8c3c313ba9dd45ab6e017bb41473e4
BLAKE2b-256 ef7398ebbf53fb794c0c6a74d73e6036a10c9ea88a5eb91a14ccc0fefb840eee

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