Do not launch a new browser for every AgentQL script run. The Playwright integration can attach to an existing or remote browser - that keeps your logged-in state and cookies across runs and skips the startup cost. Fresh launches are for isolation; for iterative scraping against the same site, connect to the browser you already have open.

Context: AgentQL GitHub repo README: the examples include scripts for Use Remote Browser and Use Existing Browser alongside list-query usage - the Playwright integration can drive a browser session you already have instead of launching a fresh one every run.