SubPlanTask
Recursive planning and execution engine. Decomposes complex objectives into manageable sub-tasks using configurable cognitive strategies and isolated execution contexts.
Recursive
Context-Aware
Multi-Model Support
ExecutionConfig.json
JSON
{
"planning_goal": "Audit the security of the auth module and fix vulnerabilities.",
"context": [
"User reported slow login times",
"Recent dependency update in build.gradle"
]
}
→
Session UI (TabbedDisplay)
Live Render
Planning
Execution
Summary
# Sub-Planning Summary
Goal: Audit the security of the auth module...
- Identified 3 outdated dependencies.
- Applied patches to
SecurityConfig.kt. - Verified login latency reduction.
Full Results (4 items)
Workspace Explorer
View the recursive execution artifacts and generated plans within the SubPlanTask workspace.
Runtime Parameters (ExecutionConfig)
| Field | Type | Description |
|---|---|---|
planning_goal * |
String |
The high-level objective for the sub-planner to decompose and execute. |
context |
List<String> |
Supplemental information, logs, or constraints provided to the sub-planner. |
task_description |
String |
Alternative to planning_goal; used if the goal is not explicitly provided. |
task_dependencies |
List<String> |
List of task IDs that must complete before this sub-plan begins. |
Task Capabilities
The SubPlanTask is unique because it acts as a container. It inherits the capabilities of the TaskOrchestrator but can be restricted to specific sub-tasks via its Type Configuration.