You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -136,10 +137,12 @@ Additional security features include:
136
137
137
138
Forge offers several built-in commands to enhance your interaction:
138
139
139
-
-`\new` - Start a new task when you've completed your current one
140
-
-`\info` - View environment summary, logs folder location, and command history
141
-
-`\models` - List all available AI models with capabilities and context limits
142
-
-`\dump` - Save the current conversation in JSON format to a file for reference
140
+
-`/new` - Start a new task when you've completed your current one
141
+
-`/info` - View environment summary, logs folder location, and command history
142
+
-`/models` - List all available AI models with capabilities and context limits
143
+
-`/dump` - Save the current conversation in JSON format to a file for reference
144
+
-`/act` - Switch to ACT mode (default), allowing Forge to execute commands and implement changes
145
+
-`/plan` - Switch to PLAN mode, where Forge analyzes and plans but doesn't modify files
143
146
144
147
### Autocomplete
145
148
@@ -161,6 +164,44 @@ Stay in control of your shell environment with intuitive command handling:
161
164
-**Cancel with `CTRL+C`:** Gracefully interrupt ongoing operations, providing the flexibility to halt processes that no longer need execution.
162
165
-**Exit with `CTRL+D`:** Easily exit the shell session without hassle, ensuring you can quickly terminate your operations when needed.
163
166
167
+
### Operation Modes
168
+
169
+
Forge operates in two distinct modes to provide flexible assistance based on your needs:
170
+
171
+
#### ACT Mode (Default)
172
+
173
+
In ACT mode, which is the default when you start Forge, the assistant is empowered to directly implement changes to your codebase and execute commands:
174
+
175
+
-**Full Execution**: Forge can modify files, create new ones, and execute shell commands
176
+
-**Implementation**: Directly implements the solutions it proposes
177
+
-**Verification**: Performs verification steps to ensure changes work as intended
178
+
-**Best For**: When you want Forge to handle implementation details and fix issues directly
179
+
180
+
**Example**:
181
+
182
+
```bash
183
+
# Switch to ACT mode within a Forge session
184
+
/act
185
+
```
186
+
187
+
#### PLAN Mode
188
+
189
+
In PLAN mode, Forge analyzes and plans but doesn't modify your codebase:
190
+
191
+
-**Read-Only Operations**: Can only read files and run non-destructive commands
192
+
-**Detailed Analysis**: Thoroughly examines code, identifies issues, and proposes solutions
193
+
-**Structured Planning**: Provides step-by-step action plans for implementing changes
194
+
-**Best For**: When you want to understand what changes are needed before implementing them yourself
195
+
196
+
**Example**:
197
+
198
+
```bash
199
+
# Switch to PLAN mode within a Forge session
200
+
/plan
201
+
```
202
+
203
+
You can easily switch between modes during a session using the `/act` and `/plan` commands. PLAN mode is especially useful for reviewing potential changes before they're implemented, while ACT mode streamlines the development process by handling implementation details for you.
204
+
164
205
## Custom Workflows and Multi-Agent Systems
165
206
166
207
For complex tasks, a single agent may not be sufficient. Forge allows you to create custom workflows with multiple specialized agents working together to accomplish sophisticated tasks.
0 commit comments