Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

12.8 KB
Raw Blame
dev bench agent-browser --max-turns 120 --verbose --groups 0,1
warning: multiple providers configured, defaulting to anthropic
Force-recreating agent-browser and fixtures...
Compose now can delegate build to bake for better performances
Just set COMPOSE_BAKE=true
[+] Building 0.7s (9/9) FINISHED                                                     docker:desktop-linux
 => [agent-browser internal] load build definition from Dockerfile                                   0.0s
 => => transferring dockerfile: 573B                                                                 0.0s
 => [agent-browser internal] load metadata for docker.io/library/node:20-bookworm                    0.6s
 => [agent-browser internal] load .dockerignore                                                      0.0s
 => => transferring context: 2B                                                                      0.0s
 => [agent-browser 1/4] FROM docker.io/library/node:20-bookworm@sha256:8789e1e0752d81088a085689c04f  0.0s
 => => resolve docker.io/library/node:20-bookworm@sha256:8789e1e0752d81088a085689c04fdb7a5b16e8102e  0.0s
 => CACHED [agent-browser 2/4] RUN apt-get update && apt-get install -y --no-install-recommends      0.0s
 => CACHED [agent-browser 3/4] RUN npm install -g agent-browser                                      0.0s
 => CACHED [agent-browser 4/4] WORKDIR /workspace/tests/benchmark                                    0.0s
 => [agent-browser] exporting to image                                                               0.0s
 => => exporting layers                                                                              0.0s
 => => exporting manifest sha256:5da4df76bc16d03b53cfdd7e5916ad6f07e39c7567b57d4575b73095e5be8a64    0.0s
 => => exporting config sha256:0005103a0fcf7270a11bc88db271999149c096a465817b178af786c87a3c52b8      0.0s
 => => exporting attestation manifest sha256:87857cf329e14309e3ea7ee5311c35f790a8f46b7ccf5ec49a580a  0.0s
 => => exporting manifest list sha256:d79def5340545b4cb666ccaa127ee123af3394b9a2fb04269932c8d348358  0.0s
 => => naming to docker.io/library/tools-agent-browser:latest                                        0.0s
 => => unpacking to docker.io/library/tools-agent-browser:latest                                     0.0s
 => [agent-browser] resolving provenance for metadata file                                           0.0s
[+] Running 3/3
 ✔ agent-browser                    Built                                                            0.0s 
 ✔ Container tools-agent-browser-1  Started                                                          3.0s 
 ✔ Container tools-fixtures-1       Healthy                                                          2.9s 
Verified: agent-browser up and fixtures reachable
=== PinchTab Benchmark Run #1 ===
Timestamp: 20260420_124939
Report: <repo>/tests/benchmark/results/agent_browser_benchmark_20260420_124939.json

[benchmark-runner] provider=anthropic model=claude-haiku-4-5-20251001 lane=agent-browser groups=0,1 report=<repo>/tests/benchmark/results/agent_browser_benchmark_20260420_124939.json

══ Benchmark start ══
  lane:   agent-browser
  model:  claude-haiku-4-5-20251001
  report: <repo>/tests/benchmark/results/agent_browser_benchmark_20260420_124939.json

  Group 0 — 5 step(s):
    0.1  Navigate to page
    0.2  Take snapshot
    0.3  Read page text
    0.4  Click a link
    0.5  Extract specific data

  Group 1 — 5 step(s):
    1.1  Fill a text input
    1.2  Click a button
    1.3  Use search functionality
    1.4  Handle dynamic content
    1.5  Navigate back

  Total: 10 step(s) across 2 group(s)


─── Turn 1/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 2 in, 6047 cc, 0 cr, 119 out
▶ ./scripts/ab open http://fixtures/
  ✓ ✓ PinchTab Benchmark - Home
         http://fixtures/ [480ms]

─── Turn 2/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 174 in, 0 cc, 6047 cr, 100 out
▶ ./scripts/ab snapshot -i -c
  ✓ - heading "PinchTab Benchmark Suite" [level=1, ref=e1]
       - link "Articles" [ref=e2] (+11 lines) [335ms]

─── Turn 3/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 496 in, 0 cc, 6047 cr, 140 out
▶ ./scripts/runner step-end 0 1 answer "Page opened successfully with title 'Pi...
  ✓ Recorded 0.1 answer
       Verified: Step 0.1 = pass [1.646s]

─── Turn 4/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 727 in, 0 cc, 6047 cr, 145 out
▶ ./scripts/runner step-end 0 2 answer "Snapshot captured with 13 interactive e...
  ✓ Recorded 0.2 answer
       Verified: Step 0.2 = pass [1.66s]

