Skip to content

feat(krisp): adding krisp viva plugin for voice isolation - #1904

Merged
lukasIO merged 27 commits into
mainfrom
lukas/krisp-viva
Jul 23, 2026
Merged

feat(krisp): adding krisp viva plugin for voice isolation#1904
lukasIO merged 27 commits into
mainfrom
lukas/krisp-viva

Conversation

@lukasIO

@lukasIO lukasIO commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Description

Adds a plugin for the Krisp Viva SDK, allowing for direct LK cloud usage and the custom license wrapper, mirroring livekit/agents#5914

Changes Made

Pre-Review Checklist

  • Build passes: All builds (lint, typecheck, tests) pass locally
  • AI-generated code reviewed: Removed unnecessary comments and ensured code quality
  • Changes explained: All changes are properly documented and justified above
  • Scope appropriate: All changes relate to the PR title, or explanations provided for why they're included
  • Video demo: A small video demo showing changes works as expected and did not break any existing functionality using Agent Playground (if applicable)

Testing

  • Automated tests added/updated (if applicable)
  • All tests pass
  • Make sure both restaurant_agent.ts and realtime_agent.ts work properly (for major changes)

Additional Notes


Note to reviewers: Please ensure the pre-review checklist is completed before starting your review.

@changeset-bot

changeset-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4f3db4e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 39 packages
Name Type
@livekit/agents-plugin-krisp Patch
@livekit/agents Patch
@livekit/agents-plugin-anam Patch
@livekit/agents-plugin-anthropic Patch
@livekit/agents-plugin-assemblyai Patch
@livekit/agents-plugin-azure Patch
@livekit/agents-plugin-baseten Patch
@livekit/agents-plugin-bey Patch
@livekit/agents-plugin-cartesia Patch
@livekit/agents-plugin-cerebras Patch
@livekit/agents-plugin-deepgram Patch
@livekit/agents-plugin-did Patch
@livekit/agents-plugin-elevenlabs Patch
@livekit/agents-plugin-fishaudio Patch
@livekit/agents-plugin-google Patch
@livekit/agents-plugin-hedra Patch
@livekit/agents-plugin-hume Patch
@livekit/agents-plugin-inworld Patch
@livekit/agents-plugin-lemonslice Patch
@livekit/agents-plugin-liveavatar Patch
@livekit/agents-plugin-livekit Patch
@livekit/agents-plugin-minimax Patch
@livekit/agents-plugin-mistral Patch
@livekit/agents-plugin-mistralai Patch
@livekit/agents-plugin-neuphonic Patch
@livekit/agents-plugin-openai Patch
@livekit/agents-plugin-perplexity Patch
@livekit/agents-plugin-phonic Patch
@livekit/agents-plugin-protoface Patch
@livekit/agents-plugin-resemble Patch
@livekit/agents-plugin-rime Patch
@livekit/agents-plugin-runway Patch
@livekit/agents-plugin-sarvam Patch
@livekit/agents-plugin-silero Patch
@livekit/agents-plugin-soniox Patch
@livekit/agents-plugin-tavus Patch
@livekit/agents-plugin-trugen Patch
@livekit/agents-plugin-xai Patch
@livekit/agents-plugins-test Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@lukasIO
lukasIO requested a review from 1egoman June 29, 2026 13:04

@1egoman 1egoman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally makes sense to me!

Comment thread plugins/krisp/src/_krisp.ts Outdated
Comment thread plugins/krisp/src/_krisp.ts Outdated
Comment thread plugins/krisp/src/_krisp.ts Outdated
Comment thread plugins/krisp/src/_krisp.ts Outdated
Comment on lines +299 to +311
// Emit exactly as many samples as we received this call. Before the first
// full chunk is ready the deficit is zero-padded; samples in and out stay
// balanced over time, so there is no drift.
const n = frame.samplesPerChannel;
let out: Int16Array;
if (this.outBuf.length >= n) {
out = this.outBuf.slice(0, n);
this.outBuf = this.outBuf.slice(n);
} else {
out = new Int16Array(n);
out.set(this.outBuf, n - this.outBuf.length);
this.outBuf = new Int16Array(0);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Relevant comment from associated agents pull request: livekit/agents#5914 (comment). I think this could be vulnerable to the same problem.

Comment thread plugins/krisp/README.md Outdated
Comment thread plugins/krisp/package.json Outdated
@lukasIO
lukasIO marked this pull request as ready for review July 6, 2026 13:54
@lukasIO
lukasIO requested a review from 1egoman July 6, 2026 13:54
@lukasIO
lukasIO requested a review from a team July 6, 2026 13:55
devin-ai-integration[bot]

This comment was marked as resolved.

lukasIO and others added 2 commits July 6, 2026 16:00
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>

@u9g u9g left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the code and had claude review the code and found no problems with it. I ran this locally and could talk back and forth with the agent.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

lukasIO and others added 3 commits July 22, 2026 13:55
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration[bot]

This comment was marked as resolved.

@lukasIO lukasIO changed the title Add krisp viva plugin feat(krisp): adding krisp viva plugin for voice isolation Jul 23, 2026
@lukasIO
lukasIO merged commit 871ca12 into main Jul 23, 2026
6 checks passed
@lukasIO
lukasIO deleted the lukas/krisp-viva branch July 23, 2026 07:47
@github-actions github-actions Bot mentioned this pull request Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants