# PS5 DevLoop [![stars](https://img.shields.io/github/stars/griches/PS5_DevLoop?style=flat)](https://github.com/griches/PS5_DevLoop/stargazers) [![licence](https://img.shields.io/badge/licence-GPL--3.0-blue)](LICENSE) **Let an AI agent, or a script, drive a jailbroken PS5 by itself: press buttons, see the screen, repeat.** Porting homebrew to the PS5 has had a gap in the middle of every loop. A machine can build a title, deploy it, launch it and read its log, but it cannot press Cross on the menu, and it cannot see that the screen is black. So a person sits with a controller, and every long task stops to wait for them. DevLoop closes that gap. It is one small payload that stays resident on the console, and one Python client: - **Input**: a system-wide virtual DualSense. The home screen and every title see a real controller. - **Sight**: the running title's own frame in about a second, or a screenshot of the whole screen, system UI included, in about three. Both arrive as a small PNG an agent can read, and neither leaves anything on the console. With those two, an agent can launch a port, walk its menus, notice what is wrong, change the code, and try again, with nobody at the pad. ```bash tools/ps5loop.py load # once per console boot tools/ps5loop.py open # connect the virtual controller tools/ps5loop.py seq l1 wait:1000 cross wait:14000 # Games tab, launch tools/ps5loop.py grab # the title's frame -> captures/shot-