─── Turn 5/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 973 in, 0 cc, 6047 cr, 109 out
▶ ./scripts/ab get text @e7
  ✓ Welcome to the Benchmark Test Suite [327ms]

─── Turn 6/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1125 in, 0 cc, 6047 cr, 123 out
▶ ./scripts/runner step-end 0 3 answer "Text content extracted: 'Welcome to the...
  ✓ Recorded 0.3 answer
       Verified: Step 0.3 = pass [1.661s]

─── Turn 7/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1331 in, 0 cc, 6047 cr, 111 out
▶ ./scripts/ab click @e9
  ✓ ✓ Done [333ms]

─── Turn 8/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1225 in, 0 cc, 6047 cr, 99 out
▶ ./scripts/ab snapshot -i -c
  ✓ - link "Home" [ref=e2]
       - link "Articles" [ref=e3] (+16 lines) [332ms]

─── Turn 9/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1658 in, 0 cc, 6047 cr, 150 out
▶ ./scripts/runner step-end 0 4 answer "Clicked 'Article Reading' link and navi...
  ✓ Recorded 0.4 answer
       Verified: Step 0.4 = pass [1.66s]

─── Turn 10/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1480 in, 0 cc, 6047 cr, 109 out
▶ ./scripts/ab get text @e4
  ✓ The Future of Artificial Intelligence [333ms]

─── Turn 11/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1631 in, 0 cc, 6047 cr, 126 out
▶ ./scripts/runner step-end 0 5 answer "Extracted text from article heading: 'T...
  ✓ Recorded 0.5 answer
       Verified: Step 0.5 = pass [1.662s]

─── Turn 12/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1516 in, 0 cc, 6047 cr, 116 out
▶ ./scripts/ab open http://fixtures/form.html
  ✓ ✓ Form - PinchTab Benchmark
         http://fixtures/form.html [344ms]

─── Turn 13/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1691 in, 0 cc, 6047 cr, 96 out
▶ ./scripts/ab snapshot -i -c
  ✓ - link "Home" [ref=e2]
       - link "Form" [ref=e3] (+25 lines) [345ms]

─── Turn 14/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1654 in, 0 cc, 6047 cr, 114 out
▶ ./scripts/ab fill @e4 "John Doe"
  ✓ ✓ Done [340ms]

─── Turn 15/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1813 in, 0 cc, 6047 cr, 94 out
▶ ./scripts/ab get value @e4
  ✓ John Doe [331ms]

─── Turn 16/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1543 in, 0 cc, 6047 cr, 122 out
▶ ./scripts/runner step-end 1 1 answer "Filled Full Name input field with 'John...
  ✓ Recorded 1.1 answer
       Verified: Step 1.1 = pass [1.657s]

─── Turn 17/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1748 in, 0 cc, 6047 cr, 105 out
▶ ./scripts/ab click @e14
  ✓ ✓ Done [331ms]

─── Turn 18/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1533 in, 0 cc, 6047 cr, 99 out
▶ ./scripts/ab snapshot -i -c
  ✓ - link "Home" [ref=e2]
       - link "Form" [ref=e3] (+25 lines) [320ms]

─── Turn 19/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 2085 in, 0 cc, 6047 cr, 113 out
▶ ./scripts/ab fill @e5 "[email protected]"
  ✓ ✓ Done [364ms]

─── Turn 20/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1540 in, 0 cc, 6047 cr, 92 out
▶ ./scripts/ab click @e14
  ✓ ✓ Done [358ms]

─── Turn 21/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1671 in, 0 cc, 6047 cr, 99 out
▶ ./scripts/ab snapshot -i -c
  ✓ - link "Home" [ref=e2]
       - link "Form" [ref=e3] (+26 lines) [351ms]

─── Turn 22/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1909 in, 0 cc, 6047 cr, 146 out
▶ ./scripts/runner step-end 1 2 answer "Clicked Submit Form button; form valida...
  ✓ Recorded 1.2 answer
       Verified: Step 1.2 = pass [1.667s]

─── Turn 23/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 2142 in, 0 cc, 6047 cr, 109 out
▶ ./scripts/ab open http://fixtures/search.html
  ✓ ✓ Search - PinchTab Benchmark
         http://fixtures/search.html [357ms]

─── Turn 24/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1642 in, 0 cc, 6047 cr, 97 out
▶ ./scripts/ab snapshot -i -c
  ✓ - link "Home" [ref=e2]
       - link "Search" [ref=e3] (+3 lines) [332ms]

