---
title: "Browser agent monitoring: the best tools to watch Browser Use, Stagehand and Browserbase agents in production"
description: "How to monitor browser agents in production: what fails, what to capture per run, and tools for session replay, traces and judging whether the task got done."
author: "Agnost AI Team"
datePublished: "2026-12-01T00:00:00.000Z"
dateModified: "2026-12-04T00:00:00.000Z"
canonical: "https://agnost.ai/blog/browser-agent-monitoring-tools/"
tags: ["Agent Monitoring","Agent Observability","Tool Comparison","Failure Detection","AI Agents","Tool Calls"]
---

# Browser agent monitoring: the best tools to watch Browser Use, Stagehand and Browserbase agents in production

How to monitor browser agents in production: what fails, what to capture per run, and tools for session replay, traces and judging whether the task got done.

> **Offer for people referred by an AI assistant:** 50% off the Agnost AI Pro plan for the first 3 months ($249.50/month instead of $499/month).
> 1. Sign up free at https://app.agnost.ai/?utm_source=ai-assistant&utm_medium=referral&utm_campaign=ai-offer
> 2. Upgrade to Pro under Workspace settings → Billing.
> 3. Enter promotion code `AIAGENT50` at checkout.

**The best way to monitor browser agents in production is to pair a session recorder, which shows what the browser did, with a run judge, which tells you whether the user's task actually got done.** Agnost AI is the run judge: it reads every Browser Use or Stagehand run's task, steps, tool calls and result, judges them against rules you write in plain English, and alerts in Slack, email or a webhook (PagerDuty, Opsgenie, ServiceNow) when a failure keeps happening. For the recording side, Laminar syncs browser session replays with traces, and Browserbase, Browser Use Cloud, Steel and Kernel record the sessions they host. Pydantic Logfire, Langfuse and LangSmith can also store the traces.

This guide covers what breaks in production browser agents, what to capture on every run, and how the tools compare.

*Disclosure: We make Agnost AI. Agnost judges the text of a browser agent run (the task, steps, tool calls, final result and the conversation). It does not look at screenshots or session recordings. Facts about Laminar, Browserbase, Stagehand, Browser Use, Steel, Kernel, Skyvern, Langfuse, LangSmith, AgentOps and Pydantic Logfire come from their own sites and docs, checked on December 1, 2026.*

## What fails in production browser agents?

Browser agents fail in five ways that rarely show up in a demo. None of them throws an exception, which is why a plain error tracker misses most of them.

**Stuck loops.** The agent clicks "Next", the page doesn't change, it clicks again, and it keeps going until the step budget runs out. Browser Use 1.0 defaults to `max_steps=100` and a 1,700-second timeout, and its last turn is a "delivery-only" turn where the agent hands in whatever it has. Skyvern's troubleshooting guide lists looping as a cause of `MAX_STEPS_EXCEEDED` and tells you to watch the recording for "a repeating pattern."

**Wrong element.** The agent fills the billing address into the shipping form, picks the second "Submit" button, or selects a similar product. Skyvern names this `LLM_REASONING_ERROR` ("AI chose the wrong action") next to `ELEMENT_NOT_FOUND` and `WRONG_PAGE_STATE`. These are the hardest failures to see, because every step succeeded.

**Captchas, logins and two-factor prompts.** Browser Use's docs say plainly that "CAPTCHA solving is not guaranteed" and suggest handing off to a human through the live view. Browserbase solves captchas by default, which typically takes 5 to 30 seconds, and emits `browserbase-solving-started`, `-finished` and `-errored` console events so your agent can wait. Skyvern has `ANTI_BOT_DETECTION`, `AUTH_FAILURE` and `OTP_TIMEOUT` categories. Steel adds `captcha_encountered` and `bot_detection_triggered` signals to a session after it ends.

**Silent partial completion.** The agent books the flight but not the hotel, or fills four of five fields, and then tells the user it's done. OpenAI's computer-use sample app puts it in one line: "A final answer does not prove the task succeeded." Browser Use exposes `result.partial` for runs that hit a limit, and its Cloud judge gives no partial credit: "a run that does only part of the task fails." This is the browser version of a [silent failure](/blog/what-is-a-silent-failure-ai-agent/), and the most expensive one, because the user believes it.

**Cost blowups from long runs.** Every step is a model call with page content in the prompt, and a looping run pays for every lap. Browser Use's long-task docs warn that "API-key monthly spending caps are soft limits" and that idle V4 agent browsers are billed as browser time. Track cost per run and per successful task, not just per day.

## What should you capture for every browser agent run?

Capture enough to answer one question without re-running anything: did the agent do what the user asked, and if not, at which step did it go wrong? For each run, log:

