Actions are the choices the agent makes at each time step — the only mechanism it has for influencing the environment. The set of all possible actions is the action space, and its structure fundamentally shapes which algorithms can be used.
Finite set of distinct actions: up/down/left/right, legal chess moves, button presses. Simpler algorithmically — value-based methods compare expected value of each option and pick the best. Atari, board games, navigation.
Real-valued actions: torques, steering angles, throttle, joint velocities. Can't enumerate — must output a distribution or value directly. Policy gradient and actor-critic methods handle these naturally. Robotics, vehicle control, physical simulation.
Multi-dimensional actions — Many control tasks require a vector of simultaneous actions (23 robot joints, steering + throttle). Each dimension is applied together in one step.
Action masking — Remove invalid actions at each step (illegal chess moves, unavailable resources). Without masking, the agent must learn to avoid bad actions through experience — slower and less stable.
Granularity — Too coarse and the agent can't achieve fine control. Too fine and the space is overwhelming. Discretizing continuous actions (rounding to fixed increments) can simplify learning when high precision isn't required.
Ask the AI assistant about RL actions, discrete vs continuous action spaces, or what action masking is.