| Definition | Gym environment for training agents in GUI interactions using mouse and keyboard. |
| No of environments | 3 |
The gym_screen_task library is a versatile OpenAI Gym environment designed for training agents to perform tasks within a graphical user interface (GUI), such as interacting with buttons, sliders, textfields, and navigating UI elements. It provides a variety of subtasks, including mouse and keyboard actions, such as clicking buttons, dragging sliders, typing, and more. The environment is equipped with both visual and textual observation spaces, including RGB pixel data of the screen and task descriptions. The action space includes mouse movements, keyboard presses, and mouse button actions, while additional features like semantic space (representing UI element classes) and screen-action-tracing enable deeper analysis. With a flexible setup, agents can be trained using reinforcement learning techniques to handle complex, real-world GUI interaction tasks.
This library extends the capabilities of sequential decision-making models, demonstrating its potential for agent-based UI interaction learning. The integration with the Video PreTraining (VPT) methodology, based on large-scale unlabeled video data (such as Minecraft gameplay), brings general behavioral priors to sequential decision domains. By fine-tuning these pretrained agents through imitation learning and reinforcement learning, the library can tackle hard-exploration tasks that were previously unmanageable through traditional methods. This makes gym_screen_task a powerful tool for developing agents capable of efficiently solving complex tasks like navigating software, interacting with various GUI elements, and performing intricate real-world operations.

