# Lab 2 — interrupt it

> Deepgram workshops › Deepgram Voice Agent workshop — easy mode › Lab 2 — interrupt it
> Web version: https://workshops.deepgram.com/voice-agent-in-browser/interrupt-it
> About 4 min.

### Interrupt the agent mid-answer {#talk-over-it}

**Goal:** Interrupt the agent mid-answer and hear it stop talking.

Ask the agent a question with a long answer, such as *"explain how a car engine works"*. About two seconds in, talk over it.

It stops. That's **barge-in**, and it's the feature that makes a voice agent feel like a conversation instead of a phone tree. The moment Deepgram hears speech that looks like a real turn, it stops generating audio and starts listening.

You get it for free here. In code, you have to throw away the audio already queued on your machine, or your speaker keeps playing the last two seconds. Ask a neighbor on the code track to show you their [Step 5](/voice-agent-py/barge-in) before and after.

**You should see:** the agent stops mid-answer and listens to you.

### Make the agent interrupt itself {#now-break-it}

Take your headphones off and let the agent talk into your own microphone. It can't tell its voice from yours, so it interrupts itself. This is why the room is full of headphones.

**You should see:** the agent cutting itself off.
