Package com.tnsai.autoteam
Class TaskDecomposer
java.lang.Object
com.tnsai.autoteam.TaskDecomposer
Uses LLM to decompose a natural-language task into agent roles and capabilities.
TaskDecomposer is the first step in the AutoTeamBuilder pipeline. It analyzes
a task description and produces a TeamPlan specifying what agents are needed,
their roles, capabilities, and inter-agent dependencies.
Process
- Construct a structured prompt with the task and available tools
- Call LLM to analyze the task and propose a team structure
- Parse the JSON response into a
TeamPlan
- Since:
- 0.3.0
- See Also:
-
Method Summary
-
Method Details
-
decompose
Decomposes a task description into a team plan.- Parameters:
taskDescription- the natural-language task to decompose- Returns:
- a team plan with agent configurations and dependencies
-