{
  "slug": "agent-browser-stream-encoding-accepts-quality-and-dimension-settings-c9c53deb4763",
  "title": "agent-browser stream encoding accepts quality and dimension settings",
  "tools": [
    "agent-browser"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-02T03:30:51.000Z",
  "announced_at": "2026-08-02T03:30:51.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When streaming frames and bandwidth is constrained, set the daemon’s JPEG quality and, if downscaling is needed, both maximum frame dimensions. These settings are read once at daemon startup; the dimensions cap encoded frames without resizing the page.",
    "examples": [
      "AGENT_BROWSER_STREAM_QUALITY=20 AGENT_BROWSER_STREAM_MAX_WIDTH=640 AGENT_BROWSER_STREAM_MAX_HEIGHT=360 agent-browser stream enable"
    ],
    "gotchas": [
      "Version: v0.33.2",
      "AGENT_BROWSER_STREAM_QUALITY: JPEG quality from 0 to 100; default 80. Lower values reduce bandwidth.",
      "AGENT_BROWSER_STREAM_MAX_WIDTH: Maximum encoded frame width in pixels; defaults to the viewport and does not resize the page.",
      "AGENT_BROWSER_STREAM_MAX_HEIGHT: Maximum encoded frame height in pixels; defaults to the viewport. Set both width and height to downscale a larger viewport.",
      "Prerequisite: Set encoding environment variables before daemon startup; encoding settings are daemon-wide and read once at startup.",
      "Prerequisite: Streaming is available through the agent-browser stream commands; the official guide documents `agent-browser stream enable`.",
      "Settings are read once per daemon.",
      "Width and height default to the session viewport; a larger viewport is not downscaled unless both are set."
    ]
  },
  "why_it_matters": "Reduce bandwidth while streaming browser frames without lowering the frame rate.",
  "before": "Frames used hardcoded JPEG quality 80 at the session viewport; frame rate was the only bandwidth lever.",
  "sources": [
    "https://github.com/vercel-labs/agent-browser/releases/tag/v0.33.2",
    "https://github.com/vercel-labs/agent-browser/blob/main/skill-data/core/references/streaming.md",
    "https://github.com/vercel-labs/agent-browser/blob/main/CHANGELOG.md"
  ],
  "rank": 0.96031,
  "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-7f31c084861e706e-1:gate",
    "evidence_hash": "424038b3e1c1c84ceba65603e0c769fba013fbc64483ff2591dcce818789dd40"
  },
  "review": {
    "draft_hash": "2c59fe1ebddaa9f5d2f28025a8b2a6c623a53c457108d4fdf14f2a73aaa81415",
    "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.96 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
