Abstract
Cyberbullying remains a pervasive threat to adolescent mental health, making the instruction of "upstanding"—proactive intervention by bystanders—a critical educational goal. While personalized, interactive simulations offer a promising path for scaling this education, designing effective conversational agents is a complex task that requires both pedagogical nuance and technical expertise. This paper introduces Co-Pilot, a no-code chatbot design tool that empowers K-12 teachers to prototype bespoke dialogue flows using large language models (LLMs) and prompt chaining. Through a qualitative study with 13 middle school teachers, we explore how educators approach chatbot design. Our findings reveal that teachers view themselves as "playwrights" creating "educational theatre," where students can safely rehearse both desirable and undesirable social responses. We discuss the opportunities LLM-Chains provide for empowering educators and the future research needed to support these high-stakes classroom interactions.
Introduction
Teaching teenagers how to navigate the social complexities of cyberbullying is notoriously difficult. Traditional "hand-slapping" lessons—prescriptive rules about what not to do—often fail to resonate with the lived experiences of adolescents. Effective education requires "upstanding" training, where students practice intervening to support victims. However, providing personalized, 1:1 feedback at scale is a significant challenge for schools.
While previous research has utilized "Wizard-of-Oz" studies (where humans simulate AI) to demonstrate the potential of chatbots in this space, these systems often lack the flexibility required to align with specific school curricula or the unique social dynamics of a particular student body. There is a clear design gap: teachers possess the pedagogical expertise but lack the technical skills to build AI, while standard LLMs are often too unpredictable for the delicate environment of a classroom. This research investigates how no-code tools can bridge this gap, giving teachers the "levers" they need to build controllable, curriculum-aligned conversational agents.
The Co-Pilot System: Designing with LLM-Chains
To address this gap, we developed Co-Pilot, a design probe built on the architecture of LLM-Chains. Unlike a single, monolithic prompt, LLM-Chains allow users to link multiple LLM components into a structured, manageable flow. The system consists of three primary modules:
- Chatbot Builder: A graphical interface where teachers define a "dialogue tree." This allows them to map out expected student behaviors (e.g., "Student joins the bully" or "Student ignores the message") and specify how the chatbot should react to each path.
- Few-Shot Prompting: To define the bot's voice without writing code, teachers provide 3–5 example utterances for each node in the tree. The system uses these examples to build prompt-based classifiers and generators that maintain the teacher's intended tone.
- Chatbot Tester: A simulation environment where teachers can stress-test their designs. They can either play the role of a student themselves or use LLM-generated "student personas" (Aggressive, Upstanding, or Passive) to observe how the bot handles different interaction styles.
Methodology
We conducted a qualitative study with 13 middle school teachers to observe how they built and iterated on their bots. Using a "ballet scenario" adapted from existing cyberbullying literature—where a victim is mocked for a dance performance—teachers were asked to design a chatbot that could guide a student through a bystander intervention. We utilized think-aloud protocols and semi-structured interviews to capture their design philosophy and technical needs.
Key Insights: The Teacher as Playwright
The study revealed a fundamental shift in how teachers perceive AI in the classroom. Rather than viewing the chatbot as a "knowledge-giving" machine, teachers envisioned it as a co-actor in a piece of educational theatre.
Rehearsal Over Instruction
Teachers moved away from prescriptive instruction toward experiential learning. They wanted students to "rehearse" social interventions in a safe, simulated space. Crucially, they encouraged students to explore "undesirable" reactions—such as joining the bully—to see the consequences play out in a controlled environment. This "theatre" approach allows for a level of improvisation that traditional role-playing exercises often lack.
The Power of Rephrasing
One of the most valued features of the LLM was its ability to rephrase core messages. Teachers noted that adolescents quickly tune out repetitive or "robotic" advice. By using the LLM to say the same thing in five different ways, the bot could maintain engagement and avoid sounding like a pre-programmed machine.
The "Middle School Mindset" Gap
A significant challenge identified was the "slang gap." Some teachers struggled to write realistic examples of how their students actually communicate. This suggests that future tools should include "writing assistants" or persona-based suggestions to help teachers bridge the generational divide in digital communication.
Results and Future Work
The study demonstrated that teachers with zero AI experience could build functional, multi-turn dialogue flows within 45 minutes. They successfully injected their own "voice" and school-specific context into the bots, which they believed would significantly increase student buy-in.
However, several areas for future research remain:
- Multi-Participant Complexity: Teachers expressed a desire for "multi-player" scenarios involving bots for the bully, the victim, and the bystander simultaneously. Managing state across multiple agents remains a technical hurdle.
- Abstract Levers: Educators want higher-level controls, such as the ability to tell a bot to "be more firm" or "dwell on this topic" for several turns, rather than scripting every branch manually.
- Long-term Efficacy: While the initial interactions were successful, further study is needed to determine if these teacher-built simulations lead to real-world behavioral changes in students.
Conclusion
By providing teachers with the tools to act as playwrights, we can create more authentic, pedagogically sound AI interventions for cyberbullying. The LLM-Chain architecture provides the necessary balance of control and flexibility, turning the chatbot into a powerful medium for social-emotional learning.
Summary updated