DEV Community

Hesai Story
Hesai Story

Posted on AI-assisted

Character Cards Should Emerge From the Story, Not a Dropdown

Most AI roleplay tools start the same way: pick a character from a library, or fill in a form — name, personality, backstory, a long description — and then start chatting. The character card is the entry point.

We built Hesai Story differently. Character cards are not the starting point; they are a byproduct of the plot. Here is why, and what it changes in practice.

The problem with the character-library model

A library assumes you know who the character is before the story begins. But in most fiction the character is discovered through action: you learn what someone is like by watching them make a choice under pressure.

A pre-written card also has a subtle failure mode. It describes a static personality, then the conversation drifts, and after a few dozen turns the character no longer matches the card. The card becomes documentation nobody updates — a promise the system silently breaks.

Cards that are written by the plot

In our engine, a character card is created the first time a character does something meaningful in the story. The system extracts what the scene actually established: how the character speaks, what they want, what they did, how other characters relate to them, and what is currently true about them. That becomes a compact, structured card — and it keeps getting corrected as the story develops.

The card is therefore a record of the narrative, not a wish list written before it. If a character lies in chapter three, the card knows. If an alliance forms in chapter five, the card reflects it.

A useful side effect: readers do not have to author a 500-word persona before they can start. You begin with a premise; the cast builds itself.

Multiple characters, each with their own memory

A card matters most when several characters share a scene. In a multi-character conversation, each character acts from their own card — their voice, their goals, their knowledge of what happened — while the shared story state keeps the scene consistent. One character cannot "remember" something they were not present for, and two characters can want incompatible things without the plot collapsing into mush.

This is the part that a single global context window handles badly. Recent dialogue carries voice; a compact state snapshot carries facts. We keep a snapshot every six turns and inject it alongside the recent conversation. Voice and truth travel separately, and both survive past turn twenty.

If you want the mechanics of that approach, we wrote them up in an earlier piece on state snapshots and in the engine overview.

Reader copies, not shared characters

Characters that come from a published story are copied into the reader's own session. What you do with them stays in your story; it cannot rewrite the original for everyone else. That isolation is what makes a shared cast safe to experiment with — you can see what happens if a character makes a different choice without spoiling or corrupting the source.

The honest limitation

Generated cards are not a character library with thousands of options, and we are not trying to build one. The cards are only as good as the scenes that produced them: a flat scene yields a flat card. This model suits stories with a small, well-developed cast and a real arc. It is a poor fit if you want an endless companion with a fully custom persona typed out in advance.

We would rather be honest about that than sell a character count.

Try it, or read the details

The free character card generator lets you see the card format without starting a story. The FAQ covers how generation interacts with credits, and the about page states our editorial and data policy. If you are comparing options, the tool comparison is organized by what you want to write rather than by feature checklists.

Hesai Story is an independent, all-ages interactive fiction platform. No downloaded app, no endless chat loop — just stories with characters that hold together and endings you can reach.

Top comments (0)