How Re-Authentication Works
When you save credentials, Kernel keeps your session authenticated automatically. Kernel runs periodic checks to detect expired sessions, and when logout is detected, re-auth happens automatically. When you create a browser with the profile, it’s already logged in. Initial login uses AI to discover the login page and identify form fields. This happens once per site—credentials are never passed to the LLM.
Re-authentication is fully deterministic. No AI, no guessing—just replaying the stored login flow.
Session monitoring runs periodic auth checks (default: every hour) to detect expired sessions. When logout is detected, re-auth happens automatically.
For sites with short session timeouts, configurable check intervals per auth agent are coming soon.
What authentication methods are supported?
Agent Auth supports username/password authentication and most SSO providers.What happens if login fails?
If a login attempt fails, Kernel will retry with exponential backoff. After multiple failures, the auth invocation will be marked as failed and you’ll receive an error. Common failure reasons include:- Invalid credentials
- Bot detection blocking the login page
- Site structure changes that break field detection
- Captcha that couldn’t be solved

