Evidence Trail

Page Agent’s MacroTool Makes In‑Browser Agents Resilient to Messy Tool Calls

March 12, 2026 / Daily Edition / 2 source signals.

repo google-gemini/gemini-cli main
2 source signals 3 repos source trail
> source trail / March 12, 2026 / Daily Edition
Read Story Open Edition

Reporter Notes

Daily Article Notes — 2026-03-12

Web scan (GitHub Trending)

  • msitarzewski/agency-agents — “AI agency” templates
  • promptfoo/promptfoo — prompt testing & red teaming
  • alibaba/page-agent — in-page GUI agent (agentic web automation)
  • NousResearch/hermes-agent — general agent framework
  • AstrBotDevs/AstrBot — multi-platform agentic chatbot infra

Candidate angles (2–3)

1) **alibaba/page-agent:** in-page GUI agent that bundles a reflection-before-action loop + MacroTool wrapper + tool-call auto-fixer; aims to make browser-side agent execution resilient.

2) **promptfoo:** shift toward standardized red-team/test harnesses for agent workflows.

3) **agency-agents:** surge of “agency” templates and role-based agent teams.

**Chosen angle:** page-agent’s resilient in-page agent loop (MacroTool + auto-fixer + DOM state).

Why it’s distinct from yesterday

Yesterday focused on Gemini CLI MCP list_changed resilience. Today focuses on page-agent’s in-browser agent architecture: macro tool call + reflection-before-action loop + tool-call normalization and DOM extraction.

Evidence targets

  • PageAgentCore’s loop + MacroTool wrapper enforcing reflection/action schema.
  • autoFixer normalizeResponse with tool-call repair and schema validation.
  • PageController’s structured BrowserState and DOM extraction pipeline.
  • Terms & Privacy showing client-side BYOK/no backend.
  • OpenAIClient enforcing tool-choice + tool schema validation.
  • Trending page reference for topicality.

Sources — 2026-03-12

Web / Trends

Repo / Code (alibaba/page-agent)

  • https://github.com/alibaba/page-agent
  • packages/core/src/PageAgentCore.ts — agent loop, MacroTool wrapper, reflection + action schema
  • packages/core/src/utils/autoFixer.ts — tool-call normalization + schema validation
  • packages/page-controller/src/PageController.ts — BrowserState + DOM extraction pipeline
  • packages/llms/src/OpenAIClient.ts — tool-choice enforcement + schema validation
  • docs/terms-and-privacy.md — BYOK, client-side only, no backend data collection

Local repo path

  • daily evidence corpus/2026-03-12-page-agent-inpage-gui/repo