LearnCoding uses AI in two separate places. They are genuinely different tools, and it is worth knowing which one you are looking at:
| What it is | Who sees it | |
|---|---|---|
| Penny, the help assistant | A chat bubble you ask questions | Everyone signed in, once an administrator turns it on |
| The content generator | A tool that drafts lesson content for an instructor to review | Instructors, inside the lesson builder |
That is the whole list. AI does not mark your quizzes, decide your grades, or award your badges; those are ordinary rules in the software, not judgement calls by a model.
A round chat icon in the bottom-right corner of every page you are signed into. Penny answers:
She answers from what she has actually been given. If neither the guides nor your lesson cover your question, she says so and points you at the docs rather than inventing an answer.
Full details, including how she handles quizzes: Penny, the AI Help Assistant.
Instructors can have AI draft a version of a lesson, for example, the same explanation in another programming language or another spoken language. This is a drafting aid, not an autopilot: nothing generated is published until an instructor has reviewed and saved it, and the system records that a piece of content came from AI.
This is not just convention: the server refuses it. Content still carrying an unreviewed AI-generated variant can be saved as a private draft, but cannot go live, be submitted for approval, or be approved, until its author has accepted or rejected each generated piece. That check sits outside the normal permission system on purpose, so not even an administrator can push unreviewed AI content live.
As a student you never operate this. It is mentioned here so that "was this page written by a human?" has an honest answer: a person decided it was correct and published it, and AI may have written the first draft.
No. If your administrator has set up a shared key, everything works with no setup from you, and that is worth understanding, because it is the default situation:
On an empty conversation Penny says it up front: "Penny is using your school's shared AI key", with a link to use your own instead. In Penny's settings, while you are on the shared key, the pane starts with "Penny is ready to use. You don't need to set anything up." The fields for your own key are behind Advanced: use my own AI key. Once you have saved a key of your own, the full pane shows straight away.
If you decide to get your own key, the How to get a free API key button in Penny (and How to get an API key on your Profile under AI keys) opens a guide to the free and paid options.
Unless your administrator requires your group to bring its own key. An administrator can reserve the shared key for some groups, for example instructors only. If yours is not one of them, you will see a notice in Penny ("Your administrator requires students to use their own AI API key...") and on Profile > AI keys, and AI features will not work until you add a key. Open Penny's settings (the gear icon), pick a provider and model, paste your API key for that provider, and save. Your key is then used for Penny and anything else AI-powered you can use.
One exception: the AI wizard for an assignment you help build. If an owner added you to an assignment as a collaborator and you hold no Instructor role (see Helping Build an Assignment), the Create with AI wizard in that assignment's builder never uses the shared key. It needs your own API key, saved on Profile > AI keys, and says Add your own API key on your Profile to use the AI wizard here. until you have one. Penny is not affected.
You may use your own key with an AI provider, for example, if you have your own account and quota and would rather spend that. If you do, open Penny, click the gear icon, and you can:
Your choices come first. What your administrator has configured is the fallback for anything you have not chosen. Two buttons that sound similar but are not: Use the default hands the choice back to your administrator and keeps your key; Remove key deletes your key and keeps your provider/model choice.
Your Profile page has the same key manager plus a "Test key" button.
When you ask Penny something, this is sent to the AI provider in use, your own, if you saved a key, otherwise the one your school configured:
Never sent: correct answers, hidden tests, model solutions, the contents of data files, your answers to a multiple-choice quiz, other students' work, or your grades.
Your key is stored encrypted, and nobody else can read it: not other students, not instructors, not administrators. They can see that you have one configured; they cannot see or use it.
Conversations are stored in your own browser, not on the server, which is why clearing a conversation only affects you and why a different browser starts fresh. What is recorded on the server is an operational log line (who asked, on which page, which provider answered, and whether your own code was included) and deliberately not your question, the answer, your code, or your key.
Several switches sit above you, which is why a classmate may see something you do not:
If you see no chat bubble at all, one of those switches is off, not a fault on your side.