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
Copy file name to clipboardExpand all lines: packages/docs/docs/usage/sub-agent-modes.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ MyCoder supports different modes for working with sub-agents, giving you flexibi
10
10
11
11
MyCoder supports three distinct sub-agent workflow modes:
12
12
13
-
### 1. Disabled Mode
13
+
### 1. Disabled Mode (Default)
14
14
15
15
In this mode, sub-agent functionality is completely disabled:
16
16
@@ -19,7 +19,7 @@ In this mode, sub-agent functionality is completely disabled:
19
19
- Useful for simpler tasks or when resource constraints are a concern
20
20
- Reduces memory usage and API costs for straightforward tasks
21
21
22
-
### 2. Synchronous Mode ("sync")
22
+
### 2. Synchronous Mode ("sync") - Experimental
23
23
24
24
In synchronous mode, the parent agent waits for sub-agents to complete before continuing:
25
25
@@ -29,7 +29,7 @@ In synchronous mode, the parent agent waits for sub-agents to complete before co
29
29
- Simpler to reason about as there's no parallel execution
30
30
- Good for tasks where later steps depend on the results of earlier steps
31
31
32
-
### 3. Asynchronous Mode ("async") - Default
32
+
### 3. Asynchronous Mode ("async") - Experimental
33
33
34
34
In asynchronous mode, sub-agents run in parallel with the parent agent:
35
35
@@ -47,9 +47,9 @@ You can set the sub-agent workflow mode in your `mycoder.config.js` file:
47
47
```javascript
48
48
// mycoder.config.js
49
49
exportdefault {
50
-
// Sub-agent workflow mode: 'disabled', 'sync', or 'async'
51
-
subAgentMode:'async', // Default value
52
-
50
+
// Sub-agent workflow mode: 'disabled', 'sync' (experimental), or 'async' (experimental)
51
+
subAgentMode:'disabled', // Default value
52
+
53
53
// Other configuration options...
54
54
};
55
55
```
@@ -105,7 +105,7 @@ Ideal for complex projects with independent components:
105
105
```javascript
106
106
// mycoder.config.js
107
107
exportdefault {
108
-
subAgentMode:'async', //This is the default
108
+
subAgentMode:'async', //Experimental
109
109
// Other settings...
110
110
};
111
111
```
@@ -116,4 +116,4 @@ export default {
116
116
- In **sync mode**, only the `agentExecute` and `agentDone` tools are available, ensuring synchronous execution.
117
117
- In **async mode**, the full suite of agent tools (`agentStart`, `agentMessage`, `listAgents`, and `agentDone`) is available, enabling parallel execution.
118
118
119
-
This implementation allows MyCoder to adapt to different task requirements while maintaining a consistent interface for users.
119
+
This implementation allows MyCoder to adapt to different task requirements while maintaining a consistent interface for users.
0 commit comments