Skip to Content

Pi mode and full mode

zerd starts in pi mode, a lean setup with fewer tools and a shorter prompt. Full mode turns the rest back on.

zerd starts in pi mode: a small tool set and a short prompt, which keeps each request cheap and suits strong models. Full mode adds the remaining tools and safeguards. Cheaper and open models tend to do better there, so if you run one, try --no-pi.

Switching

To do thisUse
Try full mode for one runzerd --no-pi
Use full mode for goodpi_mode = false in config.toml
Force pi mode on--pi

What changes

Pi mode (default)Full mode (--no-pi)
System promptShort, with the tool list and a few rulesThe full prompt with tool guidelines, skills section, security section and repo profile
Tools the model seesread_file, write_file, edit, shell, grep, glob, list_dir, graph, todos, ask_user, advisor, and the read-only codebase_investigator sub-agentEverything, including search, outline, git, web_fetch, web_search, memory, notes, use_skill, recall_result and parallel_tasks
Citation check on the final answerOffOn
Scout (search the repo first)OffOn
parallel_tasks toolOffOn, inside a git repo
Tool output cap2,000 lines or 50 KB. Shell output keeps the last lines, and the full text is written to a temp file8,000 characters, head and tail kept. The full text is archived and recall_result pages it back
read_fileCut at 2,000 lines or 50 KB, continue with offsetWhole file if 400 lines or fewer, symbol= reads, unchanged lines are not re-sent
CompactionOnly when the next reply would no longer fit in the windowAt 80% of the window or 200,000 tokens, whichever is lower
Tidy after a pauseOffClears old tool output when the provider's cache has gone cold

MCP tools you configured always stay available in pi mode.

What stays the same

These behave the same in both modes:

  • Running checks on changed files, repair rounds, and knowing whether a failure was already there
  • The signature guard and read-before-edit
  • Per-edit diagnostics
  • Independent review, fix runs and the challenger
  • Learning from corrections, /undo and /rewind
  • Approvals, permission rules, workspace confinement and the OS sandbox
  • Routing, failover, hooks and trust
  • Loop detection and the rounds estimate

Turning on one thing in pi mode

Pi mode only fills in keys you haven't set. If you want the citation check and nothing else, set it yourself:

check_references = true

The same goes for auto_scout, enable_parallel_tasks, tool_output_max_chars and allowed_tools. A value you set wins over the pi default.

Full mode labels on other pages

Other pages label a feature "full mode" when it needs --no-pi (or its key set by hand). Anything unlabeled works in both modes.

On this page