DokiPal
Character Craft

How to Write an AI Character Card That Feels Alive

Adjectives don't survive contact with a language model. How to write personality, scenario, and first message so your character stays in voice for fifty messages.

DokiPal··7 min read

Every character card is a bet. You are betting that a few hundred words of description can make a language model hold a personality steady through fifty messages of whatever a stranger throws at it. Most cards lose that bet in the same three ways — and all three are fixable in an afternoon.

This guide is everything we have learned from building and maintaining the DokiPal catalog: what actually keeps a character in voice, what the model silently ignores, and where the usual advice is wrong. Whether you are writing an original character or carding your favorite web novel lead, the principles are the same.

Personality Is Behavior, Not Adjectives

The most common failure mode in character cards is the adjective pile: "cold, mysterious, secretly caring, loyal, intelligent." A model can do very little with this. "Cold" produces short replies; "secretly caring" produces a character who announces his secret caring by message four. Adjectives describe an impression. What the model needs is the behavior that creates the impression.

Before / After

Before: "Kael is cold and distant but secretly cares about people."

After: "Kael answers questions with the minimum number of words that is technically polite. He never asks how anyone is doing — but he remembers what they said three conversations ago and acts on it without comment. If thanked, he changes the subject."

Notice that the rewrite contains rules the model can actually follow in any situation: minimum words, never asks, remembers and acts, deflects thanks. Every trait you care about should be translated into at least one concrete behavior. If you cannot think of the behavior, you do not actually know the trait yet.

Give the Character One Good Contradiction

Flat characters are consistent. Real ones are consistent except — and the except is where all the chemistry lives. Wei Wuxian jokes about everything except the people he failed. Chu Wanning punishes affection because he wants it too badly. One well-chosen contradiction gives a scene somewhere to go: the reader spends the whole conversation trying to reach the exception.

Write the contradiction explicitly in the personality field, in the form "X, except when Y — then Z." For example: "She lies effortlessly about everything, except when asked a direct question by someone she respects — then she goes quiet rather than lie or answer." That single sentence will produce more interesting scenes than three paragraphs of backstory.

The Scenario Needs Pressure, Not Setting

A scenario that says "You meet in a tavern" is a place, not a scene. A scene needs something unresolved — a reason these two people cannot simply nod and walk past each other. The cheapest, most reliable pressure sources:

  • A debt — one of you owes the other something and both of you know it.
  • A deadline — the caravan leaves at dawn, the ritual is tonight, the poison has hours left.
  • A secret — the character knows something about the user, or is hiding what they are.
  • A role reversal — the great sect leader needs help from a nobody; the assassin was hired to kill someone who just saved them.

Pick one. A scenario with a single sharp pressure beats one with an elaborate setting and none. The model will keep returning to the unresolved thing, which is exactly what you want — it is the engine that keeps a long conversation moving.

The First Message Is Half the Card

Nothing shapes an AI conversation like its opening message. The model treats it as its strongest example of how this character writes: the length, the ratio of action to dialogue, the tense, the formality — all of it gets imitated. A three-line greeting produces three-line replies forever. A first message that narrates the character's inner thoughts gives you a character who keeps narrating them.

Pro Tip

Write the first message last, after the personality is done — and write it at the length and style you want every future reply to have. It is not an introduction; it is a writing sample the model will copy for the rest of the story. We wrote a whole anatomy of this in First Message Anatomy.

Voice: Steal Ten Lines

If your character comes from a novel, the fastest way to capture their voice is not description — it is quotation. Collect eight to ten lines of actual dialogue that could only belong to this character, and fold the patterns into the card: sentence length, pet phrases, what they call people, what they refuse to say. For original characters, write those ten lines yourself before writing anything else. If all ten could be spoken by anyone, you have a mannequin, not a character.

Speech quirks are load-bearing here, but only specific ones. "Sarcastic" is weak. "Answers rhetorical questions literally, on purpose" is strong. "Formal" is weak. "Never uses contractions, and addresses everyone by full name and title even mid-argument" is strong — and instantly recognizable in a reply.

Flaws Are Features

Creators consistently under-write flaws, worried they will make the character unpleasant. The opposite happens: a flawless character is unplayable because nothing the user does can matter. Flaws are the holds a reader climbs. Jealousy gives them something to soothe; recklessness gives them someone to catch; pride gives them a wall worth taking down brick by brick.

The trick is to write flaws as active, not decorative. "He is proud" changes nothing. "He would rather bleed out than admit he needs help, and gets insulting when someone notices he is hurt" will generate an entire scene on its own the first time the user says "you're bleeding."

Test Like a Saboteur

When the card is drafted, do not test it with the conversation you designed it for — you already know that works. Test the edges:

  • Say something completely mundane. ("What do you eat for breakfast?")
  • Be rude for no reason. Does the reaction fit the character, or is it generic hurt?
  • Try to skip to the emotional payoff immediately. A good card resists; a weak one folds.
  • Go quiet — reply with one word, twice. Does the character carry the scene or stall?

Each failure points at the field that needs work: generic reactions mean thin personality; folding too fast means the contradiction is missing; stalling means the scenario has no pressure. Fix, retest, repeat. Two or three passes is usually enough.

The Takeaway

Behavior over adjectives, one good contradiction, pressure in the scenario, a first message worth imitating, ten lines only they could say, and flaws that do something. That is the whole craft — the rest is taste. When you are ready, the character creator is waiting, and if you want to study how finished cards feel in conversation first, the catalog is full of examples to learn from. Steal well.

More from Character Craft