{
  "slug": "agent-browser-annotated-screenshots-via-annotate-c714449ff34f",
  "title": "agent-browser annotated screenshots via --annotate",
  "tools": [
    "agent-browser"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-19T04:43:42.000Z",
  "announced_at": "2026-02-19T04:43:42.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When inspecting a page’s visual layout, run `agent-browser screenshot --annotate` to label interactive elements and print their refs; use the resulting `@eN` refs for subsequent interactions.",
    "examples": [
      "agent-browser screenshot --annotate <output.png>",
      "agent-browser click @e2",
      "AGENT_BROWSER_ANNOTATE=1 agent-browser screenshot <output.png>"
    ],
    "gotchas": [
      "Version: v0.12.0",
      "--annotate: Enables numbered labels on interactive elements and prints a legend mapping labels to refs.",
      "AGENT_BROWSER_ANNOTATE: Environment variable alternative for enabling annotated screenshots; the docs do not specify accepted values.",
      "@eN: Ref corresponding to numbered screenshot label [N]; usable for subsequent interactions."
    ]
  },
  "why_it_matters": "Inspect a page’s visual layout and identify interactive elements by their annotated references.",
  "sources": [
    "https://github.com/vercel-labs/agent-browser/releases/tag/v0.12.0",
    "https://github.com/vercel-labs/agent-browser/blob/main/docs/src/app/changelog/page.mdx",
    "https://github.com/vercel-labs/agent-browser/blob/main/docs/src/app/snapshots/page.mdx"
  ],
  "rank": 0.97041,
  "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-5f8a9f7932089e94-0:gate",
    "evidence_hash": "63faa4dfd8e6cb4fe205734669c81fa9421fe3faeabcb7e6fca36c256a5d2fe4"
  },
  "review": {
    "draft_hash": "498f0a48fb5af1d9c5686dec3b7e6918f74ef18daf27b01c261d81c37994e72f",
    "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.97 >= 0.9; 2 needed) and Jev gave 0.80 (>= 0.6 needed)."
  }
}
