| Mode | In one line |
|---|---|
ask | Everything that changes anything is asked. The default. |
auto | File changes go through; commands, data, DNS are still asked. |
plan | Read-only. It investigates and proposes; it changes nothing. |
full | Nothing is asked, except the three that are always asked. |
The matrix
| Category | ask | auto | plan | full |
|---|---|---|---|---|
read · memory · task | allowed | allowed | allowed | allowed |
write | asked | allowed | refused | allowed |
| exec | asked | asked | refused | allowed |
storage | asked | asked | refused | allowed |
dns | asked | asked | refused | allowed |
send · publish · money | asked | asked | refused | asked |
Sending a message, publishing to the internet and spending credits on space are asked every single time, in every mode, and « always » is not accepted for them. Full access is not unattended.
Setting and changing it
const agent = api.agents.create({ runtime: "local", machine: pc, model, mode: "plan" });
// Later, from your interface — it takes effect on the next tool call
agent.setMode("auto");
agent.mode; // "auto"agent = api.agents.create(runtime="local", machine=pc, model=model, mode="plan")
# Later, from your interface — it takes effect on the next tool call
agent.set_mode("auto")
agent.mode # "auto"setMode() applies to running subagents too. An unknown name is refused at creation with invalid_mode.
The model is told which mode it is in
Each mode has a paragraph in the system prompt, so the agent plans for what it can actually do: in plan mode it is told to investigate and present a plan, not to try an edit and be refused.
A mode is not a sandbox
It decides what is asked, not what is reachable. The boundary of what an agent can touch is the workspace, the storages you passed and the tools you declared — a mode cannot widen any of the three, and full does not make a refused address reachable.