Mokxi AI is the round blue button in the bottom corner of the editor and of every page on the site. It is built in: no key to paste and nothing to install. It answers signed-in accounts, and a free account gets five questions a day. Signed out, the help articles still open in its panel, and asking a question shows a card to sign in. On the site it answers questions about Mokxi, boards and getting started; in the editor it reads the project in front of you.
Ask Mokxi AI in two steps
- Press the Mokxi AI button in the bottom corner (in the editor, Mokxi AI in the serial monitor's bar opens it too).
- Press Ask Mokxi AI, type your question and press Enter.
The answer appears as it is written, usually a short paragraph. Press the square in the send button to stop it. More detail under an answer asks for the longer version, and that uses another question. On a computer the box is ready to type in; on a phone the keyboard opens only when you tap the box.
Under the first message are a few suggestions picked from what the editor shows: Why won't this compile? and Fix it after a failed build, What does R1 do? with a part selected, Write me a sketch for this circuit on an empty file, Is my wiring right? once there are parts on the canvas.
What Mokxi AI is good at
Mokxi AI sees the same project you do, so you can ask the way you would ask a friend looking over your shoulder.
- A build error. The build fails with
'LED_PIN' was not declared in this scope. Press Why won't this compile? and Mokxi AI says which line, what the compiler means, and what to change. Press Fix it and it writes the change for you (see Fix it below). - "Why doesn't my LED light?" Mokxi AI reads your wiring and your code
together, so it can say that the LED is on pin 12 while the sketch writes
pin 13, that the LED is in backwards, or that
pinModeis missing. - "Make the servo sweep slower." Mokxi AI changes the code you have, such as a
longer
delay()or a smaller step in theforloop, shown as a change you accept or leave. - "I'm new." Press I'm new, help me start on Mokxi AI's Home. You get three steps and five starter projects, each one tap to open and ready to Run. That costs no question, and Ask Mokxi AI which board to pick is there too.
It also explains code line by line, suggests what to build with the parts on your canvas, and writes a first sketch for a circuit you have wired.
What Mokxi AI does on its own
- It reads every file on the board. The open file goes with your question,
and so do the board's other tabs, so a sketch that calls a class in
MotorDriver.cppis read whole. - It runs a stopped project. Ask while nothing is running and Mokxi AI runs the project out of sight for about three simulated seconds, from power-on, and reads what the parts did: motors, LEDs, servos, buzzers, the serial output, build errors and parts pushed past their rating. Your own canvas and simulation are not touched. That is how it can tell that one motor of a car turns the wrong way.
- It finishes an import. When an import leaves placeholders, lost
connections or libraries Mokxi does not have, the import chip and the report
offer Ask Mokxi AI to finish it. Mokxi AI reads the import report and proposes,
for each placeholder, the nearest Mokxi part and its pins, and for each
missing
#includethe library to install or the Mokxi header to use instead. Nothing changes until you press a button on the card, and each press is one change Ctrl+Z undoes. It uses one question. See Importing a project. - It answers a message to Dane first. In the editor, the first message of a new conversation on Send us a message goes to Mokxi AI, with Still stuck? Send to Dane on it to send the same message on. Questions about your account or a payment go straight to Dane.
Mokxi AI builds a project
On a paid plan, the AI Builder page in the editor's sidebar, and Mokxi AI's Home, have Describe what you want to build. Say what the project should do in your own words, or start from one of the examples under the box, and press Build. Mokxi AI picks the parts, wires them, writes the code, compiles it and runs it before you see it, and shows each step as it goes. A build that passes opens as a new project, with your own project kept. One that does not says what was tried and offers to open it anyway or try again.
Builds are counted apart from questions: 15 a month on Pro, and 50 on Ultra for the accounts that still have it (up to 5 on Student and at a regional price, fewer at the deepest discounts), 3 in all on the Pro trial, none a month on Lifetime Pro, whose builds come from packs, and none on Free, where the button reads Build this with Pro. They reset on the 1st of the month (UTC), and each build gets one free retry.
The panel
Mokxi AI opens on Home, with a bar of three tabs at the bottom.
- Home: a greeting and cards for Ask Mokxi AI, Send us a message, I'm new, help me start, and a search box over these help articles. When Mokxi AI's Checkup has found something in your circuit, a card at the top says so.
- Messages: your recent chats with Mokxi AI, and your conversation with Dane. Tap one to carry on where you left off.
- Help: every collection of these help articles, each article readable right in the panel. If nothing matches what you search for, Ask Mokxi AI takes the question to Mokxi AI.
In a chat, the menu at the top has New chat, What is sent, Talk to Dane, Something wrong? Tell us and Clear this chat. A small thumb up or down under each answer tells us whether it helped.
Fix it
After a build error, or when you ask Mokxi AI to fix something, it proposes a change as a card: what it changes and why, with the lines it adds in green and the ones it removes in red.
- Mokxi compiles your project with the change first, in your browser, with the same compiler Run uses. The card says Compiles before Accept can be pressed.
- Accept makes the change as one ordinary edit, so Ctrl+Z (Cmd+Z on a Mac) undoes it.
- Not now leaves your code alone.
- If the change does not compile, Mokxi AI tries once more on its own. That second try uses no question.
- If the change cannot be compiled here (offline, or a board that does not build in the browser), the card says so, and you check it with Run.
Code blocks in any answer have Copy and Insert at cursor, and Replace file when the block is a whole sketch. Nothing changes your project until you press one of them.
Checkup
Checkup is the Circuit Doctor inside Mokxi AI. It checks your wiring and your
code together, in your browser, after every change and every run: a pin the
code uses that nothing is wired to, an LED with no resistor or in backwards,
grounds that are not shared, a short circuit, a missing Serial.begin.
Open it from Checkup in the serial monitor's bar or on the canvas toolbar, or from the card on Mokxi AI's Home. When something would stop the circuit working, a dot shows on the Mokxi AI button. For each finding:
- The fix buttons make the change in one tap, on the canvas or in the code, and Ctrl+Z undoes it.
- Show on the canvas lights up the parts and wires it is about.
- Explain asks Mokxi AI about that finding, and Explain all of them with Mokxi AI asks about all of them at once. Each uses one question.
The checks and the fixes are free on every plan, as many as you like. Only Explain uses your questions. Checkup findings lists every finding and what it means.
What Mokxi AI knows
Every question comes with a reference built from Mokxi's own code: every board that runs code and its pins, every part and its pins, the libraries that compile and on which boards, headers Mokxi does not have and what to use instead, the build errors people hit most and how to fix each one, and answers Dane gives people often. When it needs more, Mokxi AI looks things up itself: a help article, a part, a board, a library, or your Checkup's findings. Where general Arduino advice and Mokxi differ, Mokxi AI goes by Mokxi.
In the EE lab track, Ask Mokxi AI why under a failed check explains the idea and the next step. It never gives the value to type or a fixed sketch, because the work is graded. It uses one of your questions.
Help and Talk to Dane
The Help tab holds every article on this site, searchable from Mokxi AI's Home. Mokxi AI also reads the best few articles for each question before it answers, so its answers match what these pages say.
Send us a message on Home, Talk to Dane in the menu, or Talk to a person under an answer reaches Dane, who runs Mokxi. Dane reads every message and answers here and by email. If an answer is wrong or a limit seems off, Something wrong? Tell us sends it to our support inbox; tick Include this chat if the last few messages help explain it.
Questions a day
Questions come back one at a time through the day, until the row is full again:
| Plan | Questions a day |
|---|---|
| Signed out | none: sign in, free |
| Free | 5 |
| Pro trial | 50 (5 on a trial started without a card before November 9, 2026) |
| Lifetime Pro | 25 |
| Pro, Student, Classroom and the other paid plans | 100 |
| Ultra (no longer sold; existing accounts) | 500 |
A paid plan bought at a regional price gets questions in step with the price: Pro at half price is 50 a day. When you run out, the panel says when the next one comes back. However many you have, nobody can ask more than 4 a minute, 30 an hour or 120 a day. Help, the Checkup and its fixes, the beginner's start and a fix's second try use no questions. See Plans and limits for the rest of what each plan has.
Getting more questions
When your questions run out, Mokxi AI's panel shows when the next one comes back, with a timer, and under it a few ways to get more now. More options lists everything:
| Pack | Builds | Questions |
|---|---|---|
| Mokxi AI 5 questions | none | 5 |
| Mokxi AI 5 builds + 50 questions | 5 | 50 |
| Mokxi AI 10 builds + 150 questions (Most popular) | 10 | 150 |
| Mokxi AI 25 builds + 375 questions (Best value) | 25 | 375 |
Prices are regional. The panel and /pricing show them in your currency, and not every pack is sold in every country. A Save badge shows how much less a question costs than in the 5-question pack. The 5-question pack is offered only before your first pack, and only where the full price applies.
You buy a pack once and it never expires. Its questions are used after the day's questions run out, and its builds after the builds your plan gives each month. No plan is needed: a free account can buy one, and its builds work in Mokxi AI's build box.
- On a paid plan the pack goes on your next bill, in one tap.
- On Free or the trial you pay with Stripe the first time. In most countries your card is saved, so the next pack is one tap too. Where Stripe offers UPI, Pix or GoPay (India, Brazil and Indonesia), nothing is saved and each pack is a new Checkout.
- You can buy up to three packs a day.
- Not now hides the offer for a day; the timer still shows. On Mokxi AI's Home, Get more questions shows when you have three or fewer left.
- On Free, the panel also offers 100 questions a day with Pro, with a free 7-day trial if you have not had one.
Mokxi AI Boost
Mokxi AI Boost gives you 50 more questions every day, for a monthly price shown on /pricing in your currency. It works on any plan, Free included. On a paid plan it goes on your plan's bill, with the first part month charged on your next bill; otherwise it is a small monthly payment of its own through Stripe. Turn it off any time with Cancel in Mokxi AI's panel, under More options. On its own payment it runs to the end of the month you paid for.
If your card turns out to be from a country where the pack costs more, you get the questions your payment buys there, and the panel offers the whole charge back. A refund takes back the pack's questions you have not used yet.
Packs and Mokxi AI Boost are not sold signed out (sign in free for 5 questions a day), or to class students, class logins or younger children's accounts.
In the Android app, packs and Mokxi AI Boost are bought through Google Play, at Google Play's price in your money. A pack's questions arrive as soon as Google confirms the payment, and a refund from Google Play takes back the ones you have not used. Mokxi AI Boost from Google Play is canceled in the Play Store (Manage in Google Play in Mokxi AI's panel).
In a class
Mokxi AI is off for students in a class until their teacher turns it on, with the Mokxi AI button on the class page (see Running a class). Students then share the class's questions for the day, five for each student and no student more than ten, and never see a price. Mokxi AI always stays off for younger children's accounts and class logins.
What Mokxi AI sees
With each question, Mokxi AI is sent:
- your question and the last six messages of the chat;
- in the editor, your project: the parts, their settings and how they are wired, the open code with line numbers and the board's other files, the last lines of serial output, compiler messages, live readings while the circuit runs (or, when it is stopped, what the out-of-sight run saw), the Checkup's findings, and the selected part;
- on a site page, the page you are on, in place of a project;
- the top help articles for your question.
What is sent, in the chat's menu, shows exactly that text. Your name, email, account, school and address are never sent. The question goes through Mokxi's server to the AI service that runs Mokxi AI, which the privacy notice names.
What is kept
- In your browser: your last ten chats with Mokxi AI, for seven days. Clear this chat or signing out removes them. They are not on your account, so another computer or browser does not have them.
- On our side: no questions and no answers. Only counts, such as how many questions were asked and what they cost, under a code that cannot be turned back into you. Closing your account deletes those too.
Mokxi AI can be wrong
Mokxi AI can be wrong, so check before you build. The panel says so under the box. Read a fix before you accept it, run the circuit in Mokxi before you wire the real one, and never follow an answer near mains power or big batteries: ask a grown-up. If an answer was wrong, Not quite right? Tell us under it helps us make Mokxi AI better.
More about Mokxi AI
- An Arduino AI assistant that can see your circuit
- Fix Arduino code with AI, and see it compile first
- ChatGPT and Arduino code: what a chat window cannot see
Questions
Do I need my own API key? No. Mokxi AI is built in, and Mokxi pays for it.
Do I need an account? Yes, a free one. Mokxi AI answers signed-in accounts only, and a free account gets five questions a day.
How do I get more questions? Wait for the next one to come back, or buy a question pack in Mokxi AI's panel when you run out. Packs are bought once, never expire and need no plan; their prices are on /pricing, in your currency. Mokxi AI Boost adds 50 a day for a monthly price, and Pro gives you 100 a day. See Getting more questions.
Does a question change my project? Never on its own. Only Accept, Insert at cursor or Replace file change it, and Ctrl+Z undoes each.
Is the Circuit Doctor still there? Yes. It is Checkup: the same checks and fixes, in Mokxi AI's panel, with Explain asking Mokxi AI.
Why didn't my questions all come back at midnight? They come back one at a time through the day rather than all at once.
Can a teacher read my chats with Mokxi AI? No. Chats stay in your browser, and we keep none of them.
Why can't I see Mokxi AI? It is off for younger children's accounts and class logins, and for a class student until the teacher turns it on. Everyone else has it.