techlist.io

Browser Automation

4 posts

OpenAI2026-11-012 min readCurated summary

LifeVal

OpenAI introduces LifeVal, an evaluation for measuring how well AI models handle everyday practical tasks, such as finding childcare, accessing government services, or planning meals. The authors argue that a useful personal assistant must do more than give advice: it has to take actions that get things done. They built LifeVal from national time-use data and a new survey, and they used it to track model improvement on everyday tasks over the past year. ## Identifying the Tasks That Matter - The task list starts from the American Time Use Survey and the Multinational Time Use Study, which catalog daily activities across demographics, times of day, and seasons. - OpenAI ran a new demographically representative survey of 3,995 respondents to find where people most want a personal assistant's help. - The resulting tasks cover caregiving, health, education, household administration, personal finances, shopping, and accessing government services. ## Example Workflows - **School enrollment:** After a move, the model compares nearby kindergartens, shortlists three, and organizes enrollment details, then asks the user to settle two open preferences. - **Community flood preparation:** The model produces an action plan for volunteers to assess sites and prepare for severe weather. - **Home search:** Given budget, layout, and commute constraints, the model finds a matching home, calculates the transfer tax, and places the deed in a cart for review. - **Remote game viewing:** The model sets up a remote watch session with a backup stream in case the first one fails. - **Diabetes meal planning:** The model drafts a first-week care and meal plan with reminders and questions for the care team, for review before sharing with the parent. ## Capabilities Behind the Results - Over the past year, models were trained to be faster, more capable, and more aligned on browser use, computer use, and connector tasks. - These capabilities expand the range of tasks ChatGPT can handle, moving it from a chat tool toward an agentic personal assistant. ## Why This Measurement Matters - Academic knowledge benchmarks don't show whether AI can help people make decisions, manage responsibilities, and complete real tasks. - OpenAI presents LifeVal as a step toward measuring progress on what matters in everyday life, which it considers part of ensuring AGI benefits all of humanity.

Cloudflare2026-08-063 min readCurated summary

Introducing Kitesurf: The agent-first browser that runs in V8 isolates on Cloudflare Workers

Cloudflare argues that AI agents need a browser optimized for machine tasks rather than human browsing. Chromium provides far more functionality than agents require while consuming too much memory and compute, limiting accessibility and scalability. The company therefore built Kitesurf, a lightweight browser running entirely on Workers and designed for agentic workloads. ## Why Cloudflare Built a New Browser - Cloudflare had repeatedly considered building a browser but previously found the technical investment difficult to justify. - Recent advances in its Developer Platform changed the equation: - Mature WebAssembly support in Workers - Dynamic workers - SQLite-based Durable Objects - Worker-to-worker RPC and service bindings - Improved Node.js compatibility and higher platform limits - Growing demand for AI browser automation exposed Chromium’s limitations: - High CPU and memory consumption - Expensive dedicated browser instances - Poor scalability for large numbers of agents ## Designing for Agents Instead of Humans - Agents prioritize: - Low token counts - Large context windows - Scalability and performance - Low operating costs - Structured, machine-readable content - They do not need many human-oriented features, such as: - Tabs, themes, extensions, and device synchronization - Pixel-perfect rendering - Smooth 60-frame-per-second scrolling - AI browser security requires a different threat model, with prompt injection and tool safety treated as central concerns. - Kitesurf became the result: a browser available in beta through Cloudflare’s Browser Run product. ## From Prototype to Product - The project began with inspiration from Obscura, a lightweight Rust headless engine for AI automation. - Cloudflare used an AI agent to attempt a port to Workers. - The first prototype was weak, but a detailed plan and explicit success criteria allowed the agent to iterate effectively. - The promising proof of concept led the team to develop Kitesurf further. ## Testing as a Foundation - Cloudflare relied heavily on automated testing to accelerate development without sacrificing quality. - Web Platform Tests (WPT) provided standards-based criteria for implementing browser features. - Engineers curated feature assignments and sequencing so AI agents could work toward measurable goals. - Because WPT does not fully capture real-world website behavior, Cloudflare added: - Multistep Puppeteer integration tests - Comparisons against Chromium - Visual regression checks at every interaction step - This combination tested both standards conformance and practical rendering behavior. ## Rust and WebAssembly - Kitesurf uses Rust wherever possible and compiles directly to WebAssembly with `wasm-bindgen`. - This avoids the bulk and performance costs associated with Emscripten’s emulation layers and mocked dependencies. - The approach allows browser components to run closer to native performance inside Workers. ## Resilience Through Exception Handling - Since browsers must process unreliable and potentially hostile web content, failures must not terminate entire sessions. - Kitesurf follows a strict rule: - Errors degrade to a blank frame or missing element - Faults are caught at component boundaries - Safe empty defaults are used - Diagnostic information is logged - This makes individual rendering failures survivable rather than allowing malformed input to crash the browser. ## Isolation and Statelessness - Every page load is treated as untrusted input. - Sessions begin fresh, and components receive only the resources they require. - Workers provide isolation boundaries, but Kitesurf also enforces isolation within the application itself to prevent data leakage between pages. - Components are kept stateless wherever possible: - Failed components can simply be recreated - Work can be scaled horizontally and run in parallel - Burst-based workloads avoid the cost of maintaining idle instances - Recovery can consist of restarting a component and replaying a request Kitesurf’s central recommendation is to build browsers around the needs of their users—in this case, AI agents. By sacrificing human-focused features and emphasizing efficiency, structured output, isolation, resilience, and scale, Cloudflare aims to make browser automation practical for a much broader range of agentic applications.

