Writing

Agent theory · November 23, 2026

Contingency Rules for AI Classroom Assistance

Contingent instruction requires that support matches a learner's immediate performance, offering more help after errors and less after success. This principle gives teachers and developers a concrete framework for programming AI agents that assist in classrooms.

This essay examines the instructional principle of contingency as it applies to AI agents that tutor students or assist teachers in real time. It is written for educators who deploy these tools and for researchers who study how automated support affects classroom learning.

When an artificial intelligence agent sits beside a student working through a math problem or drafts feedback on a history paragraph, the most pressing design question is not what the agent knows. The question is when the agent should intervene, how much it should say, and when it should step back. In educational psychology, this dynamic adjustment of support is known as contingent instruction. Contingency means that the level of assistance provided by a teacher—or an AI agent—depends directly on the learner’s current performance. If the student succeeds, the support decreases. If the student struggles, the support increases. Understanding contingency matters because an AI agent that offers too much help prevents learning, while one that offers too little leaves the student frustrated and stalled.

A student working at a desk with a tablet displaying an AI tutoring interface

From Theory to Concrete Moves

The concept of adjusting support based on a learner’s needs has deep roots in developmental psychology. Lev Vygotsky explored this dynamic in Mind in Society: The Development of Higher Psychological Processes, where he described how expert guidance helps children accomplish tasks they cannot yet manage alone. Vygotsky framed this interaction around the distance between what a learner can do independently and what they can achieve with skilled assistance. His work established the theoretical foundation for why human tutors adjust their behavior moment by moment during instruction. However, Vygotsky’s original text describes broad developmental processes rather than specific instructional moves. For engineers building AI agents and teachers evaluating them, broad theory must be translated into concrete actions.

That translation is the focus of the article “Scaffolding Student Learning: Instructional Approaches and Issues.” This peer-reviewed work operationalizes Vygotskian concepts into specific instructional strategies. Crucially, the authors identify contingency as a defining feature of effective scaffolding. According to their analysis, true scaffolding is not merely providing hints or breaking tasks into smaller parts. It is a responsive process where the instructor continuously monitors the learner’s understanding and adjusts the type and amount of help accordingly. When a student demonstrates competence, the instructor withdraws support. When a student makes an error or hesitates, the instructor steps in with targeted assistance. The article outlines several concrete strategies that embody this principle, such as modeling a procedure when a student is entirely stuck, offering a partial solution when they are close, or simply asking a guiding question when they need only a slight nudge.

For an AI agent acting as a classroom assistant, these operationalized strategies serve as a blueprint. Instead of generating a full explanation every time a student asks a question, the agent must be designed to diagnose the student’s current state and select a proportional response. The research detailed in “Scaffolding Student Learning” provides the exact categories of intervention that developers can map to prompt engineering and adaptive response logic.

A teacher observing a student using an AI learning tool

Programming the Contingency Rule

Translating contingent instruction into software requires establishing clear rules for escalation and de-escalation. An AI tutoring agent must track the learner’s recent inputs to determine whether to increase or decrease its involvement. Consider a scenario where a student is writing a persuasive essay with the help of an AI assistant. If the student submits a well-structured paragraph with strong evidence, a contingent AI agent should offer minimal feedback, perhaps just acknowledging the success and prompting the student to move to the next section. Providing a detailed critique or rewriting the paragraph would violate the rule of contingency by offering unnecessary support, which can undermine the student’s confidence and independence.

Conversely, if the student submits a paragraph that lacks a clear claim, the agent must escalate its support. Following the instructional approaches outlined in “Scaffolding Student Learning,” the agent might first try a low-level intervention, such as asking the student to identify the main point of their paragraph in one sentence. If the student still struggles, the agent escalates to a higher level of support, perhaps providing two examples of strong thesis statements and asking the student to choose the one that best fits their argument. Only if the student remains stuck should the agent model the process directly by drafting a sample claim together with the student. This stepped approach ensures that the AI does not do the cognitive work for the learner but instead provides exactly enough structure to keep the work moving forward.

Teachers coordinating AI tools in their classrooms must understand this escalation ladder. When a teacher uses an AI agent to manage small group work, the agent’s prompts should reflect the same contingent logic. If a group is progressing smoothly, the agent should remain quiet. If the group’s conversation stalls, the agent might introduce a targeted question drawn from the instructional strategies discussed in the scaffolding literature. The teacher’s role shifts from delivering all the content to monitoring whether the AI agent’s interventions are appropriately calibrated to the students’ real-time needs.

The Risk of Static Support

The primary failure mode for AI in education is static support. Many early automated tutoring systems operated on fixed scripts. They delivered the same hint regardless of whether the student had made a simple typo or demonstrated a fundamental misunderstanding of the concept. This rigidity ignores the core lesson of Vygotsky’s foundational text: that development happens through dynamic, responsive interaction, not passive reception of information. When an AI agent fails to implement contingency, it either overwhelms the student with unneeded explanations or abandons them at the exact moment they require guidance.

“Scaffolding Student Learning” emphasizes that scaffolding is inherently temporary. The goal of any instructional support is its own obsolescence. As the learner internalizes the skill, the scaffold must be removed. For AI agents, this means the system must possess a mechanism for fading its own presence over the course of a lesson or a semester. An agent that continues to provide heavy support after a student has demonstrated mastery is no longer scaffolding; it is hindering.

Contingency transforms an AI agent from a simple answer engine into a genuine instructional partner. By grounding the agent’s behavior in the operationalized strategies of scaffolding research, developers and teachers can ensure that automated support respects the learner’s current capabilities. The agent learns when to speak, when to ask, and when to listen, mirroring the careful judgment of an expert human teacher.

Sources