Hill-Climbing Skills: Improve Agents Without Changing the Model

Shubhankar Srivastava, Browserbase51:53 · Oct 2026 · 7,129 views
Thumbnail for Hill-Climbing Skills: Improve Agents Without Changing the Model Watch on YouTube
TL;DR
  1. 1

    Browser agents can improve across runs by storing lessons in a strategy file instead of changing model weights.

  2. 2

    An AutoBrowse loop pairs a doer that operates the browser with a teacher that studies traces, screenshots, results, and failures.

  3. 3

    The method depends on replayable environments, measurable outcomes, and controls that limit what generated skills and browser agents can do.

Summary

Shubhankar Srivastava presents AutoBrowse, a loop for improving browser agents without fine-tuning the underlying model. A doer agent completes a task, while a teacher reviews screenshots, accessibility snapshots, logs, and outcomes. The teacher adds lessons to a strategy file, which the next run receives. In a Google Flights example, the loop learns to encode the search in a URL instead of repeatedly clicking the calendar and time controls. The resulting skill can be reused by future agents. Srivastava argues that the approach can apply to coding, research, and internal operations, but only when the environment can be replayed and the result can be judged. He is direct about the hard part: a successful flight search is easy to verify, while identifying the best flight is less clear. He also covers cost targets, task-specific versus general skills, website drift, verifier design, and prompt-injection controls.

Key ideas
02:29

Browser reliability often depends on learned site-specific techniques

Srivastava describes browser agents getting stuck on operations such as dragging Google Flights time filters, handling access-denied pages, and completing long workflows. The problem is not only the model's general ability. Agents also need to know site-specific JavaScript, URLs, waiting behavior, and navigation choices. He calls them "geniuses that never learn" because every production run starts from scratch. Fine-tuning separately for every restaurant, travel site, or new task would not scale, so he looks for a way to learn from production traces without changing model weights.

06:17

AutoBrowse separates browser work from analysis of the work

The AutoBrowse design has two agents. The doer operates the browser through the available tools, reads screenshots, and gathers the requested result. The teacher examines the doer's traces after each attempt and identifies what worked or failed. They repeat this process until the loop reaches a satisfactory solution. Srivastava does not prescribe a fixed number of loops, token budget, or time limit in the basic setup. The teacher writes its findings into a strategy.md file, which becomes input to the next iteration.

09:59

A failed flight-search run can discover a faster URL path

In the Google Flights demonstration, the first run wastes effort on the calendar widget and repeated clicks. The teacher learns that the whole search can be encoded in a query parameter, so later attempts can skip the form. The eventual skill includes rules such as using a pre-filled URL, avoiding a calendar reopen bug, and using JavaScript for a difficult drag operation instead of trying to reproduce it with the mouse. Srivastava presents this as a practical way to capture techniques that may be obvious only after inspecting many traces.

11:03

The reusable artifact is a skill file, not a changed model

After the loop has gathered enough lessons, the output becomes a skill.md file for future agents. It can contain navigation shortcuts, known site restrictions, date handling, waits for slow pages, and other instructions. The same pattern appears in examples involving the AI Engineer schedule and OpenTable. The OpenTable skill learns to build a search URL with location information and avoid paths that trigger access denied. Skills can be stored locally or put into a production system and retrieved when the harness decides they fit the task.

20:28

The approach needs replayable work and an outcome that can be judged

Srivastava says other domains can use the method when two conditions are present. The environment must be replayable enough to support repeated attempts, and the outcome must have a measurable or verifiable result. Coding agents fit this model because a repository can be recreated from an image or a particular machine state. Knowledge work is harder because human actions and changing information can make replay difficult. He also separates easy judgments, such as whether a reservation was found, from fuzzy ones, such as whether the best flight was selected.

22:39

The verifier and the optimization target must be designed deliberately

The loop can make bad conclusions if its evaluator is weak. Srivastava compares browser tasks with experiments where log loss gives a clear signal. For many real tasks, the system needs a verifier that decides whether the goal was met and whether the result is good enough. Different deployments can optimize for reliability, latency, cost, or the number of turns. He gives an example where a cheaper model running for more iterations may beat a stronger model on total cost. The teacher should stop according to the objective the deployment actually values.

37:51

Website changes can trigger repair rather than constant retraining

Srivastava does not recommend running the full research loop every day just to check whether a site changed. One option is to run periodic sample checks. Another is to trigger repair when a production task fails. The repair loop studies the new failure, updates the skill, and creates a pull request for a human engineer. This creates a review point for changes instead of silently replacing instructions. A scheduled job can also notify a team when a skill stops working.

47:30

Generated skills need controls at several layers

Web pages can contain instructions that manipulate an agent into taking unsafe actions, so generated skills cannot be trusted without review. Srivastava describes URL allowlists, action restrictions, network controls, and a browser safe mode at the infrastructure layer. He also mentions reviewing generated skills with a security-focused agent before publishing them. Inputs and skill instructions need their own checks before reaching the harness. The browser's broad access to the web makes prompt injection a direct operational risk.

"The two conditions that are required is that a you should have a replayable environment of some sorts so that you can run these loops and b you should have some sort of verifiable outcome."21:42
Who should watch
  • You are building browser or computer-use agents that repeat the same failures across production runs.
  • Your tasks involve websites with awkward controls, access blocks, changing layouts, or site-specific shortcuts.
  • You need a way to improve agent behavior while keeping model weights fixed and can build a replayable test environment.