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

Paseo: Open-Source Interface for Claude Code, Codex, Copilot, OpenCode, and Pi Agents
Paseo is a self-hosted interface that runs Claude Code, Codex, Copilot, OpenCode, and Pi agents in parallel. It offers voice control, cross-device access, and a CLI. No telemetry, no forced login.

Nanocode: Training Claude-like coding agents with JAX on TPUs
Nanocode is a JAX library for training Claude-like coding agents end-to-end, using Constitutional AI and TPU optimization. The 1.3B parameter model can be trained in ~9 hours for $200 on TPU v6e-8.

MCP Server Indexes Codebases into Knowledge Graph for 10x Token Reduction
A new MCP server called codebase-memory-mcp parses codebases into a persistent knowledge graph using tree-sitter, reducing token usage by at least 10x for structural queries. Benchmarked across 35 real-world repositories, it replaces file-by-file exploration with graph queries.

Altimate Code: Open-Source Agentic Data Engineering Harness
Altimate Code is an open-source harness that provides deterministic data engineering tools for AI agents, addressing issues like hallucinated SQL and missing schema context. It includes column-level lineage, SQL anti-pattern detection, and dbt integration, with benchmarks showing 74.4% performance on ADE-bench.