A reproducible computer-use agent loop: screenshot, think, act with xdotool

NielsRogge · x · 2026-11-04

NielsRogge shares a complete computer-use agent loop: screenshots via a sandbox file API, the model returns <think> reasoning + Action + tool calls, xdotool executes clicks/typing with bash in the same box, then repeats. A Gradio UI streams the screen, reasoning, and a red dot marking each click. Model and demo available via Transformers.

Original post →

More from coding & agent

coding & agent channel →