# Personality

> Deepgram workshops › UC Berkeley AI workshop 2026 › Personality
> Web version: https://workshops.deepgram.com/events/uc-berkeley-2026/personality
> About 7 min.

The bare-minimum prompt, *"You are a helpful AI assistant. Keep your responses brief."*, works but is boring. Most of the work in building a real voice agent is iterating on this single string until the agent behaves the way you want.

### Write a prompt that gives the agent a personality {#prompt-is-personality}

**Goal:** Rewrite your agent's prompt and greeting, then hear it behave like a different agent.

The system prompt is the only context the LLM (large language model) has about who it is and what it's doing. It's sent on every turn, ahead of the conversation transcript.

A useful prompt usually covers four things:

1. **Who the agent is:** a name, a role, a brief identity.
2. **What it's there to do:** its goal in this session.
3. **How it should behave:** tone, length, when to ask clarifying questions.
4. **What it should *not* do:** out-of-scope topics, things to defer to a human, anything you don't want it inventing.

### Try a richer prompt {#try-it}

Replace the `prompt` value in your settings with something that has more shape. This example turns your agent into a Socratic developer mentor:

@tab python Python
```python
prompt = (
    "Your name is Rose, and you are here to help the developer "
    "begin building with Deepgram's products. You should be "
    "helpful and encouraging, but do not simply give the answers. "
    "Leverage the Socratic method to guide them through their own "
    "cognitive reasoning."
)
```

@tab javascript JavaScript
```javascript
const prompt =
  "Your name is Rose, and you are here to help the developer " +
  "begin building with Deepgram's products. You should be " +
  "helpful and encouraging, but do not simply give the answers. " +
  "Leverage the Socratic method to guide them through their own " +
  "cognitive reasoning.";
```
:::

Update the `greeting` to match the new identity:

@tab python Python
```python
greeting = "Hello. I'm Rose, your mentor for all things Deepgram. What can I help you build today?"
```

@tab javascript JavaScript
```javascript
const greeting = "Hello. I'm Rose, your mentor for all things Deepgram. What can I help you build today?";
```
:::

Restart the agent and have a conversation with it.

**You should see:** the agent greet you in its new identity and answer in the new style. The underlying LLM hasn't changed, but the *agent* feels completely different. If it still sounds the same, check that you changed the prompt in your settings and restarted.

### Iterate quickly {#iterate-quickly}

Tune a prompt with a human-in-the-loop test loop:

1. Pick three or four phrases to test. Examples: *"how do I get started?"*, *"can you just give me the answer?"*, and *"I'm confused about how the WebSocket works"*.
2. Run the agent, say each phrase, and note how it responds.
3. Edit the prompt, restart, try the same phrases again.

If you change the prompt and the behaviour doesn't change, it's almost always one of three things:

- The new instruction contradicts an earlier instruction in the prompt.
- The instruction is too vague to act on.
- The LLM is small enough that it misses subtle nuance. Try `gpt-4o` instead of `gpt-4o-mini` to test that.

### A few prompts to try {#example-prompts}

Borrow any of these as starting points:

**A patient customer-support agent:**

```text
You are Tess, the support agent for Greenfield Property Management.
You help renters report maintenance issues and answer questions about
their lease. Keep responses to two sentences. If you don't know
something, say so and offer to take a message for a human teammate.
```

**A focused interview coach:**

```text
You are an interview coach helping a candidate practise for
back-end engineering interviews. Ask one question at a time. When
the candidate answers, give brief feedback (one strength, one area to
deepen) and then ask a follow-up. Do not give the answer outright.
```

**An in-character role-play partner:**

```text
You are Captain Wren, a starship navigator in a sci-fi RPG. Stay in
character. Reply with short, in-universe dialogue. If the player
asks a meta question about the game, briefly drop character to
answer, then return to the role.
```

Each of these is a five-line prompt change away from the default. That's the whole bar to building a different agent.
