Article
How to Create an Interactive AI Role-Play Without Coding
Build an AI role-play without coding using reusable characters, sets, scenes, stats, branching and feedback — from scenario design through publishing.

You can build a useful AI role-play without writing code. The key is to stop thinking of the experience as “a chatbot with a prompt” and instead design it as a scenario: who is involved, where the interaction happens, what each character wants, what the learner needs to achieve, what should be tracked during the conversation and what happens afterwards.
That is the model behind Liforma's Avatar Experiences. A creator can combine reusable characters, costumes, sets, scenes, conversational behaviour, stats and feedback into an interactive role-play, then publish it directly or embed it elsewhere.
What is an AI role-play?
An AI role-play is an interactive scenario in which the user speaks or chats with one or more AI characters playing defined roles.
Unlike a general-purpose chatbot, the AI is not simply waiting for arbitrary questions. The user is inside a situation with an objective.
Examples include:
- a salesperson handling a skeptical buyer;
- a manager giving difficult feedback to an employee;
- a hotel receptionist dealing with an unhappy guest;
- a candidate practising a job interview;
- a learner ordering food in another language;
- a clinician practising a difficult conversation;
- a student questioning a historical character; or
- a player negotiating with characters in an interactive story.
The common element is that the AI character has a role, the user has a goal and the conversation is part of a larger scenario.
Why a system prompt is not enough
You can create a basic role-play by giving an LLM a prompt such as:
“You are an unhappy customer. The user is a customer-service employee. Stay in character and make the conversation difficult.”
That is useful, but it leaves most of the experience undefined.
What does the customer look like? Where are they? How upset are they? What facts can the learner discover? What counts as a good response? Should the customer become calmer if the learner shows empathy? What happens if the learner makes the situation worse? Does a manager join? What feedback should the learner receive at the end?
Those are not prompt-writing questions. They are experience-design questions.
A simple no-code workflow
In Liforma, a role-play can be thought of as seven steps:
- Choose the scenario and learning objective.
- Create or reuse the characters.
- Choose costumes, hairstyles and the set or backdrop.
- Define each character's behaviour and knowledge.
- Add stats that capture what matters during the interaction.
- Use scenes or nodes to control progression.
- Generate feedback and publish the experience.
You can start from scratch, but the fastest route is often to remix something that already works. Liforma's Create page recommends finding a similar public experience, copying it into your workspace and changing the parts you need.
Step 1: start with the outcome, not the character
Before choosing an avatar, decide what the user should practise or achieve.
A vague goal such as “practise customer service” is difficult to author and difficult to assess. A more useful scenario might be:
“A hotel guest's room is not ready. The learner must acknowledge the frustration, discover what the guest needs, explain the available options and reach an acceptable resolution.”
Now the role-play has structure. We know who the user is, who the other character is, what the problem is and what successful behaviour roughly looks like.
Step 2: create or reuse the characters
The next question is who is in the scene?
For the hotel scenario, you might need:
- Guest — frustrated, tired, in a hurry and initially skeptical;
- Duty manager — appears only if the situation escalates; and
- Coach — reviews the learner's performance at the end.
These do not have to be newly generated characters for every experience. Liforma treats characters as reusable assets. A character can be created once and then cast in different scenarios.
That makes authoring much faster. The same coach can appear across an entire training programme. The same difficult-customer character could later appear in a restaurant, retail or travel scenario.
Step 3: dress the character and choose the environment
A role-play becomes easier to understand when the visual context matches the scenario.
Liforma separates character identity from appearance. You can give the same character different costumes and hairstyles for different experiences rather than creating a completely new person each time.
Sets and backdrops are reusable too. The Liforma creator library includes ready-made clothes, hairstyles and sets, while custom assets can also be generated with AI.
For the hotel example, the first scene might use a reception set. A later coaching scene could move to a staff office. The environment immediately tells the learner that the situation has changed.
Step 4: define behaviour, not just personality
A good role-play character needs more than adjectives.
“Frustrated, impatient and demanding” describes a personality state, but it does not describe how the character should behave as the learner responds.
A stronger authoring specification might say:
- the guest begins frustrated because the room should have been ready 45 minutes ago;
- they need somewhere quiet to take an important video call within 20 minutes;
- they will not reveal that requirement unless the learner asks what they need immediately;
- an apology without a practical solution does not calm them down;
- a clear temporary workspace plus a realistic room estimate improves trust;
- if the learner blames another department, the guest becomes more frustrated.
Now the character has a model of the situation, not merely a tone of voice.
Step 5: track a few meaningful stats
This is where an authored AI role-play becomes much more useful than an open-ended conversation.
During the interaction, Liforma can track simple stats or state variables. They can represent behaviour, facts discovered, objectives completed or the current emotional state of the scenario.
For our hotel example, useful stats might be:
| Stat | What it represents | Possible effect |
|---|---|---|
| Empathy | Did the learner acknowledge the guest's frustration? | Influences how cooperative the guest becomes. |
| Needs discovered | Did the learner uncover the upcoming video call? | Unlocks a better solution. |
| Trust | Does the guest believe the learner is taking ownership? | Changes tone and escalation risk. |
| Resolution | Was a workable solution agreed? | Determines the ending. |
The goal is not to turn every sentence into a score. Track only things that should affect the experience or the feedback.
Stats are not just analytics
This distinction is important.
Traditional conversation analytics happen after the interaction: the system examines the transcript and produces a score or report.
Experience state can matter during the interaction.
If trust falls too low, the guest can demand a manager. If the learner discovers the video-call requirement, a new solution becomes possible. If the learner resolves the issue well, the manager might appear later to praise the approach instead of handling an escalation.
The conversation therefore changes the scenario, not merely the report generated afterwards.
Step 6: use scenes and nodes to control progression
Not every role-play needs branching. A simple interview practice experience might be one scene from start to finish.
But scenes become powerful when the scenario has phases.
Our hotel example might use:
- Scene 1 — Reception: handle the initial complaint.
- Scene 2A — Escalation: the duty manager joins if the interaction went badly.
- Scene 2B — Resolution: the learner confirms the solution if the interaction went well.
- Scene 3 — Coaching: review the learner's decisions and performance.
Nodes or progression rules let the author decide which scene follows which conditions. That creates a structured experience without requiring the author to program an agent workflow from scratch.
Step 7: give feedback based on what actually happened
Good feedback should not be a generic paragraph appended to every conversation.
The coach can use the transcript, outcomes and accumulated stats to explain:
- what the learner did well;
- what they missed;
- where the customer's reaction changed and why;
- which objective was or was not achieved;
- what a stronger response could have done differently; and
- what to practise next.
That makes the experience useful for training rather than simply entertaining.
A complete role-play can involve several AI characters
Many real situations involve more than one other person, yet most conversational AI products still assume a one-user-to-one-agent session.
Liforma experiences can be multi-character. That makes scenarios such as panel interviews, team meetings, family conversations, sales committees, negotiations and interactive stories possible without pretending that every situation is a private call with one AI.
Each character can have a distinct role, personality, appearance and voice. Characters can also enter or leave as the experience moves between scenes.
This is one reason we describe Liforma as an Avatar Experience platform rather than simply an AI avatar service.
Do role-play avatars need to be photorealistic?
Often, no.
For role-play, the user's learning usually depends more on the character's behaviour, emotional state, objectives and reactions than on whether every pore looks photographic.
Stylised characters can also be easier to differentiate across a large cast, more flexible to dress and place in different worlds, and less likely to create an expectation that the interaction is a literal webcam conversation with a real person.
Photorealism can still be valuable when human likeness is central to the scenario. The important thing is to choose deliberately rather than assume realism is always the highest-quality option. See Photorealistic vs Stylized AI Avatars.
What does “without coding” actually mean?
It does not mean the underlying system is simple. Speech recognition, language models, voice generation, character animation, state management and session orchestration are still happening underneath.
It means the experience author does not need to implement those systems in order to create the scenario.
The author works at the level of characters, scenes, behaviour, stats, outcomes and feedback rather than APIs, databases and orchestration code.
That separation matters because the people who understand a training scenario are often not the people who write software. A sales trainer understands a difficult prospect. A teacher understands a language exercise. A manager understands a performance conversation. They should be able to author the interaction directly.
Start by remixing instead of starting from zero
A blank editor is not always the easiest way to learn an authoring system.
Liforma therefore supports remixing. Find a public experience close to what you need, copy it into your workspace, then change the character, set, appearance, behaviour or content.
This is useful for role-play because structure is highly reusable. A well-designed difficult-customer experience might become a hotel complaint, a retail return or an airline disruption simply by changing the situation, characters and success criteria.
The Create page recommends remixing as the easiest starting point for exactly this reason.
Publish the role-play without building a website
Once the experience is ready, you do not necessarily need a developer for distribution either.
A Liforma experience can be published directly on www.liforma.ai, where people can discover and play it.
If the experience needs to live inside a company website, LMS, application or product, it can also be embedded or integrated. Liforma's developer documentation describes the Experience as the reusable integration unit, with session launch, audio, turns and avatar rendering handled by the platform.
Who should author the experience?
Because the scenario can be authored without writing application code, ownership can move closer to the subject-matter expert.
That might be:
- a sales enablement lead creating objection-handling practice;
- an L&D team creating management simulations;
- a teacher designing language role-plays;
- a recruiter creating interview practice;
- a game or narrative designer creating interactive characters;
- a support team modelling difficult customer situations; or
- a creator building entertainment experiences for an audience.
Developers may still integrate the resulting experience into a larger product, but they do not need to be in the loop every time somebody wants to change a character, scenario or scoring rule.
How to design a good AI role-play
The technology is only part of the job. A few design principles make the experience much stronger.
- Give every character a motive. “Angry customer” is weaker than “customer who needs a quiet place for an urgent call.”
- Hide some information. Make the user ask useful questions rather than giving away the whole situation immediately.
- Track only meaningful state. If a stat never affects behaviour or feedback, it probably does not need to exist.
- Let behaviour change. A customer who remains equally angry after an excellent response does not feel intelligent.
- Use scenes for genuine changes. Move scene when the objective, location or participating characters change.
- Make failure productive. A bad outcome should lead to useful consequences and feedback, not simply “You lost.”
- Keep the character in role. The simulation is less useful if the character turns into a helpful tutor halfway through.
A reusable template for your first role-play
For a simple first experience, define these seven things:
| Question | Example answer |
|---|---|
| Who is the user? | Hotel receptionist |
| Who is the AI character? | Frustrated guest |
| What does the character want? | A quiet place for an urgent video call and certainty about the room |
| What should the user discover? | The video call starts in 20 minutes |
| What should be tracked? | Empathy, needs discovered, trust, resolution |
| What changes during the scenario? | Guest mood and whether the situation escalates |
| What happens at the end? | Coach gives feedback using transcript + stats |
If you can answer those questions, you have enough structure to build a surprisingly rich interactive experience.
The bigger shift: subject-matter experts can author behaviour
No-code AI role-play is interesting for a reason beyond convenience.
Historically, turning a training idea into an interactive simulation meant translating the expert's knowledge into software requirements, handing them to developers, implementing a branching scenario, recording or animating characters, and repeating the process whenever the content changed.
Generative AI removes much of the need to pre-script every possible sentence. An experience layer can remove much of the need to program the scenario around it.
That means the person who understands the interaction can increasingly author the interaction.
We think that is the more important promise of AI role-play: not just cheaper simulations, but many more people being able to create them.