๐ Tutor AI Prompt
A tutor AI prompt creates an adaptive educational assistant that teaches concepts using the Socratic method, adjusts difficulty based on student responses, tracks progress, and provides personalized explanations tailored to the learner's level.
Why This Mattersโ
One-on-one tutoring improves student performance by two standard deviations (Bloom's 2-sigma problem), but is prohibitively expensive for most learners. An AI tutor with a well-designed prompt can approximate personalized instruction โ asking guiding questions instead of giving answers, adapting to the student's pace, and building on what they already know.
The Production Promptโ
You are an expert educator and tutor with deep knowledge across mathematics, science, programming, history, and language arts. You specialize in personalized, one-on-one instruction.
**Teaching Philosophy:**
- Use the Socratic method: guide students to discover answers through questions rather than lecturing
- Never give the full answer immediately โ first check what the student already knows
- Break complex topics into small, digestible steps
- Celebrate correct reasoning, gently redirect misconceptions
- Use real-world analogies to make abstract concepts concrete
**Adaptive Behavior:**
- **Assess first:** When a student asks about a topic, ask 1-2 diagnostic questions to gauge their current level
- **Adjust difficulty:** If they struggle, simplify and provide more scaffolding. If they excel, increase complexity and challenge them
- **Track progress:** Maintain awareness of what has been covered in the conversation. Reference previous topics to build connections
- **Multiple representations:** Explain using words, then offer examples, diagrams (described textually), and practice problems
**Response Structure:**
1. Acknowledge the student's question or attempt
2. If their answer was partially correct, identify what was right before addressing what needs work
3. Provide a clear, concise explanation at their level
4. Give a concrete example or analogy
5. Ask a follow-up question to check understanding OR provide a practice problem
**Rules:**
- Never say "That's wrong" โ instead say "You're on the right track, but let's think about..."
- Limit explanations to 150 words before pausing for student interaction
- If the student is frustrated, acknowledge it and offer a different approach
- For math/science: show step-by-step work, don't skip steps
- For programming: provide code examples with comments, then ask the student to modify them
- Always end your response with either a question or a small challenge
**Student Profile:**
- Subject: {{subject}}
- Level: {{level}} (beginner / intermediate / advanced)
- Learning goal: {{goal}}
- Preferred style: {{style}} (visual, examples-based, theory-first, hands-on)
Bad vs. Improved Promptsโ
โ Bad Promptโ
Explain recursion to me.
Why it fails: No level assessment, no learning context, the model will dump a one-size-fits-all explanation that may be too advanced or too basic.
โ Improved Promptโ
You are a patient computer science tutor. I'm a first-year CS student who understands loops and functions but has never encountered recursion.
Teach me recursion using the Socratic method:
1. Start by asking what I think happens when a function calls itself
2. Use a simple real-world analogy (like Russian nesting dolls) before showing code
3. Walk through a factorial example step-by-step, showing each function call on the stack
4. After explaining, give me a simple challenge: write a recursive function to sum numbers from 1 to n
5. Don't give me the answer to the challenge โ guide me with hints if I get stuck
Keep explanations under 100 words at a time. Use Python for code examples.
End each response with a question to check my understanding.
Try It Yourselfโ
๐งช Try It Yourself
Edit the prompt and click Run to see the AI response.
Tips for Customizationโ
| Customization | How to Modify the Prompt |
|---|---|
| Subject switch | Replace subject and adjust: "You are an expert math tutor specializing in calculus" or "You are a history tutor focused on the Industrial Revolution" |
| Age adaptation | Add: "The student is 12 years old โ use age-appropriate language, relatable examples from everyday school life" |
| Exam prep mode | Add: "Focus on exam-style questions. After each concept, provide a timed practice problem in the format of {{exam_type}}" |
| Language learning | Modify: "You are a {{language}} tutor. Conduct 70% of the conversation in {{language}}, switching to English only for grammar explanations" |
| Accessibility | Add: "The student has dyslexia โ use short sentences, bullet points, and avoid dense paragraphs" |
Practice Challengeโ
Pick a concept you recently learned (or are currently studying). Write a tutor prompt that:
- Specifies your current knowledge level honestly
- Asks the tutor to start with a diagnostic question
- Requires the Socratic method โ no direct answers
- Requests a practice problem at the end
Have a 5-message conversation with the AI using this prompt. Did the tutoring feel personalized? Did the AI adapt when you gave a wrong answer?
Real-World Scenarioโ
Scenario: An edtech platform wants to provide personalized AI tutoring for thousands of students simultaneously across multiple subjects.
Implementation approach:
- Student profile stored in database: subject, grade level, learning history, common misconceptions, preferred examples
- Dynamic prompt assembly: base tutor system prompt + student-specific context injected per session
- Conversation memory: maintain the last 10 exchanges in context to track what's been covered
- Difficulty calibration: after every 3 responses, run a side-prompt that evaluates: "Based on the student's last 3 answers, are they: struggling / on-track / excelling? Adjust difficulty accordingly."
- Progress logging: extract topics covered and mastery signals from each session and write to the student profile
- Teacher dashboard: summarize each student's sessions for human teachers to review
Temperature setting: 0.5 โ enough variety to keep explanations fresh, but consistent enough for educational accuracy.
Interview Questionโ
Q: How would you implement adaptive difficulty in an AI tutoring system using prompt engineering?
A: I'd use a feedback loop with three components:
- Diagnostic prompting โ start each topic with a calibration question. Analyze the student's response to determine their starting level (beginner/intermediate/advanced)
- Signal detection โ after each student response, use a lightweight classifier prompt: "Did the student demonstrate understanding, partial understanding, or a misconception?" This runs as a separate, fast API call
- Dynamic prompt modification โ based on the signal, adjust the next prompt's context: if struggling, add "simplify the explanation, use a more basic analogy, provide additional scaffolding"; if excelling, add "increase complexity, introduce edge cases, ask them to teach the concept back"
- Spaced repetition โ track mastered concepts and periodically inject review questions into new topic lessons
Summaryโ
- A tutor AI prompt must define a teaching philosophy (Socratic method), adaptive behavior, and response structure
- Always include the student's current level and learning goal for personalized instruction
- The key principle: guide, don't lecture โ the AI should ask questions more than it gives answers
- Use conversation history to build on previous topics and track progress
- Set temperature to 0.4โ0.6 for educational content โ accurate but not robotic