Author: Reuben Fry
Two Voices in the Balcony
Whilst preparing for my presentation at the Cogniti mini-symposium, I felt myself getting nervous. I’d never spoken at an event like this before, and definitely hadn’t been putting my work and ideas out there for the world to see. As it was, I’d been pushed by a colleague to go, having only gained the confidence after doing a small presentation for my team at work and receiving enthusiastic feedback.
I’d written three different versions of my presentation, but none of them felt right. I wanted to demonstrate the power of what I’d been creating, and I wanted to do it with personality, with humour. My presentation was based on multi-agent scenarios, using Cogniti’s mini app feature. I thought, “Why not quickly build a mini app and a couple of agents to show off what I’ve been doing and add in a bit of self-deprecating humour to lighten the mood?”
This birthed my Muppet-like introduction. For those who don’t know the Muppets, Waldorf and Statler are two characters who provide humorous, satirical commentary from a balcony seat. Using my Scenario Builder template (more on this later), and a couple of prompts to add character images, I created a mini app starring two versions of my own inner monologue – Not Waldorf and Not Statler – that encompassed my nervousness at presenting and heckled me because of it. And they jumped on me when I misspelled the word “help”, trading barbs on screen:
Me: Hel!!!!
Not Waldorf: ““Hel!!!!”? Great start. Even your panic has typos – just like your slides.”
Not Statler: “Yeah… wait till his demo updates overnight and replaces every citation with lorem ipsum. Hehehe.”
Not Waldorf: “Overnight updates? Reuben trusts autosync like he trusts his memory – bold for a man whose demo’s one glitch from interpretive dance.”
The two characters bounced off each other perfectly, reacting and building on what the other was saying, demonstrating the conversational controls I’d built in far better than a bullet-point slide ever could.

Most agents try to be helpful and polite. Real professional practice rarely works like that. Whether you are a nursing student triaging competing priorities during a bedside handover, or a pre-service teacher navigating a difficult conversation with two anxious parents in a parent-teacher interview, human interactions can be messy and unpredictable. This is what I’ve been working on over the last few months: building multi-agent scenarios to provide students with repeatable learning experiences.
Beyond the Illusion of Choice
Scenario-based learning has always been of interest to me. Students might have memorised the textbooks and know all the theory, but applying these learnings in a real-life situation, with higher stakes, can be the best teaching experience they receive. Traditionally, realistic scenario-based learning meant getting in actors to play a role, which was expensive and a one-time activity – or asking students to role-play with peers, which, whilst fun, often isn’t authentic.
I began my journey with branching scenarios. Everyone likens them to Choose Your Own Adventure books, and rightly so: make a choice, and see the consequences of said choice. But branching scenarios are very rigid, and their tree structure only gives the illusion of choice. As my old classroom discipline lecturer used to say, “You can do what I want, or you can do the other thing that I want.”
When GenAI hit a level of sophistication a couple of years ago, we suddenly had access to create true scenario-based learning that was safe, low-stakes, and repeatable. We could create different personas for the AI agents to play, giving learners genuine freedom of choice. As the learner, I could choose to tell the parents that their child was naughty, and they needed to do more at home to teach their child how to behave. I would then see the realistic consequences of my words. My actions were only limited by the guardrails the creator of the agent put in place.
However, these conversations were one-to-one, and life is often not like that. Usually, we’re interacting with multiple people at once, all with different motivations and personalities. Single agents don’t handle juggling different personas well; any ambiguity in their prompt will cause them to confuse voices or fail outright. They should only be given one task.

Enter Cogniti mini apps. They have the functionality of linking multiple agents together. Suddenly, scenarios with multiple people were possible.
Under the Hood of a Multi-Agent Scenario
In a previous life I was a primary school teacher, and something that I wasn’t taught at university was how to conduct a parent-teacher interview. Speaking with academics even now, this is something that is rarely, if ever, in the curriculum. As you can imagine, this can be incredibly difficult to navigate, especially if there is an issue that needs to be addressed. Can you imagine trying to deal with potentially hostile parents as a 21-year-old teacher? I don’t have to imagine it, because it happened to me. Thankfully, I handled the situation well enough, but it always stuck with me. Therefore, it felt like a natural place for me to test my multi-agent conversations.
The scenario I used to test was a complex one: a child with suspected autism who has had a classroom incident when overwhelmed, who only responds when directly spoken to; a mother who is incredibly overprotective and easily becomes defensive, bordering on aggressive; and a father who sits back and doesn’t say much, taking everything in.

