Source: https://mokxi.com/docs/editor/ai-builder
Updated: 2026-11-10

The editor

# The AI Builder

Describe a project in your own words and Mokxi AI picks the parts, wires them, writes the code and tests it before it opens.

Open the editor All the docs

### Contents

Start here The editor The sidebar and the editor's pages Placing parts Wiring Sticky notes Drawing on the canvas Tidying up Pinned comments Frames Schematic view PCB view Reusable blocks Chips made from parts Custom chips written in C The code editor and compiling Writing assembly Show an image on a MicroPython display Run and the serial monitor The serial plotter Operating point, sweeps and frequency response The logic analyzer tab The debugger Mokxi AI, Mokxi's helper The AI Builder WiFi, simulated Real internet Blynk, simulated Bluetooth, simulated ESP-NOW between boards The properties panel Undo, copy and paste Keyboard shortcuts Customize: code themes, colors and the toolbar Saving and autosave Sharing a project Embedding a circuit on another site Export and download Send a program to a real board VS Code and GitHub with Mokxi Run a prebuilt firmware SPICE netlists in Mokxi Working on a phone Install it as an app Boards Parts Accounts and plans Live collaboration Classrooms Lessons and the learning game Hobby builds Troubleshooting Reference

Docs / The editor / The AI Builder
Mokxi team · The editor

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 #define or const int for 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.

Previous: Mokxi AI, Mokxi's helper Next: WiFi, simulated

### On this page

Describe a build Ideas to start from How it works Learn from what it built For teachers Builds left

### Other guides

WiFi, simulated The board can join a network, fetch a page and serve one. The radio is simulated, and signed in, the Real internet switch reaches real hosts. Real internet Let a WiFi board reach real web services, webhooks and public MQTT brokers. Free once you sign in, with more on Pro, and off until you turn it on. Blynk, simulated Run a Blynk sketch unchanged on an ESP8266, ESP32 or Pico W, and watch and set its virtual pins in the Cloud panel.
