In the Builder, students drag blocks onto a canvas and connect them into an AI agent that runs on a real model.
Do "Build your first agent" yourself before class. It's the tutorial your students follow, and it takes about 30 minutes.
What students can and cannot do#
Students build from a fixed set of typed blocks. They can pick the model, write the instructions, wire in approved tools, and read every step of a run. They cannot write code that executes, reach arbitrary websites, or use their own credentials. The approved tools without any extra packs are Calculator, Find a Fact, Read File, Write File, Get Date & Time, and Random Number. File tools only reach a folder inside the student's own project.
Every run has limits: two minutes, 20 model calls, 16 tool calls, and a cost cap. A run that hits one stops with a message that says which limit.
Runs use credits from your class balance, and students never buy them. If a student sees "You have run out of AI credits", the class balance is empty until your plan's monthly credits top it up. On a school plan you can also grant credits to one student from the Students section.
A first session in 45 minutes#
This plan assumes students have accounts and are in your class.
Minutes 0 to 5. Ask what a chatbot does between reading your message and answering. Write the guesses on the board and leave them up.
Minutes 5 to 15. Students open Builder, press Create project, pick One agent that answers, and run it once with any question. Walk the room. Students usually get stuck because they haven't pressed Use agent or they're typing in the wrong box.
Minutes 15 to 30. Students open Base Agent, change the System Prompt, and run again. Give them a constraint, like "make it answer only in questions" or "make it refuse to talk about anything but the ocean". Ask two students to read their prompt and their agent's answer aloud.
Minutes 30 to 40. Everyone asks their agent "What is 4,872 times 391?" and checks it with a calculator. Most agents get it wrong. Drag the Calculator tool onto Base Agent's tray, run again, and open Debug to see the tool call.
Minutes 40 to 45. Go back to the board. Which guesses matched what the Debug tab showed?
Fast finishers: delete a cable, run it, and explain the "Stopped here" dialog to a neighbour. Or try Agent that checks its answer from the starter list.
The ideas behind the blocks#
A first session only needs the first three. The rest match chapter 15, "How AI Agents Work", if you teach it.
- On Message, Base Agent, Show User. A run starts with a message, one block decides what to do, and one block shows the result. Everything else lives inside Base Agent.
- System Prompt and Call Model. The instructions and the model call, both inside Base Agent. Try setting Temperature (under Advanced) to 0, and the same question gets the same answer.
- Tools. The agent offers a tool to the model, the model asks for it, and the result comes back, so a tool takes three cables. The model only knows a tool exists if its Tool Definition reaches the agent's Tools port. Docking makes all three connections at once.
- Limit History. Trims what the model gets to see. The starter "Agent that remembers a little" keeps four turns. Ask students to have a long chat and notice what the agent forgets.
- Compare, If, Template Text, Make Message. Small steps between blocks. The starter "Agent that checks its answer" uses them to route an answer down one of two paths.
- Detect Repetition and Loop Guard. For agents that call the same tool over and over. Advanced.
- Note. A comment on the canvas that never runs. Ask students to add one explaining their design before they turn in.
Students can import more blocks in packs from the palette. Some packs need a paid plan.
Assigning a project#
Projects attach to an activity assignment. Open Assign a lesson, pick a single activity, and set Project submission to one of:
- Saved project. The student turns in the agent as it is when they submit. Good for "build an agent that does X".
- Project run. The student picks one finished run and turns that in with the agent. Good when you want to see a specific conversation, for example "show me a run where it uses the calculator".
The student sees "Turn in an agent project when you are done" on the assignment. They press Turn in or share in the editor, choose the assignment, and press Submit agent.
A submission is a snapshot, so later edits to the agent don't change what you see.
Reviewing what students turn in#
Open the assignment from Assignments. The Submitted agents section lists each student and when they submitted. Press one to open the agent read-only.
What to look at:
- The canvas. Is each tool docked or wired all three ways?
- See runs in the header, then the Runs tab. Pick a run and read the Debug timeline, which shows every model turn and tool call.
- The System Prompt inside Base Agent, which is usually where the student's thinking shows.
Mark reviewed records that you looked. Write a note sends the student short feedback as a notification and marks it reviewed. Neither is a grade.
When a student shares an agent with the class, you can open it read-only from the link without an assignment.
What to watch for#
- A student whose agent "does nothing" almost always has an unconnected port. Base Agent shows a dashed dot and "Needs a connection" on it.
- A student who says the calculator is wired but the model never uses it has connected Tool Call and Tool Result but not Tool Definition. Docking avoids this.
- Long, vague system prompts cause loops. Suggest adding "Answer, then stop".
- Your class's AI activity section shows every conversation a student has with their agents, read-only, along with any moderation flags.
Getting help#
Press Help in the sidebar and send a message with the student's username and the agent's name, so we can look at the same run.