Expand description
A Goal Oriented Action Planning (GOAP) library for Rust.
This library provides a framework for AI agents to plan sequences of actions to achieve desired goals. GOAP is useful for game AI, robotics, and other applications where an agent needs to reason about actions and their effects.
§Core Concepts
- State: Represents the current state of the world using typed variables
- Goals: Define desired world states that the agent wants to achieve
- Actions: Operations that can change the world state, with preconditions and effects
- Planner: Uses A* search to find optimal sequences of actions to achieve goals
Modules§
- actions
- Actions module - defines actions that can be performed to change state
- goals
- Goals module - defines goals that agents want to achieve
- planner
- Planner module - implements A* search for finding action sequences
- prelude
- Prelude module - convenient imports for common use cases Convenient imports for common GOAP usage patterns.
- state
- State module - represents world state using typed variables