Modes

8 built-in modes with tool guardrails — switch with /mode <name> or let kbcode auto-pick the right one.

code full access

The default mode. Full read, write, edit, and command execution. kbcode starts here and auto-switches into lighter modes when the task fits (asking a question, planning, debugging). Use this for any hands-on coding work.

architect plan only

High-level design & planning. Reads the codebase and proposes architecture, but cannot edit or run anything. Perfect for planning a feature before implementing it. When auto_handoff is on, the plan seamlessly hands off to code mode for implementation.

ask read only

Read-only Q&A. Can read files, search the codebase, and answer questions — but never edits or runs commands. Safe for exploration and learning without risk of accidental changes.

debug full access

Triage & systematic failure analysis. Reproduces the bug, isolates the root cause, then applies the smallest fix. Never guesses — reads code, runs diagnostics, and states the cause plainly before patching.

driven requirements first

Gathers requirements before building. When a new goal or feature needs clarification, driven mode asks the right questions first — scope, constraints, preferences — then hands off to code mode once everything is clear. Never builds on assumptions.

pilot autonomous

Self-prompting autonomous mode. Plans todos with manage_todos and drives itself to completion — no waiting for user input between steps. Capped at 25 self-prompts per turn to prevent runaway loops.

orchestrator delegation

Decompose & delegate. Breaks a large job into independent pieces, delegates each to a specialist subagent (autopilot, code-explorer, fixer), and stitches the results into one report. Subagents run concurrently for speed.

agi coordinator

Autonomous multi-phase execution. Breaks complex work into independent phases, verifies each result as it completes, and stitches everything together — no context pollution between phases. Ideal for large tasks that benefit from a clean slate at each step.

custom your rules

Create your own mode. Write a .kbcode/modes/<name>.md file with your own instructions and tool permissions. Pin a model to it so switching modes also switches the AI. kbcode hot-loads it — no restart needed.