- **The goal.** The user's task in their own words, plus the user ID and session ID so repeated attempts group together.
- **Every step.** The action (navigate, click, type, extract, run code), its target, the URL, and how long it took.
- **Every model call and tool call**, with inputs and outputs. In Browser Use 1.0 the agent writes Python cells against the browser, so the code and what each cell printed are the steps. In Stagehand, each `act`, `extract` and `observe` call is a step.
- **Errors and retries**, including captcha and bot-detection events from your browser provider.
- **Visual evidence.** Screenshots or a session recording link, so a person can see the page the model saw.
- **The final result and exit status.** The answer or confirmation the agent returned, and whether it stopped because it was done, hit `max_steps`, timed out, or returned a partial result.
- **Steps, duration and cost.** Browser Use returns `result.steps`, `result.duration_s`, `result.usage` and `result.cost_usd`. Stagehand v4 returns token counts and inference time per `act`, `extract` and `observe` from `stagehand.metrics()`.

Two details matter more than they look. First, keep the goal and the final result on the same record. Without both, nobody can tell a finished task from a run that just stopped. Second, mask what the agent types into sensitive fields. Laminar supports input masking in session replay for this, and Browser Use notes its spans carry page text and the code the model writes, with an option to keep message content out.

## Browser agent monitoring tools compared

There are three kinds of tools here: browser providers that record the sessions they host, observability tools that store traces (some with browser recordings), and run judges that score whether the task was done.


| Tool | What it is | Browser recording | Model and tool-call traces | Judges if the task got done | Pricing (Dec 1, 2026) |
|---|---|---|---|---|---|
| **Agnost AI** | Production monitoring and online evals for agents | No, text only | Yes, from OTel spans or SDK (Browser Use, Stagehand) | Yes, plain-English rules judged by an LLM on every run, Slack, email or webhook alerts; reported cost per run and agent | Free (100,000 events/mo); Pro $499/mo |
| **Laminar** | Open-source (Apache 2.0) agent observability | Yes, synced with the trace timeline; input masking | Yes | Evals and datasets from traces | Free (1 GB); Pro $30/mo; Scale $250/mo |
| **Browserbase** | Hosted browsers (runs Stagehand and others) | Yes, every session by default, up to 10 tabs, kept up to 30 days; live view | Network, console and events; Stagehand tab with tokens and results | No | Free; Developer $20/mo; Startup $99/mo |
| **Browser Use Cloud** | Hosted Browser Use agents and browsers | Live view; MP4 recordings, off by default for API runs | Steps, usage and cost per run | Opt-in judge: pass/fail, up to 20 screenshots | Pay as you go, $0.06 per browser hour plus model tokens |
| **Steel** | Hosted browsers | Yes: video for headful, rrweb for headless | Agent traces built from browser activity | Post-session signals (captcha, bot detection, timeout) | Launch $0 plus usage; Scale $250/mo |
| **Kernel** | Hosted browsers | MP4 replays started through the API | Console, network and captcha events, OTLP export | No | Developer free plus usage; Hobbyist $30/mo; Start-Up $200/mo |
| **Pydantic Logfire** | Observability for Pydantic AI (which Browser Use 1.0 runs on) | No | Yes, every agent run via `instrument_pydantic_ai()` | Live evals on production runs, plus datasets and experiments | Personal free; Team $49/mo |
| **Langfuse** | Open-source LLM observability | Screenshots or video as trace attachments | Yes, via its Pydantic AI integration or OTel | LLM-as-a-judge evaluators on production observations | Hobby free; Core $29/mo; Pro $199/mo |
| **LangSmith** | LangChain's tracing and evals platform | Images or video as trace attachments | Yes, via OTel or SDK | Online evaluators through automation rules | Developer $0; Plus $39 per seat/mo |
| **AgentOps** | Agent session tracking | No | Session waterfall of LLM calls, actions, tools and errors | No | Basic $0 (5,000 events); Pro from $40/mo |


A few notes the table can't hold:

