Content revision 4e771eaf0390cc87b6c7c6fd8469f3508f6ceeec7119472e6c1ccf17e2e1e5d2 ## The browser agent’s execution loop AI for IT Operations Source ID ai-it-operations:from-planning-to-a-browser-action Original https://www.henryw.me/#/ai-it-operations#from-planning-to-a-browser-action A FastAPI service manages browser tasks. LangGraph retains the request, page observations, action history, and human decisions as the planner moves between steps. Pausing for approval or manual input preserves the same task so it can resume afterwards. Playwright sends structured actions through a relay to the browser extension. The extension uses the Chrome DevTools Protocol to read and control the dedicated tab, then returns the resulting page state to the cloud agent. The operator’s machine needs the extension, with the automation service and reasoning hosted centrally. Request + current page Agent decision Browser action Read the resulting page, then decide what to do next 03 Reflections