In reinforcement learning, a policy is the rule or mapping that determines which action an agent takes in a given state. It may be deterministic or probabilistic and is central to the agent’s behavior.
In reinforcement learning, an agent's probabilistic mapping from states to actions.