Krisp Noise Cancellation
Eliminate background noise and voices for more reliable agent interactions
Overview
Voice agents are vulnerable to background noise, especially other voices that trigger false interruptions. When this happens, your bot stops mid-sentence unnecessarily, creating a poor user experience. Pipecat Cloud’s Krisp integration processes incoming audio to remove ambient noise and background voices before they reach your agent, resulting in cleaner audio input with fewer false interruptions and better transcription.
Krisp processes the audio before it reaches your agent’s speech recognition and VAD systems, helping to ensure that only the intended user’s voice triggers interruptions.
Enabling Krisp
Enabling Krisp with Pipecat Cloud involves the following steps:
1. Use the Pipecat Base Image
Krisp dependencies are pre-installed in the official Pipecat base image. You don’t need to add any Krisp-related packages to your requirements.txt
file. Krisp support is available in the dailyco/pipecat-base
image starting with version 0.0.6
.
If you’re not using the Pipecat base image and would like to use Krisp, please contact help@daily.co for assistance.
2. Add the Krisp Filter to Your Transport
In your bot code, import and add the KrispFilter
to your transport:
3. Enable Krisp in Your Deployment
You can enable Krisp when deploying your agent through:
bash pcc deploy --enable-krisp true
bash pcc deploy --enable-krisp true
In your pcc-deploy.toml
:
In the Pipecat Cloud dashboard:
- Navigate to your agent
- Go to Settings > Agent Configuration
- Toggle “Krisp Noise Cancellation” on
- Save your changes
Once configured, your agent will process incoming audio through Krisp’s noise cancellation.
Testing Your Integration
To verify Krisp is working:
- Deploy your agent with Krisp enabled
- Connect to your agent in an environment with background noise; try turning on a TV or podcast
- Observe whether background noises and voices affect your agent’s behavior
Pricing
Krisp processing is billed based on active session minutes:
Usage Tier | Price |
---|---|
First 100,000 minutes per month | Free |
Additional minutes | $0.0002 per minute |
For agents deployed with Krisp enabled, active session minutes count as Krisp usage, accruing towards your monthly bill.
Troubleshooting
If you’re experiencing issues with Krisp noise cancellation:
- Verify
enable_krisp
is set totrue
in your deployment configuration - Confirm you’ve added the
KrispFilter()
to your transport configuration - Check your logs for any Krisp-related error messages