Choose a mode
In VS Code, use the mode control beside the composer or run the matching slash command:
Cycle with Shift+Tab
PressShift+Tab while the composer is focused to move through the modes supported by the local runtime. The same shortcut works in the terminal UI.
The cycle is:
Act mode
Act mode is the normal implementation mode. The agent can read and edit files, run shell commands, build and flash firmware, use serial tools, and complete other project work. Act mode does not expose the dedicated Debug-mode tool set. Switch to Debug when the task needs GDB state inspection, managed debugger servers, hardware automation scripts, instruction trace, or a coverage capture. Use Act mode when:- the requested change is small and already well specified;
- you approved a plan and want the agent to implement it;
- a software-only problem can be reproduced with normal tests or build commands;
- you need an ordinary build, flash, or serial workflow without an interactive hardware investigation.
Act mode permits changes, but approval rules and safety checks still apply. For example, a flash operation can require confirmation, and
.embedderignore can block an edit.Plan mode
Plan mode keeps the project read-only while the agent investigates the request. It can inspect files, documents, schematics, diagnostics, static analyzer configuration, saved traces, serial history, and hardware status. It cannot use the shell or change project files. The only writable file is the plan for that session. Embedder normally stores plans under:- request changes to the approach;
- edit the plan yourself;
- approve it for implementation.
Debug mode
Debug mode includes Act-mode editing and command access, then adds the hardware debugging tools withheld from Act mode. Entering Debug mode also injects a current hardware status snapshot so the agent can see configured providers, connected devices, and managed debugger availability. The expected workflow is:- Observe the code, buffered output, debugger state, and available hardware.
- Record explicit hypotheses.
- Probe one hypothesis with the least invasive useful experiment.
- Verify the root cause and the fix against the original symptom.
.embedder/hardware/. Longer investigations use a case directory under .embedder/hardware/cases/ so findings and hypothesis verdicts survive context compression and session restarts.
Use Debug mode for faults, timing failures, peripheral behavior, power problems, and bugs that require live target evidence. Stay in Act mode for compile failures or software-only defects that a normal test can reproduce.

