A scenario for AI actors is not a config file or a forty-page prompt. It is dramaturgy: who enters, when, what they say, and what they do if the audience refuses to follow the plan. A good scenario separates staging from a gathering of extras in much the same way a play differs from one: intention, rhythm, and an ending.
Below: what blocks make up a scenario, how to write roles, how to hand the rough work to another neural network, and which mistakes turn theatre into a talent show. The technical format specification lives in the documentation inside the @tgaipro_bot; this is about meaning, not syntax.
What blocks make up a scenario
A scenario is a sequence of six types of blocks. They are easier to remember than they sound: they are literally directing verbs.
Message
The basic block: which actor says what. The important thing is not “what,” but “in what character”: the same thought should sound different from the Practitioner and the Skeptic, or you do not have roles but a choir.
Condition
The heart of the scenario: “if X appears in the chat, Y happens.” Conditions read context: a question about price, an objection, a direct address, or a sign of interest. Each condition branches the staging, which is exactly why the actors look alive: they react instead of reciting.
Media
A photo, file, card — anything that is not text. Media blocks break up the feed and give characters more dimension: real people do not communicate in paragraphs alone.
Pause
The most underrated block. A real person does not reply to the second and does not write four messages in a row at three-second intervals. Pauses set the rhythm: a line twenty minutes after a post reads as “came across this and replied,” not “has been waiting in ambush.”
Exit
The block that ends participation: the scenario goes quiet, leaves the branch, or hands the dialogue to an operator. A play that cannot end becomes an immortal opera over the cooling body of the discussion. An exit is a sign of a mature scenario, not a weakness.
Cycle
Repetition with variations: a series of lines over time, regular appearances in a chat, or a return to the topic after a set interval. A cycle maintains presence, but needs limits — otherwise the staging starts living in the chat permanently, which is no longer theatre but a mortgage.
Roles through prompts
A role is a personality prompt, not a list of lines. The actor invents lines from character and context; the writer defines who the actor is. A working role prompt has four layers:
- Biography. Who they are, what they do, and why they sit in this chat. Two or three sentences, not a novel.
- Manner. Brief or expansive, ironic or dry, an experienced practitioner or a curious beginner.
- Attitude to the topic. What they believe, what they doubt, and what irritates them. A skeptic without convictions is just a complainer.
- Taboos and goal. What they must never do (sell in the first line, argue with regulars) and where they should ultimately lead.
An example in one line: “Skeptic. Seven years in marketing, has seen everything, and has been disappointed by all of it. Writes briefly and sharply, without enthusiasm. Their job is to voice the objections already hanging in the air, so the staging has a chance to answer them.” The character gets refined through rehearsals, not by surrendering control to the neural network’s imagination.
There is also a fifth, unspoken layer — self-limitation. A real person is not an expert in everything: they do not know something, avoid some subjects, and sometimes answer “no idea, I haven’t tried it.” A character who is competent on every question in the chat gives themselves away faster than any vocabulary. Give each role areas of ignorance; it is the cheapest way to make them feel alive.
Delegating the scenario to another neural network
Writing a scenario by hand is useful once, so you understand the format. After that, it is reasonable to hand the rough work to an LLM: GPT, Claude, Gemini — whichever is at hand. The mechanics are simple:
- Get the documentation for the scenario syntax; it is right there in the bot.
- Give it to your chosen LLM with a description of the task: product, audience, platforms, and desired action.
- Attach an example — ideally your first hand-written scenario. With an example, the result is noticeably livelier: the model copies not only the format but the rhythm.
- Edit the resulting scenario as an editor, not as a proud parent. LLMs follow syntax flawlessly and regularly get the meaning wrong: roles merge, conditions duplicate, and exits disappear.
Delegation does not eliminate the dramaturge; it eliminates the typesetting. Decisions about who these people are, why they are in the chat, and where the staging goes silent remain yours. The actors, in practice, do not even notice that another neural network wrote them. The union is silent.
When editing an LLM draft, check three things first: does every role have its own manner (hide the names and guess the speaker), does every branch have an exit (not just the main one), and does the staging avoid opening with the product? An LLM reproduces these three defects with a beginner’s enthusiasm because it was trained on texts where everyone is polite, immortal, and selling from the doorstep.
A recipe for the first scenario
The first scenario should be modest in ambition and flawless in execution. A workable debut configuration:
- Four roles, not ten. Practitioner, Skeptic, Clarifier, Navigator — enough to hold a discussion, not enough to get lost in your own cast.
- One chat, not forty. The first staging plays in one room. You read every dialogue and adjust roles and pauses daily. Scale only after one chat has come alive.
- One goal. Not “sell, build a database, and revive the channel,” but one action: for example, moving an interested person into direct messages. A one-goal scenario can be evaluated; a five-goal scenario can only be mourned.
- A week of observation. In the first days, staging runs empty: getting into character, no recommendations. This is not lost time; it is the foundation everything else is built on.
Once the first scenario reaches stable dialogues, it becomes hard to redesign — correctly so: do not redesign it, clone it for new platforms and edit the copy. The original remains the reference for “what live staging looks like” and the best example for delegating to an LLM.
Common mistakes
Four diagnoses cover almost every lifeless staging we have seen.
Everyone speaks in turn. Actor A, actor B, actor C, then A again — a metronomic round dance. Live chats do not work that way: someone replies twice, someone disappears, someone cuts in an hour later. The treatment: conditions and pauses instead of a queue.
There is no exit. The staging answers every message until the end of time. A scenario without exit blocks and limits eventually starts arguing with the void, and the audience notices before the author does.
Parrot characters. Five roles with one speaking style: all polite, all expansive, all saying “great question.” The test is simple: hide the names and try to guess who is speaking. If you cannot, the roles were not written; they were numbered.
A sale in the first line. An actor enters the chat and recommends the product from the doorstep. That is not a native recommendation; it is someone with leaflets outside the metro. Native feel is a sequence: first value for the discussion, then trust in the character, and only then the product in the right context.
Check before the premiere
No scenario survives its first contact with a live chat in its original form — that is normal; rehearsal exists for this reason. The demo engine runs the scenario without real accounts or chats: the actors play as if they were in a real dialogue, and you can see which block fired and why.
Minimum stress test before launch:
- enter the dialogue and ask an awkward question — off-topic, loaded, or about money;
- try to take the conversation elsewhere and check whether the exit fires;
- ask directly whether these are bots, and see which branch answers;
- run the scenario three times: identical runs are a sign of a round dance, not stability.
Broke it? Excellent. Better here than in a chat with forty thousand people. Try it now in the interactive demo.
Rehearsal is not a one-time ritual before launch. Every scenario edit, every new role, and every change of platform is a reason to run the stress test again. Staging degrades quietly: today you remove a pause, tomorrow you add a condition, and a week later the actors are speaking in chorus while you remain unaware because “everything worked yesterday.” Five minutes of rehearsal after every edit is cheaper than one public failure.
Try it: build your first scenario in @tgaipro_bot — or hand the draft to an LLM using the documentation in the bot. The platform’s setup is on the homepage; answers to common doubts are in the FAQ.