Browser agents get more reliable when login is handled first

can fail often when they have to log in by themselves. Login forms, , captchas, and unusual sign-in warnings each create a point where the run can stop. A more stable setup is to log in once in a normal browser, then give the agent the from that browser.

The agent then starts already signed in and can focus on the actual task. This avoids putting passwords in the prompt and removes login handling from the model’s work. The tradeoff is that cookies expire, so there needs to be a refresh path.

The cookie jar also needs to be protected like a password, because it can give access to the account.

Key points

  • Login forms, , captchas, and sign-in warnings can break runs.
  • Logging in manually first lets the agent begin from an already signed-in session.
  • can remove the need to put passwords in the prompt.
  • Skipping login can reduce retries, token use, and wasted runs.
  • Cookies expire and must be stored with password-level care.
Read original