What profiles preserve
Profiles capture the browser’s user-data directory, including:- Cookies and authenticated sessions
- Local storage and other site data
- Open tabs and browsing state
- Browser preferences stored by Chromium
name must be unique within its project, but you can reuse the same name in another project.
How profiles work
Each browser loads a snapshot of the profile when you attach it. Changes made in that browser remain isolated unless you enablesave_changes. When the Kernel browser is deleted or times out, Kernel replaces the stored profile with that browser’s complete state.
1
Create a profile
Create a named profile once, or let Managed Auth create one for an authentication connection.
2
Attach it to a browser
Start a browser with the profile to load its saved state. Add
save_changes: true when you want changes from this browser to persist.3
Delete the browser to save
Deleting the Kernel browser persists its state when
save_changes is enabled. Closing only the Playwright or CDP connection doesn’t save it.4
Reuse the snapshot
Attach the profile to future browsers to continue with the saved state.
Combine profiles with authentication
Profiles, Managed Auth, and Vaults handle different parts of a durable authenticated workflow. Profiles preserve browser state. Managed Auth can create and refresh authentication within that state; an agent can use Vaults to sign in without receiving raw credential values.
For agent-managed logins, use a vault to complete sign-in and attach a profile with
save_changes: true. Later browser sessions can then reuse the resulting cookies and site data.
Use profiles concurrently
Choose a topology based on whether tasks need live shared state or isolated browser sessions:
Each browser session loads its own profile snapshot. Profiles don’t synchronize changes between running browsers:
- A running browser doesn’t receive changes saved by another browser.
- Only one browser can safely write to a profile at a time.
- Saving replaces the complete profile; it doesn’t merge state from multiple browsers.
- A profile configured directly on a browser pool is read-only.
Common agent patterns
Profiles support several agent architectures beyond authentication:- Resume a workflow — save state at the end of one run and load it into the next.
- Maintain an end-user identity — assign one profile to each user or account your application serves.
- Run concurrent tasks for one user — keep one browser for that user and open a tab for each task so they share live identity state.
- Seed parallel workers — let many browsers load the same baseline without writing it back.
- Reuse multi-site authentication — attach Managed Auth connections for several domains to one profile.
- Reduce bot challenges — pair stable profile state with a consistent proxy so a site sees a returning browser.
Next steps
Save and reuse state
Create, load, save, rename, and reuse a profile.
Sharing and concurrency
Safely use profiles with parallel browsers and pools.
Patterns for AI agents
Choose a profile model for workflows, users, and workers.