-
Notifications
You must be signed in to change notification settings - Fork 0
feat: implement execution loop auto-selection based on task complexity #200
Copy link
Copy link
Closed
Labels
prio:mediumShould do, but not blockingShould do, but not blockingscope:smallLess than 1 day of workLess than 1 day of workspec:agent-systemDESIGN_SPEC Section 3 - Agent SystemDESIGN_SPEC Section 3 - Agent Systemspec:task-workflowDESIGN_SPEC Section 6 - Task & Workflow EngineDESIGN_SPEC Section 6 - Task & Workflow Enginetype:featureNew feature implementationNew feature implementation
Description
Summary
When execution_loop: "auto", the framework should select the loop based on estimated_complexity: simple → ReAct, medium → Plan-and-Execute, complex/epic → Hybrid. Not implemented.
Design Spec Reference
- §6.5 Agent Execution Loop — Auto-selection paragraph
Scope
- Auto-selection logic using task
estimated_complexity - Configurable
auto_loop_rulesmapping complexity thresholds to loop implementations - Integration with
AgentEngine
Dependencies
- Hybrid loop implementation (separate issue)
Research Context
Scaling Agent Systems (arXiv:2512.08296) — Auto-topology selector:
- 87% accuracy selecting topology from task properties (tools, decomposability, baseline)
- Three rules: 3-4 agent cap, capability ceiling at ~45% SAS baseline, task decomposability > team size
- Hybrid topology performs worst (515% overhead) — RETHINK §5.1 recommendation
Agentic RL Survey (arXiv:2509.02547) — Cost-aware compute allocation:
- Factor remaining budget + task complexity into loop selection
- Pattern: "Complex AND budget allows = Hybrid; complex BUT tight budget = Plan-Execute"
- Maps to auto-loop selector + BudgetEnforcer interaction
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
prio:mediumShould do, but not blockingShould do, but not blockingscope:smallLess than 1 day of workLess than 1 day of workspec:agent-systemDESIGN_SPEC Section 3 - Agent SystemDESIGN_SPEC Section 3 - Agent Systemspec:task-workflowDESIGN_SPEC Section 6 - Task & Workflow EngineDESIGN_SPEC Section 6 - Task & Workflow Enginetype:featureNew feature implementationNew feature implementation