Updated November 10, 2026
In 2026, browser agents work behind the login: Chrome's auto browse can already use a password manager to finish a task that needs a sign-in. The reports, dashboards, portals and admin panels an agent is asked to work on all sit behind one.
That puts a new job on the infrastructure: keeping an agent signed in between runs. The answer is to sign in once, save the browser's state and load it into every new session. On Solari that saved state is a profile, and a session that attaches it opens already signed in. This guide covers why agents lose their logins, what an agent can do once it stays signed in, the three calls that set it up and how Solari handles the sites that ask again.
Why Do AI Agents Lose Their Logins?
An agent loses its login because every new browser session starts empty. After the password form, a site hands the browser a token, usually in cookies and sometimes in localStorage, and the browser sends it back on each request until it expires. A cloud browser throws all of that away when the session ends.
The old fix was to have the agent sign in on every run. That works until a site sends a multi-factor authentication code to a phone nobody is watching, shows a captcha, or locks the account after too many fresh sign-ins.
The better fix keeps the state, not the password. OWASP's session management guidance treats a signed-in session ID as equal to the strongest sign-in method the site uses, so the saved token gives the agent the same access without repeating the sign-in. Playwright already defines a format for that saved state, and Solari builds on it.
What Can an Agent Do With a Persistent Login?
A persistent login turns any task behind a sign-in into a scheduled job. These are the jobs teams hand to signed-in agents first:
Pull reports from portals. The agent opens a supplier, billing or analytics portal, downloads last week's report and files it. Nobody has to sign in before the run, so the job runs on a schedule.
Post and schedule content. The agent signs in to a design or social tool once, then queues posts on every later run. Pinetree Health, Solari's sister company, runs its Canva scheduling agent this way in production.
Work inside the tools you pay for. The agent uses dashboards and data tools that have no API, from a seller account to an internal admin panel. It sees exactly what a signed-in person sees.
Act for many accounts at once. One profile per customer lets a fleet of agents work across hundreds of logins without mixing them. Each session loads only the profile it is given.
Keep records current. The agent checks an inbox, a CRM or a support queue every morning and updates what changed. The login holds between runs, so the job never stops at a sign-in page.
How Do You Set Up a Persistent Login on Solari?
Setting up a persistent login takes three calls: create a profile, fill it, attach it. The first call creates an empty Solari profile and returns its id:
To fill it, open the profile in the Solari console under Profiles, then Open editor, sign in through the live browser and hit Save. That is the easy way through sites that send a code or show a captcha. If a Playwright script already writes a working storageState.json, upload it instead:
Then attach the profile, and the session starts signed in:
One rule decides whether the login reaches your agent. A profile can only be applied when a browser context is created, so it seeds exactly one: the session's default context. Work through session.context or session.newPage() from the launch() wrapper, not browser.contexts()[0], which is not guaranteed to be the seeded one. A context you create yourself starts clean, so apply session.storageState to it at creation if it needs the login.
What Role Does Solari Play?
Solari runs cloud browsers, sandboxes and desktops from one API. The agent brings the logic; Solari keeps it signed in and runs it at the scale you need.
Logins you already have. Profiles use Playwright's standard storageState, cookies plus localStorage per origin, so a login captured by a local script moves in as is. Your agent signs in once, and every later session reopens the same cookies.
Sign-ins that renew themselves. Connect a read-only 1Password service account and turn on auto-login: when a session reaches a login page, Solari fills in the username, the password and the one-time code. Your agent never sees the credential, and a session that already carries a profile goes straight through.
A person when the site needs one. When a site asks for an SMS code or a passkey, Solari hands the session to a person with a link and a plain reason. To refresh a profile,
profiles.editreturns a link to the profile editor, and your code saves the change once the person signs in again.Sites that judge the browser too. Some sites check the browser as well as the cookie. Turn on stealth for those, add a proxy and let Solari solve any captcha that still appears.
A whole account list in one pass. Solari browsers are ready in 8 ms, and with Solari you can launch up to 100,000 browser sessions at once. Your agents work every account on a list at the same time, each in its own signed-in session.
Treat every profile like a password. Anyone with your API key can attach a profile and act as that account, so use a separate key per environment. Session recording captures input values by default, so keep it off for any session that signs in by typing; auto-login pauses the recording while it fills the form.
Browsers are only part of the job. Solari sandboxes run the code that parses the reports an agent downloads, and Solari desktops operate the apps that only run on a screen, all on one account and one bill.
What Do Persistent Logins Cost?
Profiles come with every plan rather than as a separate fee, and the browser rate falls as the plan grows.

A session with a profile attached bills like any other browser session, so a saved login adds nothing to the rate. A fleet signing in to hundreds of customer accounts needs a plan with a larger profile count.
Where Are Signed-In Agents Going Next?
Today most signed-in agents handle one site and one account at a time. Over the next year that changes in four ways:
Agents sign in without a person. Password managers set up for machines will hand an agent a sign-in when it needs one, and a person steps in only for codes a machine cannot read.
Sites tell agents apart. Sites will separate the agents their customers sent from the bots they block, and a signed-in agent with a clean history will get through more often.
Logins become part of the setup. Teams will keep profiles next to the code that uses them, one per environment and per account, and rotate them like keys.
Agents use any app. Models with computer use already operate software through a screen, so signed-in agents will move from browsers into full desktops.
What stays human is consent: which accounts an agent may use, what it may do under someone's name, and the sign-ins a machine should never finish alone.
Get Started With Solari
Start with one profile for the account your agent signs in to most often: sign in through the console editor and attach it to the next session. Solari is the fastest and cheapest way to run cloud browsers and VMs for signed-in agents. Get started with a free account and start running your agents today.
