Skip to main content

Overview

Each ARC-AGI game has its own set of available actions. Before interacting with a game, you can check which actions are supported using the action_space property.

Listing Actions for a Game

Once you’ve created an environment, use action_space to see what actions are available:

Understanding Action Information

Each action in the list is a GameAction object. You can inspect its properties:
Complex actions (like ACTION6) require additional data such as x,y coordinates when called.

Actions Update Each Step

The available actions can change as you play. After each step, check action_space for the current set of valid actions:

Using Actions in Your Agent

Below is a an example of picking a random action from those available:

Next Steps