You describe the task in plain words — the agent writes the code, compiles it, fixes the errors and flashes your board. Below is everything worth knowing on day one. Five minutes of reading saves you a few dollars and a couple of hours.
The main rule: the agent does exactly what you asked for. It doesn't guess what you meant — it picks the most likely option. The more detail in the brief, the fewer fixes later.
Worth specifying: the pin, timings and speeds, whether you need Serial and at what baud rate, how many files, which library to use (if you have a favourite), and what to do on failure (e.g. "if the sensor doesn't respond, blink the LED").
If the agent asks a question in the chat, just answer with your next message. It asks on purpose instead of guessing when the choice really matters.
This is not a bug, and the agent is not having a bad day. It is how AI models work: they pick words by probability, so two identical answers are impossible in principle. A few more things add to it:
Modern models have no "always do it the same way" knob (temperature).
Hence the practical takeaway: refine as you go, in the same chat ("make it 200 ms", "drop the Serial") instead of "rewrite it". In the same chat the agent already sees the finished sketch and changes a couple of lines — that is faster and noticeably cheaper than writing everything from scratch.
The chat is tidy again, but the agent still remembers everything and your files are untouched. It is just housekeeping.
The agent forgets the conversation and the old sketch moves to the "_архив" folder. It starts from scratch — and does it its own way again. Use it when the task has changed.
A separate board, chat and folder. Handy when you run several devices in parallel.
Uploads the existing sketch without the AI — so it costs you nothing. When the code is already written and you just need to reflash the board, don't ask the agent — press this button.
Power lost, app closed halfway, or the reply hit its ceiling — the app starts a new conversation itself and tells you so in the chat.
Your files and sketches are safe. Just write "continue, the code is in the project" — the agent will read the sketch and finish the job. Nothing is lost and nothing needs rewriting.
Every model has a reply ceiling — how much it can write in a single turn. That is not the same as how much it can read: reading capacity is huge.
The Start model's reply ceiling is several times lower, and it silently truncates long code — the turn breaks mid-sentence. Pro has plenty of headroom, so it finishes large sketches.
This is an honest difference between the plans, not a setting — no limit can fix it. Simple tasks: Start. Complex projects: Pro.
You pay for the model's work, and its reply costs several times more than your question. Everything else follows from that:
Your balance is visible right in the app, in the status bar.