这份文档真正覆盖什么
模式文档解释的是 DeepSeek TUI 里不同的交互风格,以及为什么模式选择会改变提示词流、工具使用和审查方式。
怎么用这页
- 先看右侧目录,直接跳到你当前最关心的小节。
- 如果你只是来解决具体问题,优先读正文里的相关标题,再回站内对应 hub。
- 如果你要核对原始来源,可以直接打开 GitHub 原文链接。
模式文档解释的是 DeepSeek TUI 里不同的交互风格,以及为什么模式选择会改变提示词流、工具使用和审查方式。
模式文档解释的是 DeepSeek TUI 里不同的交互风格,以及为什么模式选择会改变提示词流、工具使用和审查方式。
DeepSeek TUI has two related concepts:
Press Tab to complete composer menus, queue a draft as a next-turn follow-up while a turn is running, or cycle through the visible modes when the composer is otherwise idle: Plan → Agent → YOLO → Plan. Press Shift+Tab to cycle reasoning effort.
All three modes have access to the rlm tool. Inside its Python REPL, llm_query_batched fans out 1–16 cheap parallel child calls pinned to deepseek-v4-flash. The model reaches for it when work is decomposable.
/normal is a hidden compatibility alias that switches to Agent.default_mode = "normal" still load as agent; saving rewrites the normalized value.Esc is a cancel stack, not a mode switch.
You can override approval behavior at runtime:
/config
# edit the approval_mode row to: suggest | auto | never
Legacy note: /set approval_mode ... was retired in favor of /config.
suggest (default): uses the per-mode rules above.auto: auto-approves all tools (similar to YOLO approval behavior, but without forcing YOLO mode).never: blocks any tool that isn't considered safe/read-only.When terminal height is constrained, the status area compacts first so header/chat/composer/footer remain visible:
/queue workflows remain available; compact status only affects rendering density.By default, file tools are restricted to the --workspace directory. Enable trust mode to allow file access outside the workspace:
/trust
YOLO mode enables trust mode automatically.
MCP tools are exposed as mcp_<server>_<tool> and use the same approval flow as built-in tools. Read-only MCP helpers may auto-run in suggestive approval modes; MCP tools with possible side effects require approval.
See MCP.md.
Run deepseek --help for the canonical list. Common flags:
-p, --prompt <TEXT>: one-shot prompt mode (prints and exits)--model <MODEL>: when using the deepseek facade, forward a DeepSeek model override to the TUI--workspace <DIR>: workspace root for file tools--yolo: start in YOLO mode-r, --resume <ID|PREFIX|latest>: resume a saved session-c, --continue: resume the most recent session in this workspace--max-subagents <N>: clamp to 1..=20--no-alt-screen: run inline without the alternate screen buffer--mouse-capture / --no-mouse-capture: opt in or out of internal mouse scrolling, transcript selection, and right-click context actions. Mouse capture is enabled by default on non-Windows terminals so drag selection copies only user/assistant transcript text; hold Shift while dragging or use --no-mouse-capture for raw terminal selection. On Windows it defaults off to avoid CMD/terminal mouse escape sequences being inserted into the prompt; use --mouse-capture to opt in.--profile <NAME>: select config profile--config <PATH>: config file path-v, --verbose: verbose logging