How to use ESP Agent

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.

1. How to brief the agent

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.

Vague "make an LED blink" The agent picks the pin, the period and the code style for you. It may add Serial, it may split the code across files. Then the fixing starts.
Clear "blink GPIO2, 500 ms period, no Serial, single file" Nothing left to guess — the result is predictable on the first try.

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.

2. Why the same request gives different code

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.

3. Four buttons not to mix up

🧹 Clear the screen

The chat is tidy again, but the agent still remembers everything and your files are untouched. It is just housekeeping.

🗒 New

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.

📁+ New project

A separate board, chat and folder. Handy when you run several devices in parallel.

⚡ Flash

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.

4. If a turn gets cut off

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.

5. Start vs Pro: what it means in practice

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.

6. The board

7. Where the money goes

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.

⬇ Download for Windows Get a key