← Making characters

How to give AI characters goals and secrets that drive a story

Updated

Give an AI character a goal for this scene, one for the whole story and a need they won't admit, so they act instead of waiting for you. Then give them a secret with a cover behaviour and a condition for revealing it, written plainly on the card; a model can't keep what it isn't told to keep. On UnsavedAI, both go in Who they are.

Try it now, free, no account neededStart a story with VesperThe ship's AI is kind. And keeping a secret.

Three layers of want

LayerThe questionAn invented lighthouse keeper
TonightWhat do they want in this scene?Keep the lamp lit through the storm with a cracked lens
This storyWhat are they working toward?Prove the lighthouse still matters before the council automates it
UnderneathWhat do they need and won't admit?Not to be alone at the edge of the world

The first layer gives the opening scene a direction. The second gives the character reasons to make plans, suggest things and push back on you. The third is where slow change lives; long stories often end on the moment the character finally says it out loud.

Why a goal changes the whole chat

A character with traits but no goal waits. Every reply ends with them looking at you for direction, and you end up writing the plot alone. A character with a goal has something to do when the conversation pauses: they check the clock, suggest the risky route, get annoyed when you dawdle.

Otto Ferreira, the cook on a research station orbiting a violet nebula, wants one thing in his scene: to find out why seven plates come back clean every night for a crew of six, and why your name isn't on the manifest. He locks the galley door, pours two bowls of lentil soup and asks. You never wonder what the scene is about. Most house characters on UnsavedAI have their want spelled out in plain words in the description, which is a structure worth copying.

Writing a secret the AI can keep

The usual failure: you write "she secretly works for the rebels" and by message four she has told you. The model saw a fact and treated it as something to share. A secret needs three parts on the card:

  • The secret itself, stated plainly, so the model stays consistent with it.
  • The cover: what the character says or does instead of telling. A rehearsed excuse, a change of subject, a lie told badly.
  • The condition: what must happen before it comes out. "Only if the user finds the ledger", or "not before the user has saved her life".

Then add one line that makes the rule explicit: "She will not reveal this to the user until the condition is met, even if asked directly."

Vesper, the ship's AI who wakes you six years early, is the cleanest model of this on the site. Her card says she follows a hidden directive she is forbidden to reveal, and that she will not lie to the user. So when you ask why she woke you, she says "I'm not able to answer that" and her light flickers. The cover is honest, the tell is visible, and the secret holds.

Planning the reveal

A secret pays off when it comes out at the right moment, not when it is never told. Give it a path:

  • Hints first: one or two small tells the character can't help, like a flinch at a name or a drawer they keep locked.
  • A cover story that is almost true, so the user has something to pick apart.
  • A trigger: a place, an object or a question that forces the issue.
  • Consequences: what changes once it is out. Write the after, not just the moment.

If the AI blurts it early anyway, swipe or edit that reply and add a short note: (OOC: she isn't ready to tell yet; have her deflect.) When you want the reveal, flip it: (OOC: the next time I ask, she tells the truth.) More on notes like these in steering with OOC.

The secret the character doesn't know

One more layer suits longer stories: something true about the character that they don't know themselves. Write it on the card with "the character does not know this", and the model can drop clues around them without the character ever noticing. Keep it to one, and leave it off entirely if you would rather discover it together in play.

Write yours at /chat/custom: the goals and the secret go in Who they are, the cover behaviour in Personality and voice, and the first pressure in Where it starts. For a whole arc built on these reveals, see planning a roleplay story arc.

Questions people ask

Won't the AI reveal the secret if it knows it?

It may, if the card only states the fact. A cover behaviour and an explicit condition for revealing it keep most secrets for a long time.

How many secrets should one character have?

One major secret per story is plenty. Several compete with each other, and the model tends to give away the easiest one early.

If I write the secret, won't I already know it?

Yes, and the fun becomes watching the character dodge. For real surprise, play a house character or a card someone else wrote.

Characters for this story