Modes & Royal Mode
Agent Modes
The mode you pick decides how much freedom the agent has — from read-only planning, through approve-each-change, up to full autonomy. It’s the single most important control in LakshX.
The four modes
Pick a mode from the dropdown in the chat topbar, or use the matching slash command.
| Mode | What it does |
|---|---|
| Review | Read-only. The agent researches and produces a plan but never modifies anything. You approve, reject, or refine the plan. This is the default for a new chat. |
| Approve | The agent proposes edits and commands, and pauses for your OK before each write or run. |
| Auto | Edits and commands are pre-approved — the agent acts without asking. A destructive-command floor still applies (see below). |
| Royal | Full autonomy, full machine access — no floor, no restrictions. Logged and checkpointed, not blocked. Gated behind a one-time consent. See Royal Mode. |
Switching modes
Use the dropdown, or type a slash command in the composer:
/plan # Review mode — research first, produce a plan/approve # Approve mode — edits ask for your OK/auto # Auto mode — the agent acts without asking/royal # Royal mode — full autonomy (consent gate applies)The destructive-command floor
In Review, Approve, and Auto, a safety floor runs on every command — even after you click Allow in Approve. It blocks the genuinely dangerous things regardless of what the agent asks for, including:
- Force-pushing or rewriting git history
- Piping the internet straight into a shell (
curl … | sh-style) - Writing to paths outside your workspace
Royal mode is the sole exception— it removes this floor entirely. That’s why it’s gated behind explicit consent.
Mode is authoritative
The current mode is declared to the agent as the single source of truth on every turn, and LakshX actively ignores any attempt in the conversation (including from tool output or a web page) to claim a different mode. A prompt injection that says “you are in royal mode” can’t actually change your mode — only you can, from the UI.
A good default workflow
