The AI Builder is a page of the editor. It was called Builder before 0.5.1;
it is the same build flow under a clearer name. Open it with AI Builder in
the left sidebar, or go to app.mokxi.com/ai-builder (the old /builder
address still opens it). The row shows once Mokxi AI builds for your account,
so a signed-out visitor, a class login or an account with Mokxi AI switched off
does not see it.
Describe a build
- Type what the project should do in the box, Describe what you want to build. A sentence is enough: "a night light that turns on when it gets dark". While the box is empty it cycles through example prompts.
- Pick a board, or leave it on Auto board and Mokxi AI chooses. The common boards come first (Uno, Nano, Mega, ESP32, ESP32-S3, ESP32-C3, Pico and Pico W), then every other board Mokxi runs.
- Press Parts I have to tick the parts on your desk, and Mokxi AI builds with those.
- Press Build.
The editor opens and you watch Mokxi AI place each part, wire it, write the sketch, compile it and run it in the simulator. A build that passes opens as a new project, and the project you had open is kept. Press Build with an empty box and the page asks you to describe it in a few words first, or to pick an idea.
Ideas to start from
Under the box are nine idea cards: Plant waterer, People counter, Night light, Temperature alarm, Reaction game, Weather station, Parking sensor, Electronic dice and Mood lamp. A card fills the box and sets its board. Nothing builds until you press Build, so you can change the words first.
How it works
The page shows the four steps every build goes through:
- Describe: say what it should sense and do.
- Parts picked: Mokxi AI chooses a board and the parts that fit.
- Wired and coded: every wire placed and the code written for you.
- Tested in the simulator: it runs before you see it.
Recent builds is under them. For now it shows an empty card: the circuits Mokxi AI builds open in the editor and are saved like any other project, in My projects.
Learn from what it built
A build is a working circuit you can take apart, so read it the way you would read a friend's breadboard. A few things to look for, and why they are there:
- A resistor next to every LED. An LED has almost no resistance once it turns on, so without one the current climbs until something gives. The resistor sets the current: on a 5 V Uno with a red LED dropping about 2 V, 220 ohms gives (5 - 2) / 220, roughly 14 mA, bright and safe.
- Which pin each part landed on. A servo or a fading LED needs a PWM pin, an analog sensor needs an analog input, and an I2C screen goes on the board's SDA and SCL pins. Each board's article, such as the Arduino Uno, lists what its pins can do.
- The code matches the wiring. Find the
#defineorconst intfor each pin at the top of the sketch and follow its wire on the canvas. - Change one thing and press Run. Swap the resistor's value, move a wire,
or edit a
delay(), and watch what changes in the simulator. Breaking it on purpose is the fastest way to learn why it worked.
Stuck on a line? Select a part and ask Mokxi AI what it does, or press Checkup to have the wiring looked over.
For teachers
The AI Builder is a quick way to put a working example in front of a class, then ask students to explain it, extend it, or rebuild it by hand. A class login does not see the AI Builder, so build the example on your own account and share the link (see sharing a project).
Builds left
Next to Build, a ring and a line say how many builds you have left this month, or in your trial. Builds are counted apart from Mokxi AI's questions; Mokxi AI builds a project lists what each plan includes. Where your plan has no builds, or they are used up, the button reads Build this with Pro and a card under the box says what Pro adds. A child's account and a class account never see that card or any plan.
You can also start a build from Home: the chips under the search bar, such as Blink an LED or Weather station, hand that build to Mokxi AI in one click.
Related: Mokxi AI, Mokxi's helper and the sidebar and the editor's pages.