Skip to main content

Krisp Plugin

This plugin provides Krisp-based turn detection capabilities for Vision Agents using the Krisp Audio SDK.

Features

  • Turn Detection: Real-time detection of speaking turns using Krisp's turn-taking model
  • High Accuracy: Leverages Krisp's advanced audio processing for reliable turn detection
  • Configurable: Adjustable confidence thresholds and frame durations
  • Low Latency: Optimized for real-time conversational AI applications

Installation

pip install vision-agents-plugins-krisp

Note: This plugin requires the Krisp Audio SDK and a valid Krisp model file (.kef).

Usage

from vision_agents.plugins import krisp

# Create turn detector
turn_detector = krisp.TurnDetection(
    model_path="path/to/krisp-viva-tt-v1.kef",
    frame_duration_ms=15,
    confidence_threshold=0.5
)

# Start detection
turn_detector.start()

# Process audio
await turn_detector.process_audio(audio_data, user_id="user123")

# Stop detection
turn_detector.stop()

Configuration

  • model_path: Path to the Krisp model file (.kef)
  • frame_duration_ms: Duration of audio frames in milliseconds (10, 15, 20, 30, or 32)
  • confidence_threshold: Threshold for turn detection (0.0 to 1.0)

Requirements

  • Python 3.10+
  • krisp-audio SDK
  • vision-agents-core
  • Krisp model file

License

Apache-2.0

Metadata

Release files for vision-agents-plugins-krisp 0.1.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vision-agents-plugins-krisp 0.1.14
File Size Uploaded
vision_agents_plugins_krisp-0.1.14.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vision-agents-plugins-krisp 0.1.14
File Interpreter ABI Platform
vision_agents_plugins_krisp-0.1.14-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / vision_agents_plugins_krisp-0.1.14.tar.gz

Download URL vision_agents_plugins_krisp-0.1.14.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
391e2fd115fb022762de714b3107fc2040b018a4424fa98d1d48d8a0854195a5
BLAKE2b-256 checksum
How to use checksums
fdd375851093987973b4aa95fa6a95476d6ea198c1f0408873e8378322283e9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.19

Release files / vision_agents_plugins_krisp-0.1.14-py3-none-any.whl

Download URL vision_agents_plugins_krisp-0.1.14-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19d6e666bda53d64e62a173cf00737262bda1196ece951a7e00f5718a7bce9d2
BLAKE2b-256 checksum
How to use checksums
f11703f097f803c1ff4cabb92d2a2365061410209da82c6a77772cc1bad85b3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.19

Release history Release notifications | RSS feed

This release

0.1.14 This release

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.3

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page