Use case / Browser agents

Replay what the agent saw and clicked.

Browser agents click, type and wait on pages that change. Record each action so a missed click or a stuck loop is easy to find.

Actions
Recorded
Retries
Counted
Time on page
Measured

Instrument it

Turn every click into a span.

Wrap the actions your browser agent takes and a stuck or repeated step shows up in the trace with its timing.

$ npm install tracify-sdk

import { observe, traceAgent } from "tracify-sdk";

const click = observe(async function click(selector: string) {
  return page.click(selector);
}, { type: "tool" });

export const bookTable = traceAgent(async (request: string) => {
  const plan = await planSteps(request);
  for (const step of plan.steps) await click(step.selector);
});

Action log

What the agent did on the page.

  1. Each run starts with the goal the agent was given.

  2. Page loads are spans with their own timing.

  3. A missed click is flagged with the selector that was used.

  4. Repeated actions are the loop, counted and costed.

  5. The run ends with a clear reason instead of a silent timeout.

Browser agents1 / 5 steps
  1. 01

    Page opened

    Booking page loaded in 1.2 seconds.

    ok
  2. 02

    Form located

    Date and party size found.

    ok
  3. 03

    Click missed

    The submit button had moved.

    missed
  4. 04

    Same click repeated

    Four more tries, same target.

    ok
  5. 05

    Run stopped

    Step budget reached.

    ok

The failure to catch

A click that missed its target and repeated until the budget ran out.

Trace page loads, clicks, form fills and retries across browser agents so a stuck step is easy to find.

What Tracify watches.

01

Page steps

Recorded on every run, so it can be searched, compared and alerted on.

02

Click targets

Recorded on every run, so it can be searched, compared and alerted on.

03

Retries

Recorded on every run, so it can be searched, compared and alerted on.

04

Time on page

Recorded on every run, so it can be searched, compared and alerted on.