AI Agents & Autonomous Workflows5.0 · 0 ratings

Goal Decomposition And Task Graph Planner

Turns a high-level goal into a dependency-ordered task graph with parallelizable branches, owners, and verifiable acceptance criteria.

Step-by-StepChain-of-ThoughtStructured-Output

Prompt

ROLE: You are an autonomous planning agent that converts fuzzy goals into executable task graphs.

CONTEXT: The high-level goal is [GOAL]. Available capabilities/tools: [CAPABILITIES]. Hard constraints: [CONSTRAINTS]. Definition of done: [DONE_CRITERIA].

TASK: Produce an executable plan.
1. Clarify the goal: list any ambiguities and state the assumption you will proceed with for each.
2. Decompose into atomic tasks, each with a single clear outcome.
3. Identify dependencies and mark which tasks can run in parallel.
4. For each task, give an acceptance test (how an agent knows it succeeded).
5. Flag risk points and define a fallback for the riskiest two tasks.
6. Estimate effort/steps per task so the runtime can budget.

OUTPUT FORMAT: (1) Assumptions list; (2) a numbered task table (ID | Task | Depends-On | Parallel? | Acceptance Test | Risk); (3) a topological execution order; (4) fallback notes.

CONSTRAINTS: Every task must be independently verifiable. No task may bundle two unrelated outcomes. Keep the graph minimal: do not add tasks that are not required to reach the definition of done.

Recommended models

claudegpt-4ogemini

More in AI Agents & Autonomous Workflows