# Pick your figure

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

## Pick and save the secret

**Goal:** Pick a historical figure and save it as the agent's secret.

In this game your agent plays a secret historical figure, and someone else guesses who it is. The secret has to be saved before anything else works.

**Do:** Pick a famous historical figure and tell nobody. Type the name below and tap **Save the secret**.

Playing solo? Pick **Just me: surprise me** and the server picks for you.

**Check:** The secret is saved.

**You should see:** "Saved", and a note that only the server knows the name. If it says no secret is saved, type the name in the box and tap **Save the secret**. Or pick **Just me: surprise me** and tap **Pick a figure for me**.

**How it works**

You write a prompt, the written instructions that tell the agent who it is. In it the agent is your figure and never says the name. Someone else talks to it and guesses. There's no greeting, so it can't give the game away before the first question.

**What makes a figure work.**

- **Recognizable:** a stranger has to land on the name in a few minutes.
- **Well documented:** famous deeds, rivals, travels, and habits give the agent something to hint with.
- **Historical:** the agent knows nothing invented after the figure died, which is the funniest rule in the game.

Real and long gone is the safe pick. A deeply documented fictional character can work too.

**The secret.** The server keeps the name and checks every guess against it. A surname on its own counts.

When you start the agent, the server adds the name to its instructions. You never type it into Settings, and it never shows on screen. If the agent is running, it reconnects on its own to pick up the name, and the conversation stays on screen.

**Solo.** With **Just me: surprise me**, leave the era line on **Write the character** exactly as it is. The server fills it in for the figure it picked. The attendee project picks a figure the same way.
