Repository navigation
Releases
Releases · mayank-urnextdoor/und-agentic-browser
v0.1.0: first public release
First public release. Not yet published to npm; installable from GitHub (npm install github:mayank-urnextdoor/und-agentic-browser).
Engines and routing
- Engine router: starts on the cheapest available engine and escalates when a page looks unrendered, needs a capability the engine lacks, or the engine fails. Every decision is explained (
--explain,page.lastDecision). - Engines:
lite(undici + linkedom, no JavaScript),obscuraandlightpanda(managed processes over CDP, used as a read tier in auto mode),cdp(any CDP endpoint) andchromium(playwright-core). - Managed engine pool: warm process reuse, per-session browser contexts, idle teardown, crash recovery, process-tree kill, honest User-Agent, and no stealth flags or variables passed through.
- Per-route router memory (host plus first path segment) with a 6-hour retry and exponential back-off, capped at 7 days.
- Lightpanda support is built from its documented CLI and tested with a fake binary only.
Snapshots
- Accessibility-style snapshots with refs that survive engine switches, in
full,viewport,interactiveanddiffmodes, with token budgets that keep interactive elements. - One in-page agent for every engine, run in a CDP isolated world in Chromium.
- Markdown, links and text extraction; hidden text dropped; password, OTP and card values redacted; untrusted-content envelope with a random id.
Safety layer
- SSRF protection with DNS pinning for launched Chromium (a local pinning proxy) and connect-time checks in
lite; scheme denylist. - Task scope (read / write origin sets) enforced at the network layer; taint / exfiltration guard; Rule of Two; origin-bound secret vault; default sensitive-action gate that fails closed.
- Hash-chained JSONL audit log, HMAC-keyed with
UND_AUDIT_KEY;und audit verifyandund audit head. - Red-team corpus of 20 prompt-injection pages, and a test suite that runs a worst-case scripted agent through them in three policy profiles.
Interfaces
undCLI:fetch,scrape(robots.txt, per-host rate limits,Retry-After),engines,doctor,mcp,serve,live,record,replay,audit,identity. Documented exit codes (0 ok, 1 error, 2 usage, 3 blocked, 4 HTTP error); JSON, text and PDF responses (bounded PDF text extraction); terminal output stripped of control characters.- Library: stable root entry point plus
und-agentic-browser/advancedfor building blocks; ESM and CommonJS; typed errors (PolicyViolationError,NetworkError,ActionError,EvaluationError, ...);approveWithin()confirm handler for unattended runs of known flows (und replay --approve-origin). - MCP server (
und mcp) over stdio and Streamable HTTP, with 22 default tools and 3 optional ones, Playwright MCP-compatible names, and human confirmation through elicitation, the live view or single-use confirm tokens. und serve: a CDP endpoint for Puppeteer and Playwright with a token, a deny-by-default CDP filter, a fresh Chromium per connection and a policy proxy for all web traffic.- Live view: a loopback page to watch the agent, approve actions and take over the page (hand-off) for CAPTCHAs, MFA or logins. Links are single-use.
- Record and replay: portable JSON flows, self-healing replay without an LLM, export to Playwright Test.
- Honest identity: product token in the User-Agent, optional Web Bot Auth signing (RFC 9421, Ed25519), robots.txt (RFC 9309).
- Docker image running
und serveas a non-root user with a health check.
Project
- Offline benchmark (30 scenarios) and red-team check with committed results in
bench/results/. - CI on Linux, macOS and Windows with Node 22 and 24, packaging test, bench correctness gate, Docker smoke test, CodeQL, Dependabot.
Verified for this release
- CI green on Ubuntu, macOS and Windows with Node 22 and 24; Docker image build and smoke test; npm pack/install test; CodeQL.
- Bench (synthetic localhost corpus): 30/30 content checks at about half the total tokens of Chromium aria-ai snapshots; red-team 20/20 with no unlabelled injection.
- Two independent adversarial security reviews before release; every finding fixed with a regression test.
Install (prebuilt, attached below): npm install https://github.com/mayank-urnextdoor/und-agentic-browser/releases/download/v0.1.0/und-agentic-browser-0.1.0.tgz (SHA-256 in the .sha256 asset). From source: npm install github:mayank-urnextdoor/und-agentic-browser or clone and npm ci && npm run build. See the README for MCP, library, CLI and und serve quick starts.