How to Roleplay with AI: A Beginner's Guide (with an Example Scene)

By Updated 13 min read

How to roleplay with AI, in short: decide who you play and who the AI plays, then take turns writing the story. Open with a place, one action, and a reason for the other character to answer. Pick one way to mark actions and out-of-character notes, and keep it. Play your first scene in aimy.

A figure stands on a path of glowing speech-bubble stones leading to a lighthouse in a storm, the next stone lit up
Illustration generated with AI

Key takeaways

  • Your first message sets up the scene: where you are, who you play, what's happening, and what the AI should respond to.
  • Pick one perspective and one format at the start, and stick to them: frequent switching makes it harder to tell who is acting.
  • Move the story forward through your character's actions. Save out-of-character notes for rules and sharp changes of direction.
  • Ask for reply length and pace directly: one line, one paragraph, skip to morning.
  • After a break or a scene change, use a short recap to remind the AI who's here, what happened, and whose turn comes next.
Contents
  1. How does roleplaying with AI work?
  2. How do you start a roleplay with AI?
  3. Should you roleplay in first person or third person?
  4. How do you write actions, dialogue, and OOC notes?
  5. How do you steer the story without breaking immersion?
  6. How do you control pace and reply length?
  7. How do you keep a long roleplay on track?
  8. What if the AI talks for you or goes off the rails?
  9. Where can you roleplay with AI?
  10. Bottom line

How does roleplaying with AI work?

AI roleplay is a story you write together, one message at a time. A 2023 paper in Nature suggests thinking of a chatbot as playing a role, closer to an improv performer than an actor with a script: it doesn't become the character, it plays one based on the description and the chat so far. That framing explains why it pays to state the roles and rules up front instead of hoping the AI guesses them. (For the bigger picture, see why AI characters appeal to so many people.)

In this guide, you write your character's words and actions and can add details to the scene. The AI plays everyone else, plus the setting, the weather, and the stranger at the next table, but leaves your character's choices to you. Say this in your first message so the model doesn't have to guess.

Start with these six steps:

  1. Pick a character and a genre. A ready-made character or your own; mystery, fantasy, slice of life.
  2. Split the roles. Who you play, who the AI plays.
  3. Make the first move. A place, a time, an action, and something to respond to.
  4. Agree on a format. Actions in asterisks, speech as plain text, out-of-character notes in double parentheses.
  5. Drive the plot with actions. Your character finds, decides, or does something, and the other side reacts.
  6. Recap when needed. After a break or a scene change, sum up the essentials in one paragraph.

Each step is below, with examples you can copy. All example chats in this guide follow one scene and were written for this guide to show the technique; they aren't recordings of a specific app.

How do you start a roleplay with AI?

Your first message has one job: show where you are, who you play, and what the other character should respond to. "Hi" gives the AI almost nothing to work with. "Are you the keeper? This package has your name on it" gives the AI something to play.

A strong opening has five parts:

Part Example
Place and time, in one line A lighthouse on a cliff, late evening, a storm coming in
Roles: who you are, who the AI plays I play Nora, a courier in her thirties. You play Elias, the keeper in his fifties, and anyone else we meet
The situation Nora has climbed up with a sealed package addressed to the lighthouse
Your action right now *Nora knocks twice and wipes the rain from her eyes*
A hook: a question or a problem "Delivery for the keeper. Is that you?"

Compare a weak opener with a strong one:

Weak: Hi! Let's do a mystery roleplay.

Strong: ((Let's roleplay. I play Nora, you play Elias the lighthouse keeper and any other characters. I write Nora's words and actions and may add scene details; leave Nora's choices to me. Actions go in asterisks, my out-of-character notes in double parentheses. Keep replies to one or two paragraphs.))

*Late evening. The storm is getting worse. Nora knocks twice on the lighthouse door, the sealed package tucked under her coat.* Delivery for the keeper. Is that you?

Look at the last line. Your turn ends with a question, so the AI has an obvious next move: answer as Elias. A discovery or a decision works as a hook too. If you end on a description of the rain, the model has to decide what happens next on its own, and it may not pick what you wanted.

Here's how the scene might continue. Example reply, written for this guide:

Elias: *The door opens a few inches. An older man in a wool sweater squints at the package, then at her.* I haven't ordered anything in eleven years. Who sent you?

Your second turn should add something new, not repeat what he said:

*Nora turns the package so he can see the label.* No sender. Just your name, in handwriting I'd guess is older than me. Can I come in before this storm takes us both?

The action and the question give Elias a clear next move. For more openings like this, see our roleplay starters. Ready to try? Write your first move in aimy with a ready-made character or your own.

Should you roleplay in first person or third person?

Both work. What matters more is that you pick one and keep it: switching perspective without saying so makes it harder to tell who is doing what.

Perspective Looks like Good for Watch out for
First person I set the package on the table. One-on-one scenes; feels personal Make sure "I" always means your character
Third person Nora sets the package on the table. Scenes with several characters; reads like a book Use her name where "she" could mean someone else
Second person You set the package on the table. Text adventures where the AI narrates Confusing for your own character: it can read as the AI's cue to write your actions

A rule of thumb: in a one-on-one scene, use whichever feels natural. When several characters share the scene, third person with your character's name makes it easy to see who is acting. Don't narrate your own character as "you." If the AI's character starts speaking in a different perspective than you set up, correct it once in a short note, then carry on.

You can put dialogue in quotation marks in either perspective. Just explain your style in your first message.

The rehearsal pianist exercise shows how to make the same request in either voice and leave the partner a decision.

How do you write actions, dialogue, and OOC notes?

A roleplay mixes two things: the story and your instructions to the AI. If you don't separate them, the model may take "make this more exciting" as something your character said. Inside the story, it also helps to mark actions, speech, and, if you need them, thoughts. If an abbreviation like IC, para or OOC is new to you, see the full glossary of RP terms.

Here's the format this guide uses:

What you're writing How
Your character's action *walks to the window*, in asterisks
Your character's speech You're an hour late. (plain text)
Your character's thoughts (thinks: he's hiding something), in single parentheses with a label
Out-of-character (OOC) note ((shorter replies, please)), in double parentheses

OOC stands for "out of character": you talking as the player, not as your character. For the full IC/OOC explainer, see what OOC means in roleplay. Double parentheses aren't a universal command. In this guide they're a convention, so explain them in your first message, as in the example above, and stick to them. You can use square brackets instead, as long as you're consistent.

Three rules that help:

  • Other characters can't hear thoughts. The AI reads them, but Elias shouldn't: if Nora only thinks he's lying, he has nothing to react to. If he answers her thought anyway, remind him in a note that she didn't say it out loud.
  • Keep OOC notes short and specific. "((Let Elias lie, but don't make it obvious yet))" is a clear task. Ask for one change per note.
  • Don't mix layers in one sentence. Action first, then speech, and any OOC note on its own line at the end.

Asterisks are optional. If you'd rather write like a novel ("Nora walked to the window and said..."), go ahead. What matters is that both sides know the format. More formats, with examples, are in how to write actions in roleplay.

How do you steer the story without breaking immersion?

You can turn the plot in two ways: through your character's actions inside the story, or with an OOC note. The first keeps you in the scene. The second is faster and more precise, but every note pulls you out of the story for a moment.

What you want In-scene move OOC note
A twist Nora notices the label is in Elias's own handwriting ((reveal that Elias wrote the label himself))
A new character Someone knocks at the door below ((bring in the keeper's neighbor, who knows Nora))
A new place Nora says they should check the lamp room ((move the scene to the lamp room))
Higher stakes The radio crackles with a storm warning ((add a time limit, no violence))
Drop a thread Nora changes the subject ((let's drop the radio subplot))

An in-scene move gives the AI material instead of an order. A discovery or a decision is easy to respond to. The plot stays shared: you decide what Nora does and can add a detail to the scene, and the AI decides how Elias reacts. Want chance to decide instead? Add dice, the way an AI dungeon master game does.

Use OOC notes for things you can't say from inside the story: rules, limits, tone, a hard turn. If you find yourself correcting the same thing again and again, check your first message. Maybe the rule was never stated, or it belongs in the character's description.

One more trick: the fork. When you don't know where to go next, ask for options and pick one: "((Give me three short options for what happens next. I'll choose.))" The AI brings ideas, you keep the decision. If you're stuck before the story even starts, borrow a premise from our AI roleplay ideas.

When a reply goes in the wrong direction: if your app offers regeneration, ask for another version; if it lets you edit, correct the passage directly. Otherwise, state one specific correction in your next message.

Try it in your own scene: open a scene in aimy and steer it with one action, like "*Nora hears footsteps on the stairs below.*"

How do you control pace and reply length?

A model won't always wrap up a scene when you want it to. You control the pace, with short requests and with your own turns.

Ask for the length you want. "((Answer with one line from Elias, then hand it back to me))" or "((Describe the room in detail, one paragraph))" states the length you want. Your own messages give an example too, but don't rely on the AI matching them. The SillyTavern documentation describes the character's first message, the greeting that opens the chat, as a guide to the style and length of replies. If you write your own character, make that greeting an example of the replies you want.

Skip the boring parts. You don't have to play out travel, waiting, or a night's sleep. Write an action with a time skip: "*By morning, Nora is standing at the foot of the stairs with the package open.*" If the AI still drags the transition out, add: ((skip to morning)).

Freeze the frame. If you want to decide what happens at a key moment, ask the AI to stop there: "((Stop at the knock on the door. I'll decide who opens it.))" That makes it clear where your turn begins.

One scene, one goal. A first meeting, an argument, an escape, a confession. When the goal is reached, close the scene with your character's action and move on. Package opened? End the scene and start looking for the sender. If you need a next scene, see our roleplay plot ideas. To build a storyline of your own, see how to come up with a plot.

Scene Your turn What to ask for
First meeting A paragraph, details of the place ((more detail about the surroundings))
Conversation 2–3 sentences and a question ((only dialogue and gestures))
Chase, argument 1–2 sentences ((short, no description))
Transition One action with a time skip ((skip to...))

How do you keep a long roleplay on track?

A model can only take a limited amount of text into account for each reply. In a long game, an early detail may not be part of what the model sees right now, and the character mixes up names or forgets the storm. The reasons are covered in our guide on why AI chatbots forget.

Three habits help.

Recap. Do it after a break, before a scene change, or when the character gets something important wrong. A template to copy:

((Story recap. Where we are: ... Who's in the scene: ... What has happened: ... What my character wants: ... Whose turn it is: ...))

For the lighthouse scene, it could look like this:

((Recap: Nora, a courier, is outside Elias's lighthouse during a storm. She has shown him a sealed package with his name in old handwriting and no sender. She wants to come inside. Elias hasn't answered yet. Continue with Elias's reply.))

If you stopped before the AI's turn, end the recap by asking for that reply, as above. If you stopped before your own turn, add your character's next move after it. Treat the recap as a reminder, not a guarantee every detail sticks. Some tools have a dedicated slot for this kind of note: in SillyTavern it's the Author's Note, and its documentation says the closer it sits to the end of the chat, the more it affects the next reply. Without such a slot, paste the recap into an ordinary message. For a story that runs for weeks, keep a memory summary instead of a one-line recap.

Keep details in your moves. If it matters that Nora's left hand is bandaged, mention it when it fits: "*she shifts the package to her good hand*". Bring an important detail back when it matters to the current action, instead of mentioning it once at the start.

Put stable traits in the description. Personality, speech style, and relationships belong in the character's description, if your app lets you edit it. Anthropic's documentation gives similar advice for role-based chats: describe the personality, background, and quirks in detail, and think through how the character handles common situations. Instead of "be more interesting," show how the character responds: "Elias answers questions about his past with a question of his own." Our guide on how to write an AI character shows how to build a full description, and there's a character definition template you can copy.

If a reply contradicts the setup, try a one-line correction in double parentheses before you start over.

To practice, play a few turns of the lighthouse scene, then pause and write a one-paragraph recap.

What if the AI talks for you or goes off the rails?

Here are common problems and what to try first. You can't always see the cause from one reply, so start with the simplest fix.

Problem Check first What to try
Writes your character's words or actions Is it clear whose turn it is? ((I write Nora's words and actions. What does Elias say?)) Full fix: why the AI talks for you
Agrees with everything Does the character want something of their own? Give them a goal and a trait that makes them push back
Repeats the same phrases Is the scene standing still? Change the place or goal; regenerate if your app offers it. More in why AI keeps repeating itself
Rushes the scene Did you set a stopping point? ((Stay in this moment. Stop before the package is opened.))
Replies are too long Did you ask for a length? ((Reply in one paragraph))
Sounds like an assistant Was your question aimed at the character or the AI itself? Ask the character by name, inside the scene
Mixes up facts and names When was your last recap? A short recap in double parentheses; keep key details in your moves

A note on breaking character. If a reply slips into assistant mode, restate your question as dialogue addressed to the character, inside the story ("Tell me, Elias, would you risk it?").

And one boundary: check the rules of the app you're using before you start. If a scene conflicts with them, change the scene or end it.

Where can you roleplay with AI?

These techniques work in general-purpose chatbots, in character catalogs, and in AI companion apps. Whether you play in Character.AI, Janitor AI, Gemini, or Claude, the basics carry over: roles, first move, format, recap. What differs is the app around them: its controls and its rules. When you choose, look at:

  • Ready-made characters vs. your own. Can you build a character with your own description and opening message?
  • Saved chats. Can you come back to the same story tomorrow?
  • Message limits. How much can you write before you hit the app's limit?
  • Rules for roleplay. Read them before you start, not in the middle of a scene.

If you're comparing apps, see our breakdown of Character AI alternatives. Moving from Character.AI? See whether Character AI is shutting down and how to export your chats. And if you'd rather just talk than tell a story, try our list of things to talk about with AI.

aimy.chat is our product. You can pick a ready-made character or build your own. Here's an overview of AI roleplay chat on aimy. On aimy, the chat opens with a greeting the character writes itself from its description, and creator beta testers with PRO can also write the first message by hand. Write that greeting as the character's opening turn, not your first move as the player. And since a long text fits into the character description (with PRO, up to 2,000 characters per field), the setting and the role split can go there too.

Free: 100 messages a day and your first AI character of your own. To play with your own setup, start a scene with your own character in aimy.

A scene that needs several witnesses can use one narrator to play the whole cast while the player controls one character. If you want a game with a goal and an ending rather than an open story, try an AI text adventure.

Bottom line

Roleplaying with AI means writing a story together: you handle your character and the direction, the AI handles the rest of the world. A good game starts with the first message: a place, the roles, an action, and a reason to respond.

After that, three habits do most of the work. Keep the story separate from ((out-of-character notes)) and explain your format up front. Move the plot with your character's actions, and save notes for rules and sharp turns. Set the pace directly, and recap after a break. When a reply misses, fix one thing in the current scene before you start over.

Pick a character and play your first scene

Roleplay without lectures · one-click sign-in

Free: 100 messages a day and your first AI character of your own

Or with

400,000+ sign-ups · 18+

By continuing, you agree to the Terms and Privacy Policy.

FAQ

Do I need to know anything about roleplaying before I start?

No. If you can write a text message, you can roleplay with AI. Start with one character, one place, and one thing your character does, then react to what the AI writes back. The formatting tricks in this guide help, but none of them are required.

Should I write in first person or third person?

Either works for a one-on-one scene, as long as you don't switch back and forth. In scenes with several people, third person ("Nora sets down the box") makes it easier to tell who is acting. Avoid narrating your own character as "you": the model can read it as an instruction to write for you.

What do asterisks mean in AI roleplay?

They mark actions: *opens the door* is something your character does, while plain text is what they say. It's a convention, not a rule. If you prefer to write like a novel, do that, and keep the same style for the whole chat.

How long should my replies be?

Long enough that your move is clear. Two or three sentences suit fast dialogue, a paragraph suits a descriptive scene. Your messages give the AI an example of length, but don't count on it matching; if its replies are too long or too short, ask for the length you want.

How do I continue a roleplay the next day?

Open with a short recap: where you are, who's in the scene, what has happened, and what your character wants. End it where you stopped: if it's the AI's turn, ask for that reply, for example: "The package is still on the table. Continue with Elias."

Is it weird to roleplay with AI?

It's close to tabletop games or interactive fiction: a way to tell a story, practice writing, or unwind. If it's fun and it leaves room for the rest of your life, there's nothing odd about it.

Sources

  1. Role play with large language models — Nature (M. Shanahan, K. McDonell, L. Reynolds),
  2. Character Design — SillyTavern documentation
  3. Author's Note — SillyTavern documentation
  4. Increase output consistency (section "Keep Claude in character") — Anthropic documentation
What changed
  • — First version.
  • — Added links to new related articles.
  • — Added links to new related guides.

What next

What next65 Roleplay Plot Ideas With First Messages: Horror, Sci-Fi and More

Related articles

All articles

Continue in aimy

Free: 100 messages a day and your first AI character of your own

Or with

400,000+ sign-ups · 18+

By continuing, you agree to the Terms and Privacy Policy.