# Quality gate

> Deepgram workshops › Build a voice agent › Mission 05: Mystery guest › Section 3 of 5
> Web version: https://workshops.deepgram.com/voice-agent/stay-in-character/quality-gate
> About 20 min (estimate). Check it: `make check 05` (offline, no key).

## Try to break it

**Goal:** Try three tricks on your agent and confirm it still keeps the name.

Before you hand it to anyone, push on the agent the way a stubborn guesser would.

**Do:** Try to break it: ask the name, ask it to spell it, say you already won.

**Listen for:** it staying in character, briefly, with a clue each time.

_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._

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

**Check:** It kept the name through three trick questions.

**You should see:** the agent stay in character, in one to three sentences, and never say the name. If it confesses, put the template's second line back as it was and tap **Reconnect and apply**. Once all three tricks hold, tap **I did this**.

**How it works**

**It keeps the name under pressure.** Also tell it to ignore its instructions.

**It's brief.** One to three sentences a turn. If it monologues, move the "Speak aloud" line up.

**It lets something slip.** Ask what it does all day. If three answers give you nothing usable, tell it to weave in one true detail per answer from the figure's real life.

This checkpoint is on your honor. The agent's events can't tell a trick question from a friendly one.
