What Session Management Actually Covers
"Session" and "profile" are often used interchangeably, but they describe different things. A session is a browser running right now, with open tabs, a loaded page, and data in memory. A profile is what survives after that browser closes — typically cookies and local storage. An agent returning to the same account tomorrow needs a profile. An agent waiting twenty minutes for a human sign-off needs a session that stays open. Most production agents need both.
Four capabilities define whether a session management layer is production-ready:
- Lifecycle — Start browsers when work arrives, keep them open as long as the task requires, and close them before idle time accumulates cost.
- Persistence — Save login state so the next run starts already signed in, without one run overwriting what another saved.
- Concurrency — Run many sessions in parallel without accounts, cookies, or files mixing between them.
- Oversight — Provide a live view for human takeover when something goes wrong, and retain recordings and logs so failures can be traced afterward.
1. Anchor Browser
Anchor Browser gives you precise control over each part of a session’s lifecycle, starting with how it ends. It uses two separate timers. The idle timeout closes a session after a period with no active connections, counting from when the last connection drops. It defaults to five minutes, and setting it to -1 disables it entirely. The max duration is a hard cap on total runtime regardless of activity. It defaults to twenty minutes but has no upper limit, so a browser can wait an hour for a human approval while a genuinely stuck task still cannot run indefinitely.
Saved state works at more than one level. A session can load a saved profile, or you can attach identities so it starts already authenticated. Files are handled separately through volumes — team-owned folders that outlive any single session. You mount a volume into a session, anything the browser downloads lands there, and you can upload files beforehand or read results through the API afterward. Multiple sessions can mount the same volume simultaneously, either read-write or read-only. One agent can download a batch of invoices and another can pick them up in its next session without any extra file-transfer step.
Monitoring is on by default. Sessions open headful with recording enabled, and every session comes with a live view URL you can embed or share. Console and network logs are captured with query values, cookies, and credential headers stripped. For large jobs, a single batch request creates many sessions with one shared configuration and returns a batch ID you can poll for progress.
Best fit: Teams running production agents that need fine-grained lifecycle control, shared file state, and built-in observability from day one.
2. Hyperbrowser
Hyperbrowser builds its session model around profiles. A profile is a saved snapshot of the browser’s user data: cookies, local and session storage, and cache. A session without a profile starts with a clean, isolated directory. Profiles can be listed, retrieved, deleted, and forked — a fork creates a separate copy that leaves the original untouched. Forking is useful when ten agents need the same starting login state and none of them should modify the source.
Saving is opt-in by design, which protects against accidental overwrites. The persistChanges setting is off by default, making the profile read-only during a session. You enable it explicitly when you want changes saved for later. One operational note: close the session properly and allow a few seconds for the save to complete before the process exits.
Best fit: Workflows where many agents branch from a common authenticated starting point and profile integrity matters.
3. Airtop
Airtop’s profile model is designed around a human logging in first. A profile is a saved archive of what a browsing session produced, intended for cases where a user signs in through a Live View and you want agents to reuse that authenticated state going forward. A customer signs in once inside your application, and from that point your agent works from that session.
The same approach handles two-factor authentication. Airtop preserves the authenticated state after someone signs in through a Live Browser View and completes a 2FA challenge themselves. Live views can be embedded directly in your own application. The platform is described as supporting up to 100 parallel sessions, each with a recording available for review.
Best fit: Products where end users authenticate manually and agents then operate on their behalf.
4. Notte
Notte handles profiles, credentials, and replays through a single session configuration object. A session can load a browser profile and, with persistence enabled, save its state back when it closes. It also supports a credential vault and Web Bot Auth request signing. The vault is particularly relevant for agent security: it sits between the LLM and the browser using placeholder credentials, so the model never sees the real secrets.
Debugging is well covered. Requesting a session’s replay returns a presigned link to an MP4 recording of the run. From the CLI you can list, start, and stop sessions, read and set cookies, view network logs, and export a session’s steps as Python code — a useful capability when you need to reproduce or audit a specific run.
Best fit: Teams that prioritize credential security and need strong debugging and replay capabilities.
5. Skyvern
Skyvern’s session rules are clearly defined. A session lasts between 5 and 240 minutes, defaulting to 60, and can be extended to a total of 6 hours from when it started. Runs sharing the same session ID share one browser, with the same cookies and the same page state. An important billing note: you are charged while a session is open even when it is idle, so closing sessions in a finally block is not optional.
For state that needs to persist longer, Skyvern uses profiles. Profiles last until you delete them and cost nothing to store. A session started from a profile writes its state back when it closes. When a human needs to intervene, they can click "Take control" in the session stream to sign in, dismiss popups, or solve captchas, then return control to the agent.
Best fit: Workflows that combine long-running automation with planned human-in-the-loop checkpoints.
6. Amazon Bedrock AgentCore Browser
AgentCore is deliberately conservative about saved state. Profile data is only saved when you explicitly call the save operation — you must save before ending a session. Sessions running from the same profile simultaneously remain independent of each other, and an updated profile only applies to sessions started after the save completes. A running agent never has its state changed underneath it mid-run.
AWS teams get access controls they already know. Because profiles can hold authentication cookies, access is restricted through IAM policies. Expired cookies are cleared automatically based on the expiry times set by websites.
Best fit: Enterprise teams already operating within the AWS ecosystem who need IAM-governed access to browser profiles.
7. TinyFish
TinyFish focuses on keeping a saved login working reliably over time. You open a setup session for a profile, connect your own Playwright, Puppeteer, or CDP client, sign in, and save. Recovery is where it distinguishes itself: if you enable the vault alongside the profile, TinyFish re-authenticates using the stored credential when a saved session expires and repairs the profile for future runs — without manual intervention.
It also accepts state you already have. An upload endpoint takes exported cookies along with local and session storage, so you do not need to open a setup browser at all. Each upload is limited to 5 MB, and each profile to 100 domains.
Best fit: Agents that need to maintain long-lived logins on sites where session cookies expire frequently.
8. Oxylabs Agent Browser
Oxylabs keeps live sessions and saved state clearly separated. With keep_alive set and a session name provided, the browser stays running in the cloud for up to 10 minutes after you disconnect, and a named session can persist for up to 24 hours. Persistent profiles store cookies and localStorage, and a profile unused for 14 days expires automatically.
The documentation includes a practically useful note about logins: on sites with strict bot monitoring, Oxylabs suggests pinning a profile to one residential exit IP, because a different IP can cause the site to reject otherwise valid cookies. That is the kind of operational detail that only surfaces after production failures.
Best fit: Agents operating on sites with aggressive bot detection where IP consistency is a factor in session stability.
9. H Company
H Company’s Agents API runs managed computer-use agents in cloud browsers. Its profile handling is built for running many agents concurrently. A named profile is read-only by default unless persistence is enabled, and only one session can hold the write lock at a time. Other sessions still start but can only read. That lock prevents a common and silent failure mode where two agents overwrite each other’s login state.
You can also upload an existing profile: build a dedicated Chromium profile, zip it, upload it, and complete the upload within a day. The practical limitation is that logins in read-only profiles can expire over time, because nothing the session changes gets saved back.
Best fit: High-concurrency agent deployments where preventing profile corruption across parallel runs is the primary concern.
How to Test a Session Setup Before Production
Feature pages rarely reveal where a session setup breaks. A week of deliberate testing will. Take one real logged-in workflow and run these checks before committing to a platform:
- Persistence check — Run the task, close the browser, and start it again the next morning. Does it open signed in, or on a login page?
- Concurrency check — Start five sessions from the same profile simultaneously. When they finish, did any of them overwrite each other’s cookies?
- Wait check — Pause a task for 30 minutes, simulating a human approval delay. Is the session still open, and is the page where you left it?
- Hard limit check — Let a session hang intentionally. Does a maximum duration shut it down, and what were you charged for the idle time?
- Failure check — Break a run halfway through. Can you identify from the recording and logs exactly which step failed and why?
These five tests surface the majority of production problems before they cost you.
What is the difference between a browser session and a browser profile?
A session is a browser running right now, with open tabs, the current page, and data in memory. It is gone once the browser closes. A profile is saved data — typically cookies and local storage — that a new session loads so it starts already signed in. If an agent waits partway through a task, it needs a session that stays open. If it returns to the same account across multiple days, it needs a profile that saves reliably.
Why do AI agents lose their logins between runs?
It usually comes down to one of three causes: the profile was not saved before the session closed, another session overwrote it, or the site’s cookies expired. A change in IP address or browser fingerprint can also cause a site to reject cookies it would otherwise accept. Saving at the end of every run, allowing only one session to write to a profile at a time, and keeping network settings consistent will prevent most lost logins.
How should I choose between these tools?
Start with your failure modes, not your feature wishlist. If your agents wait on humans, prioritize configurable session timeouts. If many agents share login state, prioritize write-lock mechanisms. If logins expire frequently, prioritize automatic re-authentication. If you need to audit failures, prioritize recording and log quality. Most teams discover their actual requirements only after their first production incident.
If your use case expands into a Multi-Agent Workflow, these tradeoffs matter even more.
Comments (0) No comments yet
Want to join this discussion? Login or Register.
No comments yet. Be the first to share your thoughts!