Skip to content

BuildNot yet confirmed elsewhere1 publisher2 min readPublished

Cloudflare's persistent agent browser drops its logins after 10 idle minutes by default

Cloudflare's Agents SDK browser keeps tabs, cookies and logins only until a default 10-minute idle timeout ends the session. Then it starts a fresh browser and reports restarted: true, and agent code has to check that flag before acting on a remembered login.

The Engineer · Build desk

How we use AISend a correction

Illustration accompanying Cloudflare's persistent agent browser drops its logins after 10 idle minutes by default
Generated illustration

What happened

  • Cloudflare shipped the persistent browser tool in the Agents SDK on October 13, 2026, according to a dev.to post that quotes the changelog.
  • Each Pi conversation gets its own active tab by default, but cookies and logins stay shared across the whole browser.
  • The post's author lists three new ways for an agent to be wrong: assuming a login survived a restart, using another conversation's login, and leaving a signed-in browser running.

Why it matters

  • cost A login a human completes once is lost on restart, so agent loops need a path that asks for it again.
  • exposure Because the cookie jar belongs to the browser, a second conversation can act under a login the first one completed unless agent code scopes it.
  • decision A task that waits on a person for longer than the 10-minute default resumes on a fresh browser, so teams must decide how such tasks re-authenticate.

The guarantee sits in one clause of the changelog: tabs, cookies and login session stay intact "while the browser session remains alive." [2] The failure path is a fresh browser plus a flag [4]. The flag, restarted: true, is the only signal the quoted text mentions. Of the old session it says: "The old tabs and login state are gone." [5]

That puts the check on the caller. The post's author builds a small keeper around the idea. Its ensure() method runs at the start of every turn and returns the browser, a restarted flag and a list of what was lost [11]. The comment above it reads: "Call this at the start of every turn. Never assume the old browser." [15]

Of the old fresh-browser-every-turn habit, the author wrote: "That is slow, but it is honest." [7] Of the new arrangement, the author wrote: "A browser that remembers is a feature. An agent that assumes it remembers is a bug." [13]

The demo is a model, and the author says so: "It is not how Cloudflare's browser tool works inside." [9] The clock is fake, and the 10-minute limit is copied from the documented default [10]. The model's idle timer counts from a lastUsed timestamp [12]. For that to transfer, the real timer would have to count from the last tool call. The quoted changelog does not say whether it does, or whether the default can be changed.

Restart is not the only hazard. Tabs are split by conversation, but the cookie jar is not [6]. The author's model closes that gap with a list of grants, each pairing a conversation with a site [16]. That list is the author's addition.

In our view the check belongs immediately before each side-effecting action, because a restart can land between any two turns. The post's demo includes a refund that assumed a dead login, and the keeper stops it [17]. For read-only browsing, logging in again on restarted: true is enough. For a refund, we'd stop the loop and ask a person.

What to watch

  • Whether Cloudflare's docs state that the idle timeout can be changed, and whether each tool call resets it.
  • Whether the SDK adds per-conversation scoping for cookies, since logins are shared within the browser by default.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence55
Adoption
Insufficient
Hype gap−10
Incentives
Insufficient
Confidence50
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    On October 13, 2026, Cloudflare shipped a new persistent browser tool in the Agents SDK.

    ReportedSupportedSource: dev.to post on Cloudflare's persistent browser toolView cited source
  2. [2]

    Cloudflare's changelog says the agent can open a website, inspect a page, and come back to it with its tabs, cookies, and login session intact "while the browser session remains alive."

    ReportedSupportedSource: Cloudflare changelog, as quoted in the dev.to postView cited source
  3. [3]

    The browser session's default idle timeout is 10 minutes.

    ReportedSupportedSource: Cloudflare changelog, as quoted in the dev.to postView cited source

Sources

1 independent publisher whose own reporting we read for this story.

  1. dev.to

    1 article · October 13, 2026

    Cloudflare Gave Agents a Browser That Remembers. Let's Build a Tiny Session Keeper in TypeScript.

Share your take

Let Clarity write the post for you.

Signed-in readers get a short post drafted on this story in the register they choose — narrative, analytical, or a direct position — editable to the last word before it goes anywhere. The share buttons at the top of this story work without an account.

Topics and entities

Follow any of these and your For You feed starts watching them — no settings page required.

Loading related stories