The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(browser): cover logins across scheduled and unattended runs
DavidMetcalfe3e833fd56f95
diff --git a/website/docs/user-guide/features/browser.md b/website/docs/user-guide/features/browser.mdindex 0285b9a81bf..2506a74ba37 100644--- a/website/docs/user-guide/features/browser.md+++ b/website/docs/user-guide/features/browser.md@@ -257,6 +257,39 @@ to fully quit the browser — it won't loop or kill again on its own.Browser Profile** (the switch sits above the backend options), or inSettings → Config under the `browser` section.+#### Scheduled and unattended runs++A real-profile session lets a `cronjob` drive a site you're already signed into.+The snapshot runs headless by default, and the auth files (`Cookies`,+`Login Data`, …) are re-synced from your real profile on every fresh session —+an already-open session is reused as-is, so the sync happens when a new one is+launched. Without saved vault credentials, an expired session on that site+surfaces as a login page that the unattended tick reports rather than hanging on.++Three things to set up before scheduling one:++- **Turn the toggle on.** `browser.use_real_profile` defaults to `false`, and+ without it the job gets a clean, unauthenticated profile — see above.+- **Give the job the browser toolset:**+ `cronjob(action="create", enabled_toolsets=["browser", ...], ...)` — a per-job+ list wins over the cron-platform config+ ([details](./cron.md#toolsets-available-to-cron-jobs)).+- **Assume nothing can be prompted for.** A cron, webhook, API or+ `hermes chat -q` session has nobody to answer a prompt, so a site that is not+ usable on the synced cookies alone — a login form, a fresh 2FA challenge —+ needs its credentials saved ahead of time, authenticator key included. That is+ the [credential vault's](./credential-vault.md#headless-sessions) job, and it+ is what carries a run after your own session has expired.++**Windows prerequisite:** the browser has to be fully quit before a snapshot can+be taken at all, so a scheduled tick needs it closed beforehand — Hermes never+closes it without asking you first (see the note above).++The bundled `product-price-monitor` skill is a worked example of the recurring+shape — a JSON watch contract written during setup, then one scheduled tick that+re-reads it, compares, and alerts on change — though it covers the scheduling+half, not logins.+### Camofox local mode[Camofox](https://github.com/jo-inc/camofox-browser) is a self-hosted Node.js server wrapping Camoufox (a Firefox fork with C++ fingerprint spoofing). It provides local anti-detection browsing without cloud dependencies.diff --git a/website/docs/user-guide/features/cron.md b/website/docs/user-guide/features/cron.mdindex 5b9ae17fd73..2b89483b16f 100644--- a/website/docs/user-guide/features/cron.md+++ b/website/docs/user-guide/features/cron.md@@ -1114,6 +1114,8 @@ cronjob(action="create", name="weekly-news-summary",When `enabled_toolsets` is set on a job it wins; otherwise the `hermes tools` cron-platform config wins; otherwise Hermes falls back to the built-in defaults. If the cron-platform toolset config cannot be read at all (for example a malformed `platform_toolsets` block in `config.yaml`), the run fails with a recorded error instead of quietly running with every tool — check `hermes cron list` / `hermes cron doctor`. This matters for cost control: carrying `browser`, `delegation` into every tiny "fetch news" job bloats the tool-schema prompt on every LLM call.+If the job drives a site you're logged into, the login has to be in place before the run — a scheduled tick has nobody to answer a prompt. [Scheduled and unattended runs](./browser.md#scheduled-and-unattended-runs) covers that setup.+### Skipping the agent entirely: `wakeAgent`If your cron job attaches a pre-check script (via `script=`), the script can decide at runtime whether Hermes should even invoke the agent. Emit a final stdout line of the form: