Package com.google.adk.planner.goap
package com.google.adk.planner.goap
-
ClassDescriptionDeclares what state keys an agent reads (inputs) and writes (output).A* forward search strategy that explores from preconditions toward the goal, activating agents whose inputs are all satisfied.Performs a topological search on the dependency graph to find the ordered list of agents that must execute to produce a goal output, given a set of initial preconditions (state keys already available).Backward-chaining DFS search strategy with parallel grouping.A planner that resolves agent execution order based on input/output dependencies and a target goal (output key).Transforms
AgentMetadatainto a dependency graph where: Each output key maps to the agent that produces it Each output key maps to the input keys (dependencies) required to produce itPolicy governing how the planner reacts to missing expected outputs after an agent group executes.Stop immediately on failure with an error message.Ignore failures and proceed with the remaining plan as-is.Attempt to recompute the remaining plan from current world state.Strategy for searching a dependency graph to find ordered agent execution groups.