Cloudflare2026-04-153 min readCurated summary

Browser Run: give your agents a browser

Cloudflare is renaming Browser Rendering to Browser Run and positioning it as a full browser platform for AI agents. It provides remotely hosted Chrome sessions that agents can control, observe, debug, record, and scale globally, while allowing humans to intervene when necessary. The update expands access through CDP and MCP, making existing automation tools and AI coding assistants compatible with Cloudflare’s browser infrastructure. ## Browser Run for AI Agents - Agents can navigate websites, read content, fill out forms, extract data, take screenshots, and verify results. - Browser sessions run on Cloudflare’s global network, reducing infrastructure and browser-maintenance requirements. - Sessions can scale dynamically and open near users for lower latency. - The platform now supports up to 120 concurrent browsers, up from 30. ## Observability and Human Intervention - **Live View** shows an agent’s browser session in real time, making it easier to confirm success or diagnose failures. - **Human in the Loop** allows agents to transfer control when they encounter login screens or unusual edge cases. - A human can resolve the issue and return control to the agent. - **Session Recordings** capture DOM changes, interactions, and navigation for debugging and postmortem analysis. ## Browser Control Options Browser Run supports several levels of automation: - Low-level control through the Chrome DevTools Protocol (CDP). - Higher-level automation with Puppeteer and Playwright. - Quick Actions for simpler tasks. - WebMCP for websites that expose agent-discoverable actions. ### Chrome DevTools Protocol - Browser Run now exposes CDP directly through a WebSocket endpoint. - Existing CDP-based frameworks, scripts, and agent tools can connect with minimal changes. - CDP provides capabilities beyond Puppeteer and Playwright, including JavaScript debugging. - Raw protocol messages can be sent directly to models, potentially reducing token usage. - Developers can connect from any language or environment without creating a Cloudflare Worker. - Self-hosted Chrome scripts can be migrated by changing the browser WebSocket URL and adding Cloudflare authentication headers. ### MCP Client Support - MCP clients such as Claude Desktop, Cursor, Codex, and OpenCode can use Browser Run as a remote browser. - Cloudflare supports the `chrome-devtools-mcp` package, which provides browser automation, debugging, and performance-analysis capabilities. - Configuration requires pointing the MCP server to Browser Run’s CDP endpoint and supplying an API token. ### WebMCP - WebMCP is intended to make websites more reliable for AI agents. - Websites can declare actions that agents can discover and call directly. - This addresses the limitations of a web originally designed primarily for human navigation. ## Overall Direction Cloudflare’s update combines hosted browser infrastructure, multiple automation interfaces, real-time visibility, replayable sessions, and human fallback. The goal is to make browser-based agents more dependable in production while avoiding the operational burden of managing Chrome infrastructure themselves. For teams building web-using agents, Browser Run offers a practical path from self-hosted or local browser automation to scalable, observable remote sessions, especially when existing CDP, Puppeteer, Playwright, or MCP tooling is already in use.

