PageAgent: Browser AI Agent That Runs Inside Web Pages with Ollama Support

What PageAgent Does
PageAgent is a browser AI agent framework that runs as a JavaScript library inside web pages themselves, unlike most frameworks like Playwright or Selenium that control the browser from outside.
Key Technical Details
The agent reads live DOM as text, eliminating the need for screenshots or vision models, which makes it faster and more token-efficient.
It works with any OpenAI-compatible endpoint, including Ollama. When paired with a local model, everything stays on your machine with no backend or cloud required—LLM calls go directly from the browser to localhost.
Code Example
const agent = new PageAgent({
model: 'qwen3.5:27b',
baseURL: 'http://localhost:11434/v1',
})
await agent.execute('Fill the expense report for last Friday')Additional Features
- Human-in-the-loop panel that lets you see the agent thinking and stop/correct it anytime
- Optional browser extension for multi-tab tasks
- MIT licensed
The project is available on GitHub at alibaba/page-agent.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Cowork AI Agent Causes Keyboard Input Issues on Windows Laptops
A user reported that Cowork AI agent caused persistent keyboard input problems on a Dell Latitude 9430, where only the first few keystrokes would register. The solution involved a specific embedded controller reset procedure for Latitude models.

Free MCP Lets Claude Analyze Google Search Console Data Automatically
A free MCP (Model Context Protocol) server lets Claude directly query Google Search Console data for any site you have access to. Ask about queries, pages, clicks, impressions, CTR, and position without manual CSV exports.

Memento Vault: Local Tool for Persistent Context in Claude Code Sessions
Memento Vault is a set of hooks that automatically captures session transcripts, scores them, and stores atomic notes in a local git repo. It provides zero-cost retrieval via BM25 + vector search with 472ms average latency and injects relevant context at session start, on every prompt, and on file reads.

Rivet Actors adds SQLite storage: one database per agent, tenant, or document
Rivet Actors now supports SQLite storage where each actor gets its own SQLite database, enabling millions of independent databases for AI agents, multi-tenant SaaS, collaborative documents, or per-user isolation.