Initially creating the scenario, the characters all spoke to each other, bouncing off each other well. Suddenly everything stopped working, though. I’d run out of tokens! The longer a conversation went, the more data I needed to send to each agent. They couldn’t naturally see the conversation, meaning every bit of it needed to be sent and resent to each agent, every time anything was said. I needed a way to govern this, so I decided to send only the previous five turns to each agent. That provided enough context for them to work correctly without blowing out token limits.
But now they didn’t know whose turn it was to talk. I had to have a way to signal to each agent that it was their turn. So I used names to trigger a character’s turn, sometimes detected directly in conversation, other times passed silently (appended to the hidden state of the prompt and stripped out before rendering to the user).
Whilst creating the scenario, I also needed to have the parents become accepting of the issue and work towards a solution. After all, the learner needed a win condition, and creating a character who is only defensive means they’d never get there. To solve this, my prompt included what I termed the “phase shift”: once I’d demonstrated empathy and care a certain number of times, the father took control of the conversation, and the mother stopped being defensive, acknowledged there was an issue, and was open to a resolution. This turned out to be difficult to track reliably in a prompt alone. Taking off my Learning Designer hat and putting on my Computer Science hat, I created a simple counter using the mini app JavaScript. Once the learner had demonstrated empathy and a solution-based attitude three times, the phase shift triggered. Mum became accepting, and both parents started working towards a solution.
With any good learning piece, I also needed the learner to get feedback. I created a final agent for the scenario: the Feedback agent. This agent was fed the entire transcript at the conclusion and measured the learner’s performance against a set of criteria.
Scaling Up: The Scenario Builder Template
I had a working multi-agent scenario, all wrapped up in a mini app. Now to show it to people, get buy-in, and build more. I received a lot of interest – everyone who saw it wanted me to build something for their subject, their situation, from clinical nursing handovers to tricky workplace negotiations. I work in a central team, and I needed a way to do this at scale. I thought, “Can I template this so that academics can just build a scenario by themselves, without worrying about the technical side of it?”
To this end, I built another mini app: the Scenario Builder. It walks the user through the entire scenario-building process: from the setting, the characters, and the hidden variables, to the phase shift and the win and lose states. It outputs the prompts for the user to create character and feedback agents, as well as the mini app prompt itself. Copy-paste the agent prompts and save them, copy-paste the mini app prompt, link the agents, and you can have a working scenario mini app in about five minutes.

Adding Space and Play: The JRPG Scenario Builder
In my personal time, I was also learning about pixel art graphics and coding small games in Godot. I had another thought: can I add graphics to my template? Can I make games out of my scenarios? What about an escape room?
Text-only chat is brilliant for pure conversation, but real environments also have physical clues, documents, and spatial context. If a student walks into a room, they shouldn’t just talk to an NPC, they should be able to inspect a chart on the wall, check a clipboard on a desk, or notice something out of place before deciding what to say.
With that in mind, the JRPG Scenario Builder was created. Taking everything from the original Scenario Builder, I added 2D, 16-bit style graphics, interactive objects, gatekeeping mechanics (where progressing to the next room or phase requires uncovering specific evidence or earning an NPC’s trust), and a static visual novel option for educators who want illustrated character portraits without full top-down movement. Now, instead of just answering questions in a chat box, learners can explore a room, gather context, and apply what they find in live conversations with the characters inside.

What’s Next, And Why Templates Matter
Looking ahead, I’m excited to keep experimenting with how far I can take Cogniti mini apps, whether it’s building new interactive mechanics, testing fresh ways to make scenarios feel dynamic and unpredictable, or turning whatever works into open templates that other educators can pick up and adapt for their own subjects.
At their core, these templates make what may seem daunting easy. Academics can focus on the learning and the pedagogy instead of the tech. They can create interactive, gamified learning experiences that are engaging and, most importantly, repeatable. These experiences can be scaffolded towards a real-life scenario, giving students the practice they need and the confidence to do well.
And they’re free and accessible for any Cogniti user. Because that’s the point of a template: it’s for everyone. Even Waldorf and Statler can’t say anything bad about that.