Anthropic2025-11-264 min readCurated summary

Effective harnesses for long-running agents

# Anthropic's Approach to Long-Running Agents Across Context Windows Long-running agents struggle because each new session starts with no memory of prior work, and compaction alone does not keep progress consistent across many context windows. Anthropic addresses this with a two-part harness: an initializer agent that sets up the environment on the first run, and a coding agent that makes incremental progress each session while leaving clean, documented artifacts for the next one. The approach was tested by building a claude.ai clone with the Claude Agent SDK, and it substantially reduced the failure modes that plague multi-session development. ## Why Long-Running Agents Fail - Compaction preserves some context, but it does not reliably pass clear instructions to the next agent. - Agents tend to try to do too much at once, often running out of context mid-implementation and leaving a feature half-built and undocumented. - Later agents may look at partial progress and declare the whole project finished too early. - Without a clean handoff, each new session must spend time guessing what happened and getting the basic app working again. ## The Two-Part Solution - **Initializer agent:** The first session uses a specialized prompt to create an `init.sh` script for starting the dev server, a `claude-progress.txt` log of agent activity, and an initial git commit showing the added files. - **Coding agent:** Every later session makes incremental progress on one feature, then leaves structured updates through git commits and progress notes. - The two agents differ only in their initial user prompt. The system prompt, tools, and harness are otherwise identical. ## Environment Scaffolding ### Feature List - The initializer expands the user's prompt into a comprehensive JSON feature list. The claude.ai clone example produced over 200 features, each with a category, description, verification steps, and a `passes` field. - All features start as failing, giving later agents a clear picture of full functionality. - Coding agents may only change the `passes` status. The prompt forbids removing or editing tests. - JSON was chosen over Markdown because the model is less likely to inappropriately overwrite it. ### Incremental Progress and Git - Coding agents work on one feature at a time, which curbs the tendency to one-shot the app. - Agents commit to git with descriptive messages and update the progress file, so bad changes can be reverted and working states recovered. - This removes the need for each new session to reconstruct what happened. ### Testing - Claude often marked features complete after unit tests or curl checks, without confirming they worked end-to-end. - Explicitly prompting it to use browser automation (Puppeteer MCP) and test as a human user would markedly improved results, exposing bugs not visible from the code alone. - Remaining limitations include weak vision and an inability to see browser-native alert modals, which made features relying on them buggier. ## Getting Up to Speed Each coding session starts with a consistent routine: - Run `pwd` to confirm the working directory. - Read the git log and progress file to see recent work. - Read the feature list and select the highest-priority unfinished feature. - Run `init.sh` to start the dev server and perform a basic end-to-end check, such as creating a chat and receiving a response. This catches any broken state left by the previous session before new work begins. ## Failure Modes and Mitigations - **Premature victory:** The initializer writes a feature list; the coding agent works on one feature and verifies it. - **Buggy or undocumented handoffs:** The initializer creates a git repo and progress notes; the coding agent reads them first and ends each session with a commit and update. - **Premature completion marks:** Agents self-verify every feature before marking it passing. - **Time spent figuring out how to run the app:** The initializer writes `init.sh`, which the coding agent runs at the start of each session. ## Open Questions and Future Work - It is unclear whether a single general-purpose coding agent performs best, or whether specialized agents for testing, QA, or code cleanup would do better. - The demo targets full-stack web development. Anthropic hopes to generalize these lessons to fields such as scientific research and financial modeling.