ParallelMode
High-throughput orchestration that expands variables into task combinations and executes them concurrently.
Core Architecture
Concurrent
Batch Engine
⚙️ ParallelPlan.json
{
"variables": {
"file": "src/**/*.kt",
"action": ["Review", "Document"]
},
"template": "Perform {{action}} on {{file}}",
"concurrency": 4,
"mode": "CrossJoin"
}
→
🚀 Tabbed Execution UI
Running 12 tasks (Concurrency: 4)
Main.kt,Review
Util.kt,Review
Main.kt,Doc...
+9 more
[Task: Main.kt,Review] Executing CodingTask...
Analyzing src/Main.kt for architectural patterns...
ParallelPlan Parameters
The ParallelMode uses an LLM-driven parser to extract these parameters from user prompts.
| Field | Type | Description |
|---|---|---|
variables |
Map<String, Any> | Keys are template placeholders. Values can be lists or Glob patterns (e.g., *.kt). |
template |
String | The task request string using {{variable}} syntax. |
concurrency |
Int | Maximum number of simultaneous tasks. Defaults to 4. |
mode |
Enum | Determines how variables are combined: CrossJoin or Zip. |