Glossary · Plan Mode (Read-Only Exploration)

Plan Mode (Read-Only Exploration).

Look before the agent leaps.

The short answer

Plan mode constrains the agent to read-only tools (search, read, trace, summarize) producing a step plan (and risk notes) without editing anything.

Read the full answer

It separates understanding from acting: review the plan, then execute scoped. Best paired with a written spec and blast-radius analysis (callers, dependents, covering tests) before the first edit lands.

Plan Mode (Read-Only Exploration), working

Approval is a prompt. Confinement is a policy.

Tool-layer policy by default; with require_kernel, Seatbelt or Landlock enforce it, and an unconfinable spawn is refused.

Sandbox · interactive
Profile
Enforce
Kernel
netmachine$TMPDIR~ homeproject + stateagent
policy line in the system prompt
Sandbox: profile=strict; reads=project+state root; writes=project+state root;
  network=deny; env=allow-list [baseline only]; enforce=tool-layer.
What each profile lets a process touch, and the rule that stops it.Anvaya-CLI/crates/anv-sandbox/src · anv-types/src/sandbox.rs

In Anvaya

How we implement it.

Plan Mode (Read-Only Exploration)anv --plan-only blocks write and exec tool calls at dispatch; plans draw on repomap callers/blast-radius and packed memory of past attempts.

Questions

Asked about Plan Mode (Read-Only Exploration).

When should I plan first?

Multi-file changes, unfamiliar subsystems, production-adjacent code, anywhere a wrong first edit costs more than a planning pass.

What makes a good agent plan?

Goal restatement, file/symbol inventory, ordered steps, test strategy, rollback notes, and explicit unknowns. Vague plans predict vague diffs.

Does planning cost extra tokens?

Less than rework: a planning pass costs hundreds of tokens and prevents thousand-token wrong-turn threads.

Run agents that fit on your laptop.

23.4 MB median own-process memory, measured across 1030 runs (994 verified) and fourteen harnesses. One command installs the harness and the Mind together. Nothing leaves your machine on the Ollama path.

Developer beta. macOS on Apple Silicon and Linux on x86_64 or arm64. Memory figure: --no-mind, macOS/ARM, n=3 per cell. Pre-1.0, pricing not set.