Skip to main content

Agent Browser Batch

@mgreten/agent-browser-batchv2026.05.21.2· 1d agoMODELS
01README

Dispatch agent-browser commands as a single subprocess via agent-browser batch --json so cookies and Chromium state persist across every step. Supports {{secret:NAME}} placeholders for credentials.

02Release Notes

Security fix: scrub literal secret values from echoed-back step command/result fields before persisting batchRun artifact

03Models1
@mgreten/agent-browser-batchv2026.05.21.2agent_browser_batch.ts
fn runBatch()
Dispatch a list of agent-browser commands as a single subprocess via `agent-browser batch --json` (stdin-piped JSON). Returns the typed per-step result envelope. The whole flow shares one daemon and one Chromium, so cookies + localStorage persist across every step — required for multi-step flows like login + nav + screenshot. Use `{{secret:NAME}}` placeholders for credentials and pass values via the sensitive `secrets` arg to keep them out of the persisted artifact.

Resources

batchRun(7d)— One agent-browser batch invocation: the command list, every per-step result, exit envelope, and pass/fail summary.
04Previous Versions1
2026.05.21.1May 21, 2026

Initial release: single-subprocess agent-browser batch dispatch with secret substitution

05Stats
A
100 / 100
Downloads
2
Archive size
9.9 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms