Skip to content

Interactive Mode

Run anode with no subcommand when you want a real working session: chat, plans, diffs, approvals, provider switching, saved sessions, and change tracking in one place.

anode

The TUI starts on Chat. The composer keeps normal typing behavior; from any non-chat screen, or after tab focuses the chat content pane, press 1-9 to switch screens. ctrl+p opens the command palette, which also includes entries for each screen.

KeyScreenUse
1/2ChatMain conversation.
3PlanActive plan and execution state.
4DiffPending/proposed changes.
5TerminalShell event output.
6FilesWorkspace file view.
7ConnectionsProvider connection status.
8SettingsTheme, model, and profile controls.
9LogsRuntime logs.

Type these in the chat composer.

CommandUse
/helpShow available commands.
/statusShow screen, connection, theme, profile, model, web, tools, queue, and repo.
/clearClear chat transcript.
/themeToggle theme.
/modeOpen the mode panel (Craft, Quick, Study) with their resolved model and reasoning effort. /model and /config are aliases.
/mode <name>Switch directly to a built-in, custom, or alias profile name without opening the panel.
/subagentsOpen the subagent panel for Oracle, Review, and Find to pick their per-subagent model.
/effortCycle reasoning effort.
/approvalOpen the unified approvals panel (alias for /approvals).
/approvalsOpen the approvals panel; /approvals list and /approvals clear manage persistent allow rules.
/plan <task>Ask the agent to plan without editing.
/executeShow execution mode commands.
/execute fullStart full execution mode.
/execute mediumStart medium execution mode.
/execute statusShow execution status.
/execute validateRun validation for execution state.
/execute reviewShow execution review.
/execute stopStop execution mode.
/queue <message>Queue a follow-up while the agent is busy.
/steer <message>Add guidance at the next safe interruption point.
/cancelCancel the current run.
/tasksShow current task list.
/threadsSearch/read local thread history.
/harnessShow all-history harness runs, check/smoke/bench/replay reports, and TUI tool diagnostics.
/harness status [all|latest|current-head]Show all-history, latest-evidence, or current-commit harness status in the TUI.
/harness checkRun a tool-contract check against the current TUI registry and save a check artifact with environment provenance.
/harness smokeRun deterministic tool smoke coverage against the current TUI registry and save a smoke artifact with changed-file and environment summaries.
/harness bench [validation|heldout] [--case <id>]Dry-run all benchmark fixtures, one validation/held-out split, or a focused fixture and save the benchmark report.
/harness contextShow compact harness run and diagnostic artifact context.
/harness inspect <run-id>Show a compact run ledger summary in the TUI.
/harness replay <run-id>Show a non-executing replay plan with receipt safety labels.
/mcpShow MCP server status.
/connectOpen provider connection flow.
/disconnectDisconnect provider.
/handoff [goal]Start a fresh session with context.
/newStart a new session.
/sessionsBrowse saved sessions. Press d on a row to delete it (y/n confirm).
/resumeSame session browser as /sessions.
/changesShow Anode-tracked changes.
/changes summaryShow change summary.
/changes reviewShow summary and per-file risk notes.
/changes filesList tracked changed files.
/commit or /commit messageGenerate a commit message.
/commit prepareShow commit plan.
/commit confirmStage tracked files and create the commit.
/revertShow Anode-owned changes and whether they are revertible.
/revert allRevert all revertible Anode-owned changes.
/indexBuild or refresh repository index.
/repoShow repository map.
/memoryShow or manage project memory.
/contextShow context pack summary.

When a run cannot start because the active provider is invalid, the chat error keeps the /connect hint and includes the exact active-model failure, such as a missing active model, malformed provider/model value, missing provider, or removed model.

While Anode is working:

  • Type a normal message to queue it for after the active run.
  • Use /queue <message> to queue explicitly.
  • Use /steer <message> to guide the active run at a safe point.
  • Use /cancel to stop the active run.

Partial file changes remain in the workspace. Use /changes to inspect them. Harness receipts for TUI tool calls are written under .anode-harness/runs/ and can be inspected with anode harness inspect <run-id>.

/mode opens a modal that lists Craft, Quick, and Study with the resolved model and reasoning-effort dots for each one. Inside the panel:

KeyUse
/ Navigate modes.
EnterActivate the highlighted mode and close the panel.
MOpen an inline model picker scoped to the highlighted mode.
ECycle reasoning effort for the highlighted mode.
EscClose the panel.

/model and /config open the same panel. /mode <name> switches mode directly without opening it.

/subagents opens a similar panel for Oracle, Review, and Find. Use / to pick a subagent, Enter to open the inline model picker for that subagent, and Esc to close.

The inline model picker lists provider/model rows grouped by provider. Use / to pick, Enter to apply, and Esc to back out without changing the model.

TUI sessions start in auto approval mode.

ModeMeaning
askAsk before risky tool calls.
autoAuto-approve safe shell calls; still protect writes and destructive commands.
unrestrictedSkip confirmation. Use only in disposable workspaces.

Use /approval or ctrl+a to cycle approval mode. /approval and /approvals both open the unified approvals panel; pressing Enter in the panel switches the active approval mode and persists it as the new default.

For a one-shot Unrestricted session that does not change the saved default, launch with anode --yolo instead of opening the panel. See CLI reference for the flag and Security and privacy for the implications.

Use /effort or ctrl+e to cycle reasoning effort. Effort is clamped to the selected model’s capability range.

Picking a model, mode, effort, or approval mode from any panel or slash command writes the choice through to the on-disk config so the next session boots into the same state. The exception is --yolo, which only forces Unrestricted for the current session.

Anode records file changes made through its tools. The change ledger powers:

  • /changes
  • /commit
  • /revert

Files Anode created can be reverted. Edited files can be reverted when the change ledger captured the pre-edit content and the current file still matches Anode’s recorded after-state.

Sessions are saved locally by default.

{
"session": {
"autoSave": true,
"storePath": "~/.config/anode/sessions"
}
}

Use /sessions, /resume, and /threads for saved work. See Sessions and history.

KeyUse
ctrl+cQuit.
?Help.
ctrl+pCommand palette.
ctrl+aCycle approval mode.
ctrl+eCycle reasoning effort.
escClose/cancel UI state.
tab / shift+tabMove focus.
pgup / pgdnScroll chat while typing.
ctrl+up / ctrl+downScroll chat one line.
ctrl+home / ctrl+endJump chat top/bottom.
j / kScroll focused transcript.
ctrl+yCopy full transcript.
1 / 2Switch to Chat.
3 through 9Switch to Plan, Diff, Terminal, Files, Connections, Settings, or Logs.

Keep going: