Planning Simulator
Master AI agent planning through interactive simulations and real-world scenarios
Your Progress
0 / 5 completedBuilding Plans Step-by-Step
Plan construction is decomposition in action. You break a large goal ("organize trip to Paris") into concrete, executable subtasks ("check flights", "book hotel", "reserve car"). Each subtask must be:
- Atomic - Single, well-defined action
- Sequenceable - Clear before/after ordering
- Testable - Can verify success or failure
- Resource-aware - Knows what it needs (API access, data, time)
Decomposition Strategies
Forward Chaining
Start from current state, build forward toward goal. "What can I do now?" then "What's next?"
Backward Chaining
Start from goal, work backward to current state. "What must happen before this?" repeatedly.
Hierarchical
Decompose top-level goal into subgoals, then each subgoal into tasks, recursively.
Interactive: Build a Travel Plan
Select tasks in the correct order to build a valid plan. Pay attention to dependencies!
Available Tasks
Your Plan (0 steps)
No steps added yet
Click tasks on the left to build your plan
Understanding Dependencies
Dependencies define execution order. Task B depends on Task A if B needs A's output or if A must complete before B can start. Violating dependencies causes failures.
✅Valid Dependencies
❌Common Mistakes
Plan Validation Checklist
✓ A Valid Plan Should Have:
- •All dependencies satisfied before execution
- •No circular dependencies (A needs B, B needs A)
- •Clear start and end states
- •Each task is atomic and executable
- •Resource requirements documented
⚠️ Warning Signs:
- •Vague tasks ("do something", "handle it")
- •Missing error handling or fallbacks
- •No consideration for parallelization
- •Tasks too large (should be decomposed further)
- •Ignoring state persistence across tasks