# NousResearch/hermes-agent · Browser sandbox env var naming bug and fixes

## Open now

- Nothing open on GitHub.

A bug was identified where browser_tool.py set the wrong environment variable (AGENT_BROWSER_CHROME_FLAGS instead of AGENT_BROWSER_ARGS) for passing sandbox bypass flags, causing headless/sandboxed environments to fail. Multiple fix attempts address this variable naming mismatch.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 0 merged PR(s), 4 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.40`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #23496: \[Bug\]: Headless VM fails to use browser: tools/browser_tool.py writes AGENT_BROWSER_CHROME_FLAGS but agent-browser reads AGENT_BROWSER_ARGS  --sandbox-bypass injection is a no-op

## Prior & competing PRs

- **#23532: fix(browser): use AGENT_BROWSER_ARGS instead of AGENT_BROWSER_CHROME_FLAGS**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#23517: fix(browser): pass sandbox flags via AGENT_BROWSER_ARGS**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `8ed2ef6f46e9642acfba57b4b8da893a574ecfd0`, `4695d2716f60da89152bdc9dfa7d96e54ea7c22e`, `#23496`
- **#24198: fix(browser): use AGENT_BROWSER_ARGS instead of AGENT_BROWSER_CHROME_FLAGS**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#21659`, `#20014`, `#23496`, `#23532`
- **#26028: fix(browser): rename AGENT_BROWSER_CHROME_FLAGS to AGENT_BROWSER_ARGS**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
