When to use it
Use it when an error message makes no sense yet, or when students need a hint that teaches rather than a finished answer.
Get an explanation
Run your program. When it fails or crashes, select AI Assistant in the console area. The explanation has three parts: what happened, why it happened, and the change to try next. Update your code, run it again and check the result.
If you do not see the button, open Menu → Settings → UI settings, turn on AI Assistant and run the code again. You can also open it from Menu → Learn → AI Assistant.
How it works
- Known errors such as a missing bracket or a misspelled name get a fast, deterministic explanation first.
- The assistant model runs in your browser, so your code is not sent to an AI service and no API key is needed.
- The first use downloads the model; after that it can work offline on supported devices.
Learning path
The Beginner tutorial makes a typical mistake, opens the explanation and fixes the program using the hint.
Good to know
The AI Assistant is experimental. Its suggestions are learning help, not automatic fixes, so always read them, change the code yourself and run it again. Speed depends on your browser and device memory.
Feature overview →