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

nervx: CLI tool reduces Claude Code token usage by analyzing codebase structure
nervx is a pip-installable CLI tool that parses repositories with tree-sitter, builds a SQLite graph of functions and imports, and generates a NERVX.md structural map. It automatically adds instructions to CLAUDE.md that teach Claude to use nervx navigation, reducing grep searches by 65% and output tokens by 48% in testing.

WinRemote MCP: Open Source MCP Server for Full Control of Windows Desktops
WinRemote MCP provides AI agents with full control over Windows desktops, allowing for UI detection, file operations, registry access, and more, utilizing over 40 tools.

Patina: A Claude Code Skill That Detects and Rewrites AI Writing Patterns
A developer has created a Claude Code skill called patina that identifies 112 patterns that make AI-generated text obvious across four languages, then rewrites flagged sections. The tool includes modes for detection-only, scoring, and iterative rewriting.

OpenClawDreams: A Dream Simulator Extension for OpenClaw Agents
OpenClawDreams is an extension that adds a background reflection process and nightly dream cycle to OpenClaw agents. It captures encrypted conversation summaries to a local SQLite database, processes them during background cycles, and generates consolidated insights that get pushed into the agent's persistent memory.