# Notice

> Deepgram workshops › Build a voice agent › Mission 02: Read the room › Section 1 of 2
> Web version: https://workshops.deepgram.com/voice-agent/frustrated-callers/notice
> About 25 min (estimate). Check it: `make check 02` (offline, no key).

## Push it past the limit

**Goal:** Annoy the agent until it reaches its frustration limit, then hear it change course.

**You need:** early access to the `timing` feature for live runs. The offline check works without it.

**Do:** Tap **Start the agent** and ask something ordinary. Then get annoyed out loud, one turn at a time, until the meter reaches the **Frustration limit**.

**Listen for:** it changing course.

_On the web page, this step has the Settings panel; in your own code the same settings are in the start file._

_On the web page, this step has the agent console: talk or type to the agent there, or run the same mission in your own code._

**You should see:** the meter under the status line fill with each annoyed turn, then the agent change course. If the check misses it, lower the **Frustration limit** and tap **Reconnect and apply**.

**Check:** It noticed you were annoyed.

**Check:** It changed tone or offered a way out.

## Mark it yourself

**Do:** Heard it change course and the check missed it? Mark it yourself.

**You should see:** the check marked done. Tap **I did this** only if you heard the agent change tone or offer a way out after your annoyed turns reached the limit.

**Check:** It changed tone, but the check missed it. (Optional.)

**How it works**

Frustration is a timing problem before it's a words problem. With {{name.timing}} on, the agent counts annoyed turns from how you talk as well as the words: cutting it off, repeating yourself, snapping. The count runs for the whole call. A calm turn keeps it where it is.

When the count reaches the Frustration limit, the agent's frustration event carries an escalated flag, and the agent gets a general nudge to recover. Your prompt decides the specifics. A limit of 0 switches the count off, and 3 is a good first run.

The default prompt ends with the recovery rule. It reads: "If the caller sounds frustrated: apologize once, drop the script, and offer a way out, such as a person who can help or a callback."

Talk out loud, because your tone is part of what it hears. The meter fills as it counts. When the first check passes, it says which annoyed turn tripped the flag and how many seconds in. The second check reads what the agent said after the flag and looks for an apology or an offer.
