Skip to content
AI mentorBeta

AI that teaches you to code.

Not a code generator. A teaching assistant built around understanding: it explains what went wrong and why, and any fix it suggests is yours to review.

In the beta todayBeta

Explain Error, in the real product. This one works offline.

  • Built-in rules for common errors

    Common Python, C, C++, Java and JavaScript errors, such as an index out of range or a missing semicolon, are explained without the internet.

  • Honest about its source

    Every explanation says where it came from: a built-in rule or an AI provider.

  • AI Tutor actions

    Explain Code, Dry Run, Fix Error, Improve Readability, Generate Test Cases and follow-up questions. These need an AI provider switched on, with the learner's consent.

  • Screenshot from the desktop beta, with a demo program and no AI provider configured.
ScriptOnX AI Tutor panel explaining a Python IndexError: the compiler message, the problem, and why it happened. The explanation is labelled “Source: Offline rule”.
Product screenshot · BetaExplain Error, answered by a built-in offline rule.
Why not just ask an AI chatbot?

AI that teaches you to code. Inside the learning loop, not beside it.

General AI chatbots are genuinely useful. Learning to program asks for something more specific: help at the moment you're stuck, grounded in your own code, that leaves you understanding more than before.

  • Context

    A general AI chatbotYou paste in the code and the error, then describe what you expected.

    ScriptOnX

    Explain Error starts from the code, the error and the failing line it just saw.

    Beta
  • Timing

    A general AI chatbotHelp lives in another tab, away from your work.

    ScriptOnX

    Help appears beside the editor, right after the run that failed.

    Beta
  • Goal

    A general AI chatbotBuilt to answer any question, often with finished code.

    ScriptOnX

    Built to teach: what happened, why, and the concept behind it.

    Beta
  • Fixes

    A general AI chatbotA fix is text you copy across.

    ScriptOnX

    Fix Error shows its suggestion beside your code. Nothing changes until you apply it, and you run it to confirm.

    Beta
  • Offline

    A general AI chatbotNeeds a connection to answer.

    ScriptOnX

    Common errors are explained by built-in rules, with no internet needed.

    Beta
  • In class

    A general AI chatbotThe same help for every question.

    ScriptOnX

    Faculty choose how much help each exercise allows, from Explain to Solve.

    Planned
Explain ErrorBeta

Don't just fix my code. Teach me why it failed.

One click on a failed run explains it the same way every time. Common errors are answered by built-in rules, even offline.

Explain Error· what every explanation contains
  1. 01Compiler messageThe error exactly as reported, with its line.
  2. 02ProblemWhat went wrong, in plain language.
  3. 03Why it happenedThe rule of the language behind it.
  4. 04How to fixThe change to make, and why it works.
  5. 05Debug stepsHow to confirm the cause yourself.
  6. 06ConceptThe idea to revisit, when there is one.
Assistance levelsPlanned

AI shouldn't do your homework. It should help you understand it.

Five levels, from one clue to a full solution, with instructors choosing which are allowed. Explain, Review and Solve exist in the beta as separate AI actions. Hint, Guide and instructor controls are planned. The settings panel is a concept preview.

Student → “Give me one clue.”

scores = [72, 88, 95]for i in range(4):    print(scores[i])
ScriptOnX AI · Hint

Compare how far the loop counts with how many items the list holds.

Planned

Status today: Not a separate level yet. Learners can ask for a hint in the AI Tutor's follow-up box.

What Hint reveals

  1. Diagnosis
  2. A clue
  3. Reasoning
  4. Approach review
  5. Working code

Instructor settings

Lab 4 · Arrays & loops

Planned
  • Explain
  • Hint
  • Guide
  • Review
  • Solve

Concept preview. Toggle a level, then pick it on the left.

AI mentorBeta

A mentor that asks as many questions as it answers.

Try a question

ScriptOnX AIsimulated conversation

Why does this loop never stop?

i = 0while i < 5:    print(i)

Simulated conversation. In the beta, follow-up questions are answered by the AI provider the learner or institution switches on.

AI designed for learning

Help that builds understanding. Not dependence.

Beta

Teaches before it solves

The AI Tutor is instructed to focus on teaching, not just giving answers: what happened, why, and the concept behind it.

Beta

Honest about where answers come from

Every answer is labelled with its source: a built-in offline rule, or the AI provider and model. Error explanations also show a confidence level.

Beta

Never pretends code ran

Results come from real runs. The AI is instructed never to claim a program succeeded, and Dry Run is a step-by-step walkthrough, not an execution.

Beta

Asks before sending code

AI providers are off until switched on in Settings, and the learner must consent before code, errors or queries are sent to one.

Beta

Learners approve every change

Suggested fixes appear beside the original code. Nothing in the editor changes until the learner applies it.

Planned

Faculty decide the level of help

Per-course and per-exercise assistance levels, from Explain to Solve, set by faculty.

Understand your next error.