# Package com.google.adk.planner.goap

package com.google.adk.planner.goap

- Related Packages
  Package
  Description
  com.google.adk.planner
  com.google.adk.planner.p2p
- Class
  Description
  AgentMetadata
  Declares what state keys an agent reads (inputs) and writes (output).
  AStarSearchStrategy
  A* forward search strategy that explores from preconditions toward the goal, activating agents whose inputs are all satisfied.
  DependencyGraphSearch
  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).
  DfsSearchStrategy
  Backward-chaining DFS search strategy with parallel grouping.
  GoalOrientedPlanner
  A planner that resolves agent execution order based on input/output dependencies and a target goal (output key).
  GoalOrientedSearchGraph
  Transforms `AgentMetadata` into 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 it
  ReplanPolicy
  Policy governing how the planner reacts to missing expected outputs after an agent group executes.
  ReplanPolicy.FailStop
  Stop immediately on failure with an error message.
  ReplanPolicy.Ignore
  Ignore failures and proceed with the remaining plan as-is.
  ReplanPolicy.Replan
  Attempt to recompute the remaining plan from current world state.
  SearchStrategy
  Strategy for searching a dependency graph to find ordered agent execution groups.