Skip to content

Dual Mode

CarryCodevides two working modes: Build mode and Plan mode. Understanding the differences can help you use AI more efficiently.


ModeIconFunctionUse Cases
Build🔨Read/write files, execute commandsLet AI write/modify code
Plan📋Read-only analysisLet AI analyze problems, plan solutions

Build mode is the default mode in Carry Code. In this mode, AI can:

  • 📖 Read files - View project code
  • ✏️ Write files - Create and modify code
  • ▶️ Execute commands - Run scripts, install dependencies, etc.
  • 🔧 Use tools - Call various built-in tools
ScenarioExample
Write new codeHelp me write a user login API
Fix bugsHow to solve this error?
Refactor codeHelp me optimize this code
Execute operationsRun npm install

AI will ask for confirmation before executing dangerous operations:

  • Modifying files
  • Executing shell commands
  • Delete operations

In Plan mode, AI can only read and analyze and cannot modify anything.

  • ❌ Cannot write files
  • ❌ Cannot execute commands
  • ✅ Can read files
  • ✅ Can analyze code
  • ✅ Can provide suggestions
ScenarioExample
Code reviewWhat are the issues with this code?
Solution designDesign a user system architecture
Learning analysisAnalyze the time complexity of this algorithm
Explain codeWhat does this code do?

Press Shift + Tab to switch between the two modes.

You can also switch using commands:

/mode build # Switch to Build mode
/mode plan # Switch to Plan mode

The current mode is displayed at the top of the interface:

🔨 Build Mode | Model: DeepSeek Chat

  • Need AI to write code for you
  • Need AI to modify existing code
  • Need AI to execute commands to complete tasks
  • Just want to understand code structure
  • Need AI to analyze problems without modifications
  • Learning new technologies, want AI to explain
  • Code review
  1. Plan then Build: First have AI analyze the problem, then switch to Build mode to execute
  2. Safety first: Use Plan mode for uncertain operations first

Dual modes can work with approval modes for finer-grained control:

Approval ModeBuild ModePlan Mode
read-only❌ Restricted✅ Read-only
agent✅ Executable✅ Read-only
agent-full✅ Full access✅ Read-only