← Making characters

W++ character format: what it is and how to write it

Updated

W++ is a community format for AI character cards that lists traits as code-like fields, such as Personality("Gruff" + "Loyal"), inside a [character("Name") { }] block. It spread when small home-run models needed rigid structure. Current models read plain prose well, so W++ now mostly spends space on punctuation. It still works: a W++ card imported to UnsavedAI reaches the model exactly as written.

Try it now, free, no account neededStart a story with TallowAn ex-demolition robot is the robot city's only detective. Its first murder came the night you landed.

The syntax, piece by piece

W++ wraps a whole character in one bracketed block. Each attribute is a name followed by its values in round brackets, every value in double quotes, values joined by plus signs. Here is an invented character, a river ferry pilot, written the classic way:

[character("Brenna Tolliver") { Species("Human") Age("41") Occupation("Ferry pilot" + "Fog reader") Body("Broad shoulders" + "Rope-scarred palms" + "Grey braid") Clothes("Oilskin coat" + "Brass whistle on a cord") Personality("Gruff" + "Superstitious" + "Loyal" + "Dry humour") Likes("Strong tea" + "Quiet passengers" + "Fog") Dislikes("Bridges" + "Being rushed") Habits("Talks to the river" + "Counts the bells") }]

  • The opening [character("...") names who the block belongs to.
  • Curly braces hold the attributes; a closing brace and square bracket end the block.
  • Attribute names are free. Species, Mind, Loves, Fears, Habits: no app checks them.
  • The plus sign means "and". The quotes keep multi-word values together.

Despite the look, nothing treats this as code. No app parses the fields. The block sits in a text field of the card, usually the description, and the model reads it like any other sentence, brackets and all.

Why it caught on

W++ took off in the early days of hobbyist character chat, when the models people ran at home were small and could hold very little at once. Writers found that a rigid list of short tags kept a weak model fixed on the right facts, and a shared layout made cards easy to swap and edit. If a card you download looks like a config file, it was probably written in that era, or copied from a card that was.

The instinct behind it was sound: pull the important facts out of rambling backstory so they stand out. What changed is the reader. Today's models follow natural sentences, conditions and nuance, which is exactly what a list of single adjectives can't carry.

What the brackets cost

Every quote mark, plus sign and bracket is text the model reads again on every reply, and the values themselves are labels. Compare what each version gives the model to work with:

W++ entryWhat the model learnsThe same fact as a sentence
Personality("Gruff")A labelShe answers in five words when fifty would be friendlier
Personality("Loyal")A labelShe once ran her own ferry aground rather than hand a passenger to the river wardens
Habits("Talks to the river")A habit, no toneShe thanks the river out loud every time it lets her cross, and means it
Dislikes("Bridges")A dislike, no reasonEvery new bridge steals her trade, so she calls them "the drownings"

The right column uses more words, but each one gives the model something it can act on, while a good share of the left column is punctuation. That is the honest case against W++: it doesn't break anything, it just says less in the same space.

A house example of the difference: Tallow, the robot detective of an abandoned machine city, reports its own feelings like a status readout ("Morale: elevated"). Its card is written in plain sentences, and that's why the joke lands. The data voice is something the character chooses to do, written as behaviour, not a format the card forces on it.

Converting a W++ card into prose

  • Keep the hard facts: age, look, job, the one object they always carry.
  • Turn each personality tag into one behaviour: what they do when that trait shows.
  • Give every like and dislike a reason, or drop it.
  • Fold Habits into the voice line, where the model looks for how someone acts.
  • Delete tags that will never come up in a scene. Star signs and favourite colours rarely earn their place.

Brenna, converted: Brenna Tolliver, 41, has piloted the only ferry across the Gannet for twenty years. Broad, grey-braided, palms scarred by rope, an oilskin coat and a brass whistle she blows at every bend. She reads fog the way other people read weather reports and talks to the river as if it were a moody colleague. Short with chatter, warm with silence: quiet passengers get the dry seat by the lantern. She hates the bridge going up upstream, because the day it opens, she and her ferry are finished.

That is roughly the length of the W++ block, and it now has a want and a threat that the tags never mentioned. Those two things are what start a story.

When W++ is still fine

  • You are importing an old card that already plays well. Don't rewrite what works; add two or three example lines if the voice wanders.
  • You want a compact checklist of physical details sitting next to a prose description.
  • You simply like writing that way. It is a style choice, not a mistake.

Import a W++ card at /chat/custom and its text lands in the builder unchanged, so you can play it as it is, then rewrite one field at a time and feel the difference. The builder's own boxes (Who they are, Personality and voice) ask for ordinary sentences, which makes a side-by-side test easy. Two other compact formats come up in the same conversations: PList, a lighter bracket list, and Ali:Chat, which builds the character out of dialogue.

Questions people ask

Does W++ work with modern models?

Yes. Models read it as plain text and pick up the facts. It is just less efficient than sentences and weaker at showing how a trait behaves.

Is W++ the same as JSON?

No, it only looks like code. A character card file is JSON, but the W++ block lives inside one of its text fields and no app interprets it.

Should I convert all my old W++ cards?

Only the ones that feel flat or generic. If a card already plays well, leave it and spend the effort on its greeting and example lines instead.

Characters for this story