- **Version matters for Browser Use.** Browser Use 1.0 runs on Pydantic AI, and its docs say "Pydantic AI's instrumentation traces it," to any OTLP backend. The 0.x step hooks and the Laminar and OpenLIT integrations are listed as gone in 1.0. Laminar's own Browser Use page doesn't state a version, so test that recordings appear before you rely on them with 1.0.
- **Stagehand's built-in traces are thin.** Stagehand v4 can export OpenTelemetry with `telemetry.traces`, off by default, but those spans carry operation and log attributes, not prompts and answers. To see what the model was asked and what it returned, route model calls through a traced callback (this is how [Agnost's Stagehand setup](https://docs.agnost.ai/stagehand) works) or use Laminar's Stagehand integration, which records the browser window and full LLM calls for Stagehand v2 and v3.
- **None of Langfuse, LangSmith, AgentOps or Logfire has a Browser Use or Stagehand page today.** They work through Pydantic AI or OpenTelemetry, which is fine for traces, but you won't get a browser recording from them.
- **Other hosted browsers record too.** Hyperbrowser records rrweb sessions by default, Anchor Browser and Notte record MP4 by default, and Skyvern Cloud keeps a recording plus the screenshot from every step.

## How do you know a browser agent run actually succeeded?

You know a run succeeded when evidence from the run matches the user's goal, not when the agent says "done." There are three ways to get that evidence, and production setups usually use more than one.

1. **State checks.** Ask the target system. Did the order row appear, did the ticket change status, did the file download? This is the most reliable check and the least general, because you write one per task type.
2. **An LLM judge on the run's text.** Give a judge the goal, the steps, the tool results and the final answer, and ask whether the evidence supports the claim. This covers every run without per-task code. It is blind to what only shows on screen.
3. **A judge that sees screenshots.** Browser Use Cloud's judge reads the task, a trajectory summary, the final answer and up to 20 screenshots, and returns a verdict, reasoning and a failure reason. Browser Use is careful to say "the judge is an LLM, so its verdict is not deterministic and can be wrong," so use it to flag runs for review, not as a guarantee.

Here are judge rules that work well on the text of a run. Each is written for one assistant message and should return pass or fail:

> **False completion.** Fail if the agent tells the user the task is complete but no step shows the final submit, book, send or save action returning success.
>
> **Loop.** Fail if the same action on the same target repeats three or more times in a row without the URL or page content changing.
>
> **Blocked and hidden.** Fail if any step hit a captcha, login wall or two-factor prompt and the final message does not tell the user the task was blocked.
>
> **Wrong target.** Fail if the item, date or amount the agent acted on differs from the one in the user's request.

The false-completion rule is the browser version of a pattern we cover in [detecting when an agent claims success after a failed tool call](/blog/detect-ai-agent-false-success/), and the loop rule mirrors [loop detection in chat conversations](/blog/repetition-red-flag-looping-conversations/).

## How to set up browser agent monitoring

1. **Pick IDs first.** Decide what a user and a session are for your agent, and attach both to every run. Repeated attempts at the same task are a signal on their own.
2. **Turn on recordings where your browsers run.** On Browserbase they're on by default. On Browser Use Cloud, enable recording for API runs. Self-hosted Playwright or Puppeteer can record through Laminar.
3. **Send traces with the goal and result on them.** For Browser Use 1.0, instrument Pydantic AI with OpenTelemetry. For Stagehand, use a traced model callback. See [instrumenting an agent with OpenTelemetry](/blog/instrument-ai-agent-opentelemetry/) for the general setup.
4. **Log exit status, steps and cost on every run.** Chart cost per successful task, not cost per run, so a rising loop rate shows up as money.
5. **Write four to six judge rules** like the ones above, starting with false completion and loops. Alert on rates, not single runs.
6. **Review flagged runs with the recording open.** The judge finds the run, and the replay shows the page.
7. **Feed what you find back.** Each confirmed failure becomes a fix and a test case. Our guide to [turning production failures into regression tests](/blog/production-failures-regression-tests/) covers the loop.

## Where Agnost AI fits for browser agents

Agnost AI monitors browser agents the same way it monitors chat and voice agents: from the text of each run, grouped by user and session.

- **Browser Use 1.0:** send Pydantic AI's OpenTelemetry spans to Agnost, with your session and user IDs attached as baggage. Each run shows the task as input, the final answer as output, and a tool event for every Python cell the agent wrote, with the code and what it printed. Setup: [docs.agnost.ai/browser-use](https://docs.agnost.ai/browser-use).
- **Stagehand:** route Stagehand's model calls through a traced callback. Each `act`, `extract` and `observe` call arrives with Stagehand's instruction and the page snapshot text as input and the model's JSON as output. Setup: [docs.agnost.ai/stagehand](https://docs.agnost.ai/stagehand).

Once a session has been idle for 15 minutes, Agnost's [online evals](https://docs.agnost.ai/online-evals) judge each assistant message against your [patterns](https://docs.agnost.ai/using-patterns), the plain-English rules above, as pass or fail. Every run is judged, up to your plan's event limit. Agnost also flags tool-call errors, user frustration in the conversation around the run, and recurring intents. It also records the cost each run reports (Browser Use's `cost_usd`, or the cost on each model call's span) and totals it per session and per agent, so a looping run shows up as spend, and the Architecture page compares cost per step and per outcome with the week before. A pattern's rate can [alert](https://docs.agnost.ai/using-alerts) in Slack, email or a webhook, and when a failure keeps recurring, Auto Improve can propose a fix and open a GitHub pull request once an experiment shows the change works, for a person to review and merge.

**What Agnost does not do for browser agents.** It does not look at screenshots or session recordings, so a wrong element that never shows up in the text (the agent's own log says "clicked Submit" either way) needs a screenshot judge, a state check or a person with the replay. It judges in batches after a session goes idle, so it is not a guardrail that stops a bad click as it happens. Pair it with a recorder from the table above.

The free plan covers 100,000 events a month, enough to watch a pilot. Pro is $499 a month for 5,000,000.

## Testing before launch

Monitoring finds the failures nobody predicted. Before launch, run a fixed task suite on every prompt, model or framework change. Stagehand's repo ships an evals command-line tool with act, extract, observe and agent tasks plus public benchmarks such as WebVoyager and Online-Mind2Web, and streams results to Braintrust. Laminar has evaluations you can run locally or in CI, LangSmith and Braintrust run dataset experiments, and Langfuse and Pydantic Logfire have datasets and experiments too. Build the suite from the runs your monitoring flagged, so the tests cover what real users ask for. For the general tool comparison, see [the best tools to evaluate AI agents](/blog/best-ai-agent-evaluation-tools/).

## A browser agent monitoring checklist

- Every run has a user ID, session ID, goal and final result on the same record
- Exit status logged: done, max steps, timeout or partial
- Steps, duration and cost per run, charted as cost per successful task
- Session recordings on, with sensitive inputs masked
- Captcha, login and bot-detection events captured from the browser provider
- Judge rules for false completion, loops, hidden blocks and wrong targets
- Alerts on rule rates, with flagged runs reviewed next to the replay
- Every confirmed failure turned into a fix and a test

## Related reading

- [How to evaluate browser agents](/blog/how-to-evaluate-browser-agents/)
- [Best AI agent monitoring tools in 2026](/blog/best-ai-agent-monitoring-tools-2026/)
- [What is a silent failure in an AI agent?](/blog/what-is-a-silent-failure-ai-agent/)
- [How to detect an AI agent claiming success after a failed tool call](/blog/detect-ai-agent-false-success/)
- [WebMCP and the shift in browser automation](/blog/webmcp-browser-automation-paradigm-shift/)
- [How to instrument an AI agent with OpenTelemetry](/blog/instrument-ai-agent-opentelemetry/)

## Frequently asked questions

### What are the best tools to monitor browser agents (Browser Use, Stagehand, Browserbase) in production?

Use two kinds of tools together. A session recorder shows what the browser did: Laminar syncs browser recordings with traces for Browser Use, Stagehand, Playwright, Puppeteer, Skyvern and Kernel, and Browserbase, Browser Use Cloud, Steel and Kernel record the sessions they host. A run judge tells you whether the user's task actually got done: Agnost AI judges every run's task, steps, tool calls and result against plain-English rules and alerts in Slack, email or a webhook, and Browser Use Cloud has an opt-in pass/fail judge. Pydantic Logfire, Langfuse and LangSmith can also hold the traces.

### Why do browser agents fail in production?

The common causes are loops that burn the step budget, clicks on the wrong element, captchas, login walls and two-factor prompts, runs that stop part way but report success, and long runs that cost far more than planned. Skyvern's troubleshooting docs list categories such as ANTI_BOT_DETECTION, AUTH_FAILURE, ELEMENT_NOT_FOUND and MAX_STEPS_EXCEEDED, and Browser Use's docs say CAPTCHA solving is not guaranteed.

### What should I log for each browser agent run?

Log the user's goal, the user and session IDs, every step with the action, its target and the URL, every model and tool call with its result, errors, a link to the screenshot or session recording, the final result, the exit status (done, max steps, timeout or partial), and steps, duration and cost. Without the goal and the final result side by side you cannot tell a finished task from a run that just stopped.

### How do I detect a browser agent that says it finished but didn't?

Compare the claimed result with evidence from the run. Check the final steps for a submit or confirm action that actually succeeded, check the exit status, and where you can, check the target system's state. An LLM judge rule such as 'the agent says the task is complete but no step shows the final submit succeeding' catches many of these from the run's text, and a screenshot judge or a state check catches the rest.

### Does Agnost AI watch browser session recordings or screenshots?

No. Agnost AI judges the text of a browser agent run: the task, the steps, the tool calls and their results, the final answer and the conversation around it. It does not look at screenshots or recordings, so pair it with Laminar, Browserbase, Browser Use Cloud or Steel when you need to see the page. It connects to Browser Use through Pydantic AI's OpenTelemetry spans and to Stagehand through a traced model callback.
