Open-source tool auto-clicks through vibe-coded apps to test them
Someone building apps through (letting AI write the code quickly) noticed testing every screen and edge case took far more time than building features or doing marketing. Trying Claude Code to automate this testing proved too slow, and it moved through the app mechanically without tracking what screens it had already visited or what actions it had taken.
To fix this, a fully tool called selfloop was built, with a packaged, no-setup version also available for download. The core design uses a single 'brain' that makes one decision per turn, powered by for the visual analysis step because it's much faster while still being intelligent enough to match Claude.
Each turn, this brain analyzes where it has been, picks the next action, and logs its reasoning, the action taken, and its location to a file that guides the next turn. The output every turn is covering things like which screen it's on and whether the previous action matched what was expected.
Key points
- Built to solve the problem that testing screens and edge cases in takes longer than building features
- Claude Code was tried for test automation first but was too slow and didn't track prior screens or actions
- Solution is selfloop, a 100% tool on GitHub, with a packaged no-setup version also available
- Uses for the visual analysis step since it's fast yet smart enough, under a 'one brain, one decision per turn' design
- Logs current screen and whether the previous action matched expectations as each turn to inform the next