Troupe

How Troupe works: the director/actor system

This page explains Troupe's director/actor system: how Troupe decides which AI character speaks next in a group scene and how each character's line is written.

Last updated .

Every Troupe story is one chat with a cast. Each turn has two steps: a director chooses who speaks, then an actor writes that one character’s line. The same loop runs whether the cast has two characters or many.

One turn of Troupe's director/actor system 1. You write a messageOr press continue, or pick the next speaker.2. Director: who speaks next?Named in your message? That character answers.Otherwise a short AI call picks who would answer,within the scene rules (who may speak, turns in a row).3. Actor: write that character’s lineCard, world, scene rules, lore, summaries andrecalled moments go into one prompt.4. Checks, then the line appearsContent-safety checks; lines written for anyoneelse are cut, so no one speaks for you.5. Memory updatesSummaries and the search index grow with the story.
One turn of Troupe's director/actor system

The director: who speaks next

The director decides the speaker for every turn, in this order:

  1. Your choice wins. You can let a particular character speak next from the cast panel, or ask for a different character to take a turn.
  2. Scene rules narrow the field: only characters present in the scene, allowed to speak, and under the limit of lines in a row (one by default) can be picked.
  3. If you address a character ("Mara, …", "…, Mara?" or "@Mara"), that character answers. A character who is only mentioned ("have you seen Mara?") is not treated as addressed.
  4. If only one character can speak, they answer.
  5. Otherwise a short AI call reads the cast and the last few lines and names whoever would naturally answer. Characters who have waited longest are offered first. If that answer is unusable, the longest-waiting character speaks.

By default one character answers each message. Turn on Auto-advance in a chat and characters keep talking for several lines (up to the world’s or story’s limit) until the director hands back to you.

The actor: writing one line

Each line is one AI call for one character. The prompt holds, in this order: the scene setting and rules, lore that matches the conversation, who else is present, the character’s card (description, personality, speaking style), example exchanges, summaries of earlier parts, moments recalled from long ago, and the recent conversation word for word. When space runs short the least important parts are trimmed first, recent lines keep a reserved share, and the card is always kept.

A character never writes your lines or other characters’ dialogue: the reply stops where someone else’s turn would begin, and narration of other people’s actions is normally cut before you see it. If nothing usable is left, another character takes the turn.

A director’s note lets you steer one reply (“she finally admits the truth”); it applies to that turn only.

Scene rules

  • Rules for the scene, written one per line, go into every prompt.
  • Who may speak: allowed and excluded characters.
  • How many lines one character may say in a row (default 1).
  • Auto-advance limit: how many lines the cast may say before it is your turn again (Auto-advance itself is switched on per chat; it is off by default).

A world sets the base rules; a story or chat can override them.

Story memory

  • The recent conversation is kept word for word.
  • Older parts are condensed into rolling summaries as the story grows (the newest lines are never summarised).
  • For each reply Troupe searches older parts of the story, by meaning and by key words, and brings back the moments that matter now.
  • Lorebook entries come up when their key words appear in recent lines; lore can be public, secret, or known only to named characters.

Per-character knowledge, beliefs and story state (beta)

In the beta, new chats start with Troupe’s story engine switched on. Troupe records who was present for each line, a background reader keeps track of the story, and each part below can be switched off per chat in the scene panel. Imported SillyTavern chats start with it off.

Per-character knowledge: each character’s reply is written only from the lines they were present for, so a secret told while a character is marked away is left out of what they know.

Beliefs: characters can hear rumours, be told lies, believe something false, and change their mind when they see otherwise.

Story state: the story keeps track of things, counts, places and who holds what, and a Story state panel lets you see and correct it.

Director events (Off, Gentle or Active; Gentle by default): when a scene stalls, a short narrated event moves it along. It is checked so that it doesn’t speak for a character or reveal a secret, and it goes through the same content-safety checks as replies.

Goals and relationships: characters can have goals, written on their card or picked up in the story, and relationships built from moments each character actually saw, with no hidden scores.

The background reader is extra AI work, with daily limits: on Troupe AI chats it uses your credits; on chats with your own API key it runs on your key, and your provider bills it.

How to try Troupe

Troupe is in an invite-only beta for adults: you must have reached the age of majority in your province or territory (19 in BC, NS, NB, NL, YT, NT and NU; 18 elsewhere), live in Canada outside Quebec, hold an invitation and pass an ID check with Didit. Join the Discord to apply; invitations are sent from there.

Questions and answers

Does an AI decide who speaks in Troupe?

Only when simple rules don’t settle it. Your choice, the scene rules and anyone you address by name come first; then a short AI call picks who would naturally answer.

Can two characters talk to each other without me?

Yes: turn on Auto-advance in the chat and the cast keeps talking for several lines (up to the world’s or story’s limit), then hands the turn back to you.

Can a character speak for me?

No. Replies stop where your turn or another character’s would begin, so a character never writes your lines or other characters’ dialogue, and narration of others is normally cut.

Read next: Troupe features · Troupe FAQ · Troupe and SillyTavern compared.