Skip to content

Wikipedia Summary (with Screenshot)

Goal: a stable no-login site for quick demos.

See also: Browser Automation (CDP).

Run (GUI mode)

1
2
3
export LOOPFORGE_BROWSER_HEADLESS=0

loopforge agent run --workspace . --prompt "Use browser tools to open https://en.wikipedia.org/wiki/Rust_(programming_language) . Read the page. Write a short summary to notes/wiki_rust.md. Save a screenshot to .loopforge/browser/wiki_rust.png. Close the browser."
1
2
3
$env:LOOPFORGE_BROWSER_HEADLESS = "0"

loopforge agent run --workspace . --prompt "Use browser tools to open https://en.wikipedia.org/wiki/Rust_(programming_language) . Read the page. Write a short summary to notes/wiki_rust.md. Save a screenshot to .loopforge/browser/wiki_rust.png. Close the browser."

What to expect

  • notes/wiki_rust.md
  • .loopforge/browser/wiki_rust.png