Learning objectives
- Explain the observe-decide-act-result loop that browser-agent frameworks use to operate a UI.
- Compare text/DOM-based grounding (no screenshots) against vision-based agent approaches.
- Evaluate the build-vs-buy tradeoff between a custom in-page agent and frameworks like Stagehand, browser-use, or Nanobrowser.
- Identify where a human-in-the-loop guardrail belongs when an agent can take destructive actions.
- Run the same command through a rule-based parser and a real on-device model, and explain concretely why one succeeds where the other fails.