{
  "slug": "agent-browser-adds-persisted-browser-sessions-and-click-new-tab-option-9c5cf308b3cf",
  "title": "agent-browser adds persisted browser sessions and click new-tab option",
  "tools": [
    "agent-browser"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-13T20:09:37.000Z",
  "announced_at": "2026-02-13T20:09:37.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When resuming work across browser restarts, use `--session-name` to persist cookies and localStorage; set an encryption key to encrypt saved state. When a click should open its link in a separate tab, add `--new-tab`.",
    "examples": [
      "agent-browser --session-name <name> open <url>",
      "agent-browser click <selector> --new-tab",
      "agent-browser state list\nagent-browser state show <file>\nagent-browser state rename <old-name> <new-name>\nagent-browser state clear <name>\nagent-browser state clean --older-than <days>"
    ],
    "gotchas": [
      "Version: v0.10.0",
      "--session-name <name>: Name for automatic saved-state persistence. Current docs mark this as legacy; they document `--restore` with a stable `--session` for automatic persistence.",
      "AGENT_BROWSER_ENCRYPTION_KEY: 64-character hexadecimal key; when set, encrypts saved state with AES-256-GCM. Generate with `openssl rand -hex 32`.",
      "click <selector> --new-tab: `<selector>` identifies the element to click; `--new-tab` opens the link in a new tab.",
      "state show <file> (required): File to show a saved-state summary for.",
      "state rename <old-name> <new-name> (required): Existing state name and replacement name.",
      "state clear <name>: Session name whose saved states to clear; `--all` clears all saved states.",
      "state clean --older-than <days> (required): Delete saved states older than the specified number of days.",
      "Docs conflict: The current sessions documentation describes `--session-name` as legacy and recommends `--restore` with a stable `--session` for persistence; this differs from the v0.10.0 release note."
    ]
  },
  "why_it_matters": "When resuming browser work across restarts or opening a clicked link in a separate tab, preserve session state or open the link in a new tab.",
  "sources": [
    "https://github.com/vercel-labs/agent-browser/releases/tag/v0.10.0",
    "https://github.com/vercel-labs/agent-browser/blob/main/CHANGELOG.md",
    "https://github.com/vercel-labs/agent-browser/blob/main/docs/src/app/sessions/page.mdx"
  ],
  "rank": 0.98058,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-8c6f801bc258b3c7-0:gate",
    "evidence_hash": "d23b2377d386bcf93913b013831369972186a71dad89f8a1f867d1fca18c1847"
  },
  "review": {
    "draft_hash": "b9bec87422539f34a93c609d3709e6b09373dff7763d900285b32e924ce97a03",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.81 (>= 0.6 needed)."
  }
}
