How to write a persona for AI roleplay (template)
Updated
A persona is a short description of the character you play, which the app sends to the AI so the characters know who they’re talking to. Fill it with facts other characters could see or know about you: your name and pronouns, how you look, your role in the story, and one or two ties to the world, such as a debt or a relative. Leave out personality traits and inner thoughts, because the AI tends to read them as a script for playing your character. Keep it short: most personas need 50 to 300 tokens, well under the 500 tokens Janitor AI’s help center suggests as an upper limit.
Most apps have a place for it. Janitor AI lets you keep up to 100 personas, Character.AI keeps personas in your profile settings, SillyTavern has a Persona Management panel, and Chub has a Change Persona menu in the chat. ChatGPT, Claude, and Gemini have no persona field, so your character goes into a project’s instructions or a Gem. This guide gives you a template, explains what the AI does with a persona and why personality traits cause trouble, and covers each app, as of December 2026. It belongs to the same series as our guides to writing a character definition and writing a scenario.
A persona template you can copy
The template lists what the other characters would notice or could find out about you, starting with what they’d see first. Replace each bracket, and leave out any line that doesn’t help the story.
Name: [your character's name, and pronouns if you want them used]
Looks: [age range, build, clothes, and one detail people notice first]
Role: [what you do in this story, and how people see you]
Known for: [a skill or reputation others in the story would have heard about]
Ties: [one or two people, places, or debts that connect you to this world]
Problem: [a weakness or trouble that others could use against you]
Here is the template filled in for a traveler who arrives at Hollow Crossing, the wartime ferry landing from our scenario guide:
Name: Ilse Marr (she/her)
Looks: early thirties, tall and narrow-shouldered, cropped dark hair going grey at the temples. A courier's oilskin coat, ink stains on her right hand, and a slight limp from an old fall.
Role: a licensed courier for the merchants' guild of Vell. She carries a sealed satchel she isn't allowed to open.
Known for: in eleven years, she has never missed a delivery date. Guild clerks on both sides of the river know her name.
Ties: she owes forty silver to a moneylender in Ardin. Her younger brother Tam serves in Vell's militia.
Problem: her travel papers were issued in Vell, so Ardin's soldiers will treat her as an enemy. She can't swim.
Each line gives the other characters something to react to. The limp and the oilskin coat are things Teodor the ferryman would see at the landing. The sealed satchel and the papers give a patrol a reason to stop her, and the debt and the brother give the war two faces she cares about. Nothing in the persona says how Ilse talks or what she feels, so those come from how you write her in the chat. The whole persona comes to about 160 tokens.
A plain persona for any bot
A short default persona is useful for bots where you haven’t planned a character yet. It needs only a name, pronouns, and a sketch of how you look:
Name: Sam Okafor (they/them). Late twenties, average height, short black hair, plain traveling clothes.
A persona this plain fits almost any story, and the bot’s scenario or greeting can supply your role.
What the AI does with your persona
Before each reply, the app builds one block of text for the model: the character’s definition, the scenario, your persona, any memory or notes, and as many recent messages as fit. The persona sits in that block on every reply, so the model reads it alongside the character’s description as part of the same story.
The apps document this in different ways. Janitor AI’s help center counts “the user’s persona” among the permanent tokens, which “show up every single time the AI processes a message.” SillyTavern adds the persona description to the prompt along with the character’s card by default, and lets you move it next to the Author’s Note or to a set depth in the chat. Character.AI’s guide says “Characters will remember your persona information,” and its 2026 greeting guide says AI-generated greetings are “tuned to each user’s Persona (their saved name, vibe, and backstory).”
The model uses a persona in two ways. It describes you to the characters, so they can notice your coat or ask about your brother. It also tells the model what kind of person is in the story, and the model may act on that. A persona that says your character is the greatest swordsman in the kingdom tends to be taken at face value. Researchers at Anthropic (Mrinank Sharma and colleagues, ICLR 2024) found that five AI assistants “consistently exhibit sycophancy,” giving answers that match what the user believes over what is true. In a story, the same tendency can make opponents fold and characters agree with whatever your persona claims. Write claims as reputation, such as “known in Vell as a fine swordsman,” so the world can still test them.
Why personality traits in a persona backfire
Janitor AI’s help center is direct about this: describe the outside and leave the personality out. Its persona FAQ says to include “name, appearance, age, clothing, etc.” and to “avoid adding personality traits so the bots aren’t tempted to RP as you.” Its longer persona guide says that with personality traits or backstory in a persona, “you’re essentially handing the AI a script of how it should roleplay you.”
The reason is in how the model writes. It continues a story that fits everything in its context. A line such as “Ilse is sarcastic and quick to anger” describes how one of the story’s characters behaves, and the model can act on it the same way it acts on the character’s own definition: by writing Ilse’s sarcastic replies and angry outbursts for you. Our guide on stopping an AI character from speaking for you covers the other causes and the fixes.
Not every app agrees. Character.AI’s persona guide, last updated about two years ago, shows example personas with personality lines, likes, and dislikes. If you want the characters to know something about your character’s temperament, write it as what other people have seen or heard, in a line or two: “has a reputation for a sharp tongue” gives the characters something to expect without telling the AI how to write your turns.
Your personality reaches the AI anyway, through the way you write in the chat. Jane Xing and colleagues (EMNLP 2025) had simulated users with different personalities talk to chatbots and found that the chatbots’ agreeableness, extraversion, and conscientiousness were “highly susceptible to user influence.” Characters respond to how you play, so your turns are the place to show who your character is. Our guide to how to roleplay with AI covers writing turns.
What to put in a persona
The useful parts of a persona are things the story can do something with.
Name and pronouns
Give your character’s name, and pronouns if you want them used, since the model otherwise guesses from the name. In
SillyTavern the {{user}} placeholder in a character’s definition and greeting is replaced with “the selected
persona’s name,” and Chub fills it with “the name of whichever user is interacting with the character.” Character.AI’s
greeting guide says it swaps {{user}} for “the user’s display name.” Our guide to
making a bot say your name covers each app and what to do when the name comes out
wrong.
Appearance
Describe what someone would notice in the first minute: an age range, build, clothes, and one detail that sets you apart. The D&D Basic Rules (2014) suggest giving a character “an unusual or memorable physical characteristic, such as a scar, a limp, or a tattoo.” Where a word could be read two ways, pick the plainer one, because the AI will picture whatever it thinks the word means.
Role and reputation
Say what your character does and how people see them. The D&D Basic Rules give a good test for this kind of detail: “‘I’m smart’ is not a good trait, because it describes a lot of characters.” A licensed courier who has never missed a delivery tells the characters what to expect from you and gives the story something to threaten.
Ties to the world
A tie connects you to people or places the story can bring in. The D&D Basic Rules call these bonds: “Bonds represent a character’s connections to people, places, and events in the world.” The Fate Core System, a tabletop game, writes character details as short phrases called aspects, including “relationships to people and organizations” and “problems, goals, or issues the character is dealing with,” with examples such as “A Price on My Head.” A debt brings a collector into the story, and a brother in the militia gives the AI a reason to mention the war. Read the bot’s scenario and greeting first so your ties fit its world.
A problem the world can use
Give the story one thing to press on. The D&D rules describe a flaw as “anything that someone else could exploit to bring you to ruin or cause you to act against your best interests.” In a persona, write it as a fact about your situation: enemy papers, a debt, a fear of deep water written as “can’t swim.” The characters can use a fact without the AI deciding how you feel about it.
What to leave out
- Personality adjectives, such as “shy,” “brave,” or “sarcastic.”
- Thoughts, feelings, and plans: what your character wants in this scene and how they’ll react.
- How your character feels about the bot’s character. That develops in play, and the bot’s definition may already say who you are to them.
- A long backstory. Keep only what other characters could know or find out.
- Instructions to the AI. Rules such as “don’t write my actions” belong in the app’s instructions, an out-of-character note, or an author’s note. Our guide to what OOC means explains how to write them.
- Real personal details. A persona describes a character, so you don’t need your real name, school, or address in it.
First person, third person, or labels?
Character.AI’s guide suggests three formats: first person (“I like to be called Max…”), labels by category (Name, Age, Hair…), and third person. All three work. We suggest labels or third person with your character’s name, for two reasons.
The persona sits in the same block of text as the character’s definition, which often addresses the model as “you.” A persona written as “You are a tall courier” can read as an instruction to the AI to be that courier. Writing “Ilse is a tall courier” leaves no doubt about who is meant.
The placeholders also change meaning. SillyTavern’s documentation notes that {{user}} and {{char}} “have opposite
meanings when used in Persona and Character descriptions”: in a persona, {{user}} is you. Using your character’s name
avoids the mix-up. Janitor AI’s persona guide suggests wrapping the persona in a tag such as <user_persona> so the
model can tell it apart from the character’s description. It’s optional.
How long a persona should be
Your persona shares a budget with everything else sent on every reply. Janitor AI’s persona guide gives “around 500 tokens or less” as the target, and its help center recommends keeping the personality, scenario, chat memory, and persona together under 2,500 permanent tokens. A longer persona leaves less room for recent messages, so the characters forget the start of the chat sooner. Our guide to AI roleplay settings explains tokens and context.
More detail doesn’t make the AI understand you better. The same Janitor AI guide warns that a persona crammed with details “just gives it more opportunities to make wrong assumptions.” The Ilse persona is about 160 tokens, and most personas need between 50 and 300. Character.AI allows 2,250 characters for c.ai+ subscribers, about 550 tokens, according to its February 2025 update; it doesn’t publish the limit for free accounts. ChatGPT’s custom instructions allow 1,500 characters on the Free and Go plans and 5,000 on Plus, Pro, and business plans, though those apply to every chat.
Make your persona fit the bot
Many bots already say who you are. Teodor’s scenario describes {{user}} as a stranger who has to cross tonight. If
your persona says you’re his old friend from the river, the AI gets two versions of your character and may switch
between them.
Before you start a chat with someone else’s bot, read its greeting and, if the app shows it, its scenario. Pick a persona that fits the role the bot gives you, or use a plain persona and let the bot’s setup fill in your role. If you want a different role, say so in an out-of-character note at the start, or write your opening message so it establishes the new situation.
One persona or several
Keep a plain default and one persona for each long story. A persona with a war courier’s debts and enemy papers makes no sense in a story set in a modern café, and a catch-all persona has to be vague to fit everywhere. Character.AI’s guide suggests the same: “Create Multiple Personas to change your Background information between Chats.”
Check which persona is active before you start. Janitor AI’s FAQ warns that a new chat will “ALWAYS default to your Main Persona first,” even if your last chat used another one. SillyTavern can lock a persona to a chat or to a character, so the right one is selected each time. Character.AI’s guide says to save your changes and start a new chat with the character.
Update a persona when your character changes. The persona is sent on every reply, so a character who lost the limp, paid off the debt, or became captain of the guard in chapter ten will still be described the old way until you edit it.
Mistakes that make a persona backfire
- A list of personality traits. The AI may start writing your character’s lines and reactions.
- Claims the story can’t question, such as “unbeatable” or “everyone trusts her.” Write them as reputation.
- Contradicting the bot’s setup. If the bot says you’ve just met and the persona says you’re old friends, the AI gets two stories.
- Writing the persona as “you,” or mixing up
{{user}}and{{char}}. - Too much detail. Every extra line is another fact the AI can misread or bring up at the wrong time.
- Starting a chat with the wrong persona selected.
- Never updating it. The persona is sent on every reply, so facts that are no longer true stay in play.
Test your persona
A persona can read well and still come out wrong in a chat. A few minutes of testing finds most problems:
- Start a new chat with the persona you want to test, and check that the app selected it.
- In the story, give the character a reason to look at you, then see what they describe. If a detail comes out wrong, reword it in plainer terms.
- Read the first few replies for your character’s lines, thoughts, or actions written by the AI. If you find them, cut personality from the persona first.
- Bring up one of your ties, such as the debt or the brother, and see whether the character can use it.
Personas in each app
Janitor AI
Edit your Main Persona in your account settings, and create others under My Personas, up to 100. On a bot’s page, pick the persona above the Chat button before you start; new chats always begin with the Main Persona. The persona counts toward permanent tokens, and the help center suggests about 500 tokens or less, with appearance and no personality traits. A multi-persona beta, announced in March 2026, lets you switch between your personas in the middle of a chat, and the character treats each one as a separate person.
Character.AI
Personas are in your profile settings, with a “Default for all chats” option that applies one persona to new chats. The guide suggests first-person, labeled, or third-person formats, and says to start a new chat after you save changes. c.ai+ subscribers get 2,250 characters for a persona. Character.AI uses your persona when it generates greetings for new chats, if the character has that option turned on.
SillyTavern
Create personas in the Persona Management panel. Each has a name, an avatar, and an optional description of “mental and physical traits, age, occupation, or any personal details,” though the advice above about personality traits applies here too. You can set where the description goes in the prompt, lock a persona to a chat or a character, and choose a default. Switching personas mid-chat doesn’t change who sent the earlier messages; the documentation offers a sync command for that.
Chub
Chub’s Change Persona menu, next to the chat box, lets you add, switch, and edit personas during a chat. The same menu has Impersonate Me, which asks the AI to write your next message for you.
AI Dungeon
AI Dungeon has no saved persona. A scenario can ask for your character’s details before it starts, using placeholders
such as ${character.name}, and Character Creator scenarios save your choices in Plot Essentials, which is sent with
every reply. You can edit Plot Essentials to describe your character the same way as a persona.
ChatGPT, Claude, and Gemini
Put your character under its own heading in a project’s instructions in ChatGPT or Claude, or in a Gem in Gemini, below the story setup, and add a rule that the AI never writes your character’s dialogue, actions, or thoughts. ChatGPT’s custom instructions apply to every chat, so use a project for a character who belongs to one story.
Common questions
What is a persona in AI roleplay?
It’s a description of the character you play: your name, how you look, and your place in the story. The app sends it to the AI with your messages so the characters know who they’re talking to. Most apps let you save several and pick one for each chat.
What should I put in my persona?
Your character’s name and pronouns, appearance, role, one or two ties to the world, and a problem the story can use. The Ilse example above covers all of them in about 160 tokens.
Should I put my personality in my persona?
Mostly not. Janitor AI’s help center advises leaving personality traits out “so the bots aren’t tempted to RP as you.” If the characters should know something about your temperament, write it as a reputation in one line and show the rest in how you play.
How long can a persona be?
Janitor AI suggests about 500 tokens or less. Character.AI allows 2,250 characters with c.ai+ and doesn’t publish the free limit. SillyTavern sets no limit, but a long persona takes room from the chat. Most personas need 50 to 300 tokens.
Why does the bot keep playing my character?
A persona full of personality traits and feelings is one cause. Others are turns that leave a gap for the AI to fill, your character’s lines already in earlier messages, a greeting or example dialogue that writes your actions, and rules that only say what not to do. See how to stop an AI character from speaking for you.
Why does the bot get my persona wrong?
Check that the right persona was selected for the chat; Janitor AI starts every new chat with your Main Persona. Then look for words the AI could read two ways, and for anything in the bot’s own setup that contradicts your persona.
Can I change my persona in the middle of a chat?
In SillyTavern, Chub, and Janitor AI’s multi-persona beta, yes. Character.AI’s guide says to start a new chat after changing your persona. In any app, a sudden change can confuse the characters, so explain it in the story or in an out-of-character note.
In Lunelle AI you play adventures and ongoing stories in your own words, and characters remember events, your choices, and how their relationship with you has changed, across sessions. See long-term memory for long adventures.
Related guides
- How to write a scenario for an AI bot (with templates)
- How to write a character definition for an AI bot (template)
- How to stop an AI character from speaking for you
- How to roleplay with AI: a guide for your first story
- What does OOC mean in AI roleplay?
- How to make an AI bot say your name (
{{user}}and{{char}}) - AI roleplay terms explained: OOC, persona, context, and more
- All guides
Sources
- Janitor AI Help Center, FAQ: How to Edit & Swap Personas, August 30, 2025; What Makes A Good Persona?, November 8, 2026; The Basics: The Character Creation Page Overview and Tokens: Your AI’s Memory Budget, November 8, 2026
- Janitor AI, public chats are here, March 31, 2026 (multi-persona beta)
- Character.AI, Character Guide: User Personas; Help Center, Community Update - February 2025 and Greeting and Voice, June 17, 2026
- SillyTavern documentation, Personas and Context Template
- Chub documentation, Character Creation and Just Chatting
- AI Dungeon Help, What are Scenarios? and Creating Character Creator Scenarios
- OpenAI Help Center, ChatGPT Custom Instructions
- Wizards of the Coast, D&D Basic Rules (2014), Personality and Background
- Evil Hat Productions, Fate Core System Reference Document, Types of Aspects, 2013, licensed under CC BY 3.0
- Sharma, Tong, Korbak, et al., Towards Understanding Sycophancy in Language Models, ICLR 2024
- Xing, Niu, and Srivastava, Chameleon LLMs: User Personas Influence Chatbot Personality Shifts, EMNLP 2025
- Token counts in this guide use OpenAI’s o200k_base tokenizer (tiktoken), December 3, 2026