─── Turn 25/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1851 in, 0 cc, 6047 cr, 102 out
▶ ./scripts/ab fill @e4 "artificial intelligence"
  ✓ ✓ Done [339ms]

─── Turn 26/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1706 in, 0 cc, 6047 cr, 91 out
▶ ./scripts/ab click @e5
  ✓ ✓ Done [330ms]

─── Turn 27/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1836 in, 0 cc, 6047 cr, 97 out
▶ ./scripts/ab snapshot -i -c
  ✓ - link "Home" [ref=e2]
       - link "Search" [ref=e3] (+5 lines) [304ms]

─── Turn 28/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1280 in, 0 cc, 6047 cr, 153 out
▶ ./scripts/runner step-end 1 3 answer "Entered 'artificial intelligence' in se...
  ✓ Recorded 1.3 answer
       Verified: Step 1.3 = pass [1.659s]

─── Turn 29/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1542 in, 0 cc, 6047 cr, 115 out
▶ ./scripts/ab open http://fixtures/spa.html
  ✓ ✓ Task Manager — PinchTab Benchmark
         http://fixtures/spa.html [345ms]

─── Turn 30/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1396 in, 0 cc, 6047 cr, 97 out
▶ ./scripts/ab snapshot -i -c
  ✓ - heading "Task Manager — VERIFY_SPA_PAGE_99999" [level=1, ref=e1]
       - button "All Tasks" [ref=e2] (+15 lines) [334ms]

─── Turn 31/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1781 in, 0 cc, 6047 cr, 115 out
▶ ./scripts/ab fill @e5 "Test dynamic content"
  ✓ ✓ Done [332ms]

─── Turn 32/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1665 in, 0 cc, 6047 cr, 92 out
▶ ./scripts/ab click @e7
  ✓ ✓ Done [332ms]

─── Turn 33/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1796 in, 0 cc, 6047 cr, 101 out
▶ ./scripts/ab snapshot -i -c
  ✓ - heading "Task Manager — VERIFY_SPA_PAGE_99999" [level=1, ref=e1]
       - button "All Tasks" [ref=e2] (+17 lines) [333ms]

─── Turn 34/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1696 in, 0 cc, 6047 cr, 175 out
▶ ./scripts/runner step-end 1 4 answer "Added new task 'Test dynamic content' t...
  ✓ Recorded 1.4 answer
       Verified: Step 1.4 = pass [1.661s]

─── Turn 35/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1977 in, 0 cc, 6047 cr, 101 out
▶ ./scripts/ab back
  ✓ http://fixtures/search.html [849ms]

─── Turn 36/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1605 in, 0 cc, 6047 cr, 107 out
▶ ./scripts/ab snapshot -i -c
  ✓ - link "Home" [ref=e2]
       - link "Search" [ref=e3] (+5 lines) [329ms]

─── Turn 37/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1868 in, 0 cc, 6047 cr, 147 out
▶ ./scripts/runner step-end 1 5 answer "Used browser back navigation to return ...
  ✓ Recorded 1.5 answer
       Verified: Step 1.5 = pass [1.668s]

─── Turn 38/120 ───
  ← anthropic/claude-haiku-4-5-20251001: 1854 in, 0 cc, 6047 cr, 132 out
Wrote <repo>/tests/benchmark/results/agent_browser_benchmark_20260420_124939_summary.md

# Benchmark Summary

| Metric | Value |
|--------|-------|
| Type | agent-browser |
| Model | claude-haiku-4-5-20251001 |
| Steps Answered | 10 |
| Execution Failed | 0 |
| Execution Skipped | 0 |
| Answer Rate | 100% |
| Verified Passed | 10 |
| Verified Failed | 0 |
| Verified Skipped | 0 |
| Pending Verification | 0 |
| Verification Pass Rate | 100% |
| Tool Calls | 63 |

## Run Usage

| Metric | Value |
|--------|-------|
| Source | anthropic-messages |
| Provider | anthropic |
| API Requests | 38 |
| Input Tokens (uncached) | 57162 |
| Cache Creation Input Tokens | 6047 |
| Cache Read Input Tokens | 223739 |
| Total Input Tokens | 286948 |
| Output Tokens | 4358 |
| Total Tokens | 291306 |

## Pending Verification

- none

## Failed Steps

- none

## Verification Failures

- none

[run-usage] provider=anthropic requests=38 input=57162 cache_create=6047 cache_read=223739 output=4358 total=291306

══ Benchmark result ══
  answered:             10
  execution failed:     0
  execution skipped:    0
  verified passed:      10
  verified failed:      0
  verified skipped:     0
  pending verification: 0
  tool calls:           63
  verification pass rate: 100.0% (10/10)