Repository avatar
Browser Automation
v0.1.0
active

pandause

io.github.panda-use/pandause

Fast local computer-use and browser-use MCP server with a 3-layer state graph engine.

Documentation

PandaUse

PandaUse

The fastest local computer-use and browser-use MCP server.
Browsers, native macOS apps, iPhone Mirroring, and Linux desktops · learn once, replay in milliseconds with zero PII.

Website · npm · Benchmarks · Enterprise

Quick Start

Pick your agent and plug in any one Layer 2 API key (BASETEN_API_KEY, GEMINI_API_KEY / GOOGLE_API_KEY, or OPENAI_API_KEY), or omit env to run Layer 1 replay + your agent only.

Cursor, Antigravity & Other MCP (mcp.json)

  • Cursor: ~/.cursor/mcp.json (Add to Cursor)
  • Antigravity: ~/.gemini/config/mcp_config.json
  • VS Code: Install in VS Code
  • Other MCP: Claude Desktop, Windsurf, or any MCP client mcp.json
{
  "mcpServers": {
    "pandause": {
      "command": "npx",
      "args": ["-y", "@pandause/pandause"],
      "env": {
        "BASETEN_API_KEY": "your-baseten-key"
      }
    }
  }
}

Claude Code

claude mcp add pandause -e BASETEN_API_KEY=your-baseten-key -- npx -y @pandause/pandause

OpenAI Codex

codex mcp add pandause --env BASETEN_API_KEY=your-baseten-key -- npx -y @pandause/pandause
Other API keys (Gemini / OpenAI / No key), Codex TOML, Homebrew, build from source & macOS permissions

Swap API key provider

Replace BASETEN_API_KEY with any of:

  • Google Gemini: GEMINI_API_KEY (or GOOGLE_API_KEY)
  • OpenAI: OPENAI_API_KEY
  • No key (Layer 1 + Layer 3 only): omit env / -e / --env
claude mcp add pandause -e GEMINI_API_KEY=your-gemini-key -- npx -y @pandause/pandause
claude mcp add pandause -e OPENAI_API_KEY=your-openai-key -- npx -y @pandause/pandause
claude mcp add pandause -- npx -y @pandause/pandause
codex mcp add pandause --env GEMINI_API_KEY=your-gemini-key -- npx -y @pandause/pandause
codex mcp add pandause --env OPENAI_API_KEY=your-openai-key -- npx -y @pandause/pandause
codex mcp add pandause -- npx -y @pandause/pandause

Codex ~/.codex/config.toml

[mcp_servers.pandause]
command = "npx"
args = ["-y", "@pandause/pandause"]
env_vars = ["BASETEN_API_KEY", "GEMINI_API_KEY", "GOOGLE_API_KEY", "OPENAI_API_KEY"]
startup_timeout_sec = 30.0
tool_timeout_sec = 180.0

Homebrew (macOS / Linux)

brew install panda-use/tap/pandause

Build from source

Requires Go 1.27+ (plus Xcode Command Line Tools on macOS for sg-macos; produces ./pandause and sg-macos):

make build
make test

Point your MCP client at ./pandause (with sg-macos alongside it on macOS for native apps and iPhone Mirroring).

macOS Permissions (Native Apps & iPhone Mirroring)

Browser automation (Chrome CDP) works immediately with zero OS permissions. For native macOS apps and iPhone Mirroring (com.apple.ScreenContinuity), grant Accessibility and Screen & System Audio Recording in System Settings → Privacy & Security to your host app (ChatGPT/Codex, Claude, Cursor, or your terminal) and sg-macos.


PandaUse (pandause) is a single-binary local MCP server powered by a 3-layer UI state graph engine: Layer 1 replays proven paths deterministically in milliseconds with 0 LLM calls, Layer 2 resolves fuzzy branches and drifted elements via a calibrated System-1 decision model (default: Baseten Bison, plus Google & OpenAI providers) with a binary irreversibility safety guard, and Layer 3 escalates novel screens to the host agent (Codex, Claude, etc.) and immediately compiles every action into a zero-PII SQLite state graph.


Fastest Across Every Benchmark (800+ Verified Runs)

PandaUse Benchmarks: Speed & Cost

PandaUse Benchmarks: Accuracy & Efficiency

Full reproducible harnesses, AUDIT.md reports, and per-task JSON results live in panda-use/benchmarks.

Historical raw JSON logs and archived commit tags (e037824, 62d38ef, e51ec56) in panda-use/benchmarks retain their pre-rename stategraph-mcp label for audit integrity.

Across 6 benchmark suites spanning web apps, live websites, and full Ubuntu desktop applications, pandause is consistently the fastest on both Cold Run 1 (empty graph) and Warm Repeat (deterministic Layer 1 replay down to 395 ms engine time):

Benchmark SuiteBaseline ComparedLatency Speedup (pandause)Accuracy / ScoreLLM & Tool ReductionToken & Cost Efficiency
OSWorld-Verified Desktop (10 Ubuntu apps, claude-opus-5-5, bison_v2)Anthropic native claude-computer-use2.10× faster Cold (25.85s vs 54.32s)
2.25× faster Warm (27.26s vs 61.37s)
Pure L1 (4/8): 17.06s (8.85s OS Trash)
80% Cold (8/10) (tie)
100% Warm (8/8)
3.52× fewer tools Cold (5.8 vs 20.4)
6.41× fewer tools Warm (3.38 vs 21.62)
1.60× fewer LLM Warm
2.16× fewer input tok Warm
1.58× cheaper cached ($0.0452 vs $0.0715)
4.56× cheaper Pure L1 ($0.0143)
OSWorld-Verified Desktop (10 Ubuntu apps, gemini-3.6-flash)Raw AT-SPI + Screenshot baseline1.99× faster Cold (33.80s vs 67.10s)
1.90× faster Warm (33.51s vs 63.79s)
70% Cold (7/10) (tie)
85.7% Warm (6/7)
1.81× fewer LLM Cold
2.21× fewer LLM Warm
3.19× fewer tok Cold / 2.89× Warm
3.31× cheaper Cold / 2.98× Warm
MiniWoB++ Smackdown (20 tasks × 5 seeds = 300 runs, gemini-3.8-flash)@playwright/mcp & chrome-devtools-mcp2.09–2.23× faster matched Warm (9.32s vs 19.45s/20.78s)
2.57–2.96× faster Pure L1 (6.55s wall, 395ms engine)
100% Cold (20/20)
92.0% All-100 (93.9% Exec-98) vs 100%
3.78–4.48× fewer LLM Warm
5.19–6.65× fewer Pure L1 (1.00 LLM)
4.44–8.21× fewer tok Warm
11.24–23.25× fewer tok Pure L1
3.82–5.73× cheaper @ 90% cache Pure L1
WebArena-Verified shopping_admin (90 HAR-verified runs, gemini-3.8-flash)@playwright/mcp & chrome-devtools-mcp1.63–1.66× avg / 1.81–1.98× med faster (e037824)
2.04–2.07× faster (62d38ef Exec-28)
Up to 5.84× faster Pure L1 MUTATE (14.20s)
#1 SR: 93.3% (28/30) (100% Cold, 100% MUTATE) vs 83.3% CDT / 76.7% PW2.21–2.28× fewer LLM (e037824)
2.62–2.70× fewer (62d38ef)
1.26–1.75× avg (1.93–2.28× med) cheaper @ 90% cache (1.54–1.96× Cost/Pass)
64–70× fewer tok on Pure L1 tid=474
BU Bench V2.1 (3-Way MCP) (15 open tasks × Cold+Warm = 90 runs, gpt-5.4-mini)@playwright/mcp & chrome-devtools-mcp2.32× faster vs CDT (29.7s vs 68.9s, p=0.0047)
2.44× faster Warm vs CDT (p=0.0263)
1.26× faster vs PW (29.7s vs 37.3s)
#1 across every split:
24.9 Cold / 27.7 Warm / 26.3 Comb vs 22.3 PW / 22.2 CDT
2.64–2.73× fewer LLM (4.5 vs 12.4/12.0)
2.83–3.08× fewer tools
5.34× fewer calling tok vs CDT (p=0.0001)
1.96× fewer vs PW (p=0.0001)
2.19× cheaper vs CDT (p=0.0001)
Parameterized Live-Web Suite (4 WebVoyager domains + Wikipedia, 45 runs, gemini-3.8-flash)@playwright/mcp & chrome-devtools-mcp1.67–1.98× faster overall (37.59s vs 62.63s/74.24s)
2.41–2.66× faster Cold (30.14s)
Pure L1 arxiv-v3: 15.35s (3.5–3.9× faster)
#1 SR: 100.0% (15/15) vs 80.0% PW / 93.3% CDT2.57–2.90× fewer LLM (5.27 vs 15.27/13.53)1.87–2.89× fewer input tok
1.36–1.98× cheaper @ 90% cache (1.70–2.12× Cost/Pass)
BU Bench V2.1 (Paired bcode 0.1.20) (30 tasks bu2-001..030, gpt-6.2-sol local headless)Browser Use bcode 0.1.201.89× fewer browser tool calls (14.8 vs 28.0, p=0.0000) & 7.5× fewer screenshots (16.8 vs 126.1, p=0.0000)+5.23 pts higher: 58.6 vs 53.3 (3× 100.0 perfect scores where bcode timed out)1.10× fewer LLM steps (34.4 vs 38.0)4.2× fewer uncached input tokens (p=0.0097); 0 PII hits (single-pass cold)

Every pandause cost figure in this README meters 100% of calling-LLM tokens + 100% of Layer 2 Decision Model tokens.


Live Codex Demo: Lyft Receipt Capture (Without vs With PandaUse)

1. Live Matched codex exec A/B (gpt-6.2-astra, 6-Ride Receipt Portal)

Identical prompt and model (gpt-6.2-astra, reasoning_effort=low) navigating a 6-ride Lyft receipt flow (Ride History → Your Trip → View Receipt (map + itemized payment) → Save PNG):

MetricCodex WITHOUT PandaUse (chrome-devtools-mcp)Codex WITH PandaUse (pandause)Improvement
Total Wall Time42.38s26.22s1.62× faster
MCP Tool Calls29122.42× fewer
Warm Receipt Replay (Rides 2–6)Re-navigates from scratch every ride550–578 ms / ride (5/5 Pure Layer 1: D=0, A=0)0 decision / 0 agent steps
Input Tokens440,558399,3611.10× fewer
Session Rollout Size1,115 KB310 KB3.60× smaller
Receipt PNGs Saved to Disk0 / 6 (write denied, base64 inline)6 / 6 (save_screenshot, zero PII in SQLite)100% saved

2. Real iPhone Mirroring (com.apple.ScreenContinuity) Lyft Telemetry

From live Codex Desktop App sessions capturing itemized October Lyft receipts via macOS iPhone Mirroring:

  • Steady-state LLM efficiency: PandaUse captured 8 rides (9 Retina 834×1836 PNGs written directly to disk via save_screenshot, 0 image tokens sent to the LLM) in 7 LLM turns (0.88 turns/ride) vs Codex built-in cua_repl's 2.57 turns/ride (59 LLM turns across its 23-ride burst): 2.9× fewer LLM turns per ride.
  • Native macOS capture + Vision OCR speedup: Fixing the ScreenCaptureKit main-thread RunLoop pump, switching OCR to .fast, and pooling a persistent warm sg-macos helper cut live iPhone Mirroring observe latency from 4,552 ms → ~94 ms warm (74.5 ms Retina capture + 19.9 ms OCR, 48× faster).

Full Benchmark Results

1. OSWorld-Verified (Ubuntu Desktop · 115 Runs Across 3 Models)

Official xlang-ai/OSWorld evaluator (env.evaluate()) on Lite.OSWorld 1920×1080 Ubuntu Modal VMs across 8 desktop domains (10 tasks: os Trash recovery, chrome, vs_code ×2, gimp ×2, libreoffice_calc, libreoffice_writer, vlc, thunderbird). Warm runs execute on a freshly reset VM using only the SQLite graph learned during Cold (0 PII hits across all runs).

claude-opus-5-5: Anthropic Native Computer Use vs pandause (Bison Optimization)

ConfigurationSplit (n)Pass RateAvg / Med LatencyAvg LLMAvg ToolsAvg Input TokAvg L2 Calls / TokAvg Cost (Raw / Cached)Avg G / D / A
Anthropic claude-computer-use (native)Cold (10)80% (8/10)54.32s / 21.34s6.8020.4065,5200 / 0$0.2809 / $0.06890 / 0 / 9.1
pandause (orig, Gemini L2)Cold (10)80% (8/10)34.14s / 30.86s7.507.40151,3505.9 / 15,415$0.6338 / $0.21020 / 0 / 7.7
pandause (bison_opt)Cold (10)80% (8/10)34.64s / 30.65s6.906.0061,9775.0 / 14,146$0.2706 / $0.08350 / 0 / 8.3
pandause (bison_v2, default)Cold (10)80% (8/10)25.85s / 25.24s6.705.8056,7640.0 / 0$0.2473 / $0.08040 / 0 / 7.3
Matched 8 Passing Tasks: claude-computer-useCold (8)100% (8/8)61.37s / 20.23s7.0021.6269,5930 / 0$0.2982 / $0.07150 / 0 / 9.9
Matched 8 Passing Tasks: pandause (orig)Warm (8)100% (8/8)37.44s / 20.58s6.505.50170,6782.1 / 7,125$0.7096 / $0.18654.1 / 0 / 5.8
Matched 8 Passing Tasks: pandause (bison_opt)Warm (8)100% (8/8)41.77s / 27.55s6.505.5064,7683.5 / 15,250$0.2841 / $0.07924.8 / 0.1 / 6.8
Matched 8 Passing Tasks: pandause (bison_v2)Warm (8)100% (8/8)27.26s / 30.43s4.383.3832,2661.0 / 1,151$0.1436 / $0.04524.6 / 0 / 3.6
Pure Layer 1 Warm Subset (OS, Thunderbird, Writer, VS Code)Warm (4/8)100% (4/4)17.06s (8.85–28.3s)2.001.008,6710.0 / 0$0.0397 / $0.01436.0 / 0 / 0

On the 4 Pure Layer 1 tasks, Anthropic's native claude-computer-use averaged 26.45s / 6.50 LLM calls / 18.25 tools / 62,364 input tokens / $0.2668 raw ($0.0650 cached); pandause is 1.55× faster, 18.25× fewer tools, 7.19× fewer tokens, and 4.56× cheaper (cached).

Additional OSWorld Models (gemini-3.6-flash & gpt-5.4-mini)

ModelArm / Phase (n)Pass RateAvg / Med LatencyAvg LLMAvg ToolsAvg Input TokAvg Cost (Raw / Cached)Avg G / D / A
gemini-3.6-flashRaw Desktop Baseline Cold (10)70% (7/10)67.10s / 37.25s14.3013.40302,636$0.4823 / $0.47070 / 0 / 0
gemini-3.6-flashpandause Cold (10)70% (7/10)33.80s / 32.41s (1.99×)7.906.9094,782 (3.19×)$0.1552 / $0.1423 (3.31×)0 / 0 / 6.2
gemini-3.6-flashpandause Warm (7)85.7% (6/7)33.51s / 25.64s (1.90×)6.145.1470,175 (2.89×)$0.1181 / $0.1068 (2.98×)4.3 / 0.1 / 3.7
gpt-5.4-miniRaw Desktop Baseline Cold (10)0% (0/10)60.97s / 59.31s20.0020.30439,399$0.3322 / $0.15760 / 0 / 0
gpt-5.4-minipandause Cold (10)20% (2/10)89.89s / 62.90s17.1016.90484,498$0.3732 / $0.17040 / 0 / 35.5
gpt-5.4-minipandause Warm (2)50% (1/2)112.03s (9.38s OS Pure L1)12.0011.50868,070$0.6648 / $0.25651.5 / 0 / 37.0

2. WebArena-Verified (shopping_admin) · 90 HAR-Verified Runs

6 templates × 5 entity variations × 3 MCPs (ServiceNow/webarena-verified==1.2.3, immutable Docker containers on Modal, gemini-3.8-flash at temp=0.0, Layer 2 gemini-decision-1).

Audited Full-30 Baseline (e037824, Zero Quota Aborts, Audited PASS)

MCP ServerSplitPass RateAvg / Med WallRaw Wall (w/ Retry)Avg LLMAvg / Med Input TokAvg Cost (0% / 90% Cache)Cost/Pass (0% / 90%)Avg G / D / A
pandause (e037824)Overall (30)93.3% (28/30)56.07s / 42.35s68.30s9.83297,525 / 125,274$0.1576 / $0.0436$0.1688 / $0.04672.8 / 1.1 / 7.3
chrome-devtools-mcpOverall (30)83.3% (25/30)92.82s / 76.59s98.65s21.73636,818 / 511,742$0.3282 / $0.0763$0.3938 / $0.09160 / 0 / 0
playwright-mcpOverall (30)76.7% (23/30)91.67s / 83.72s100.74s22.43357,106 / 367,075$0.1869 / $0.0552$0.2437 / $0.07190 / 0 / 0
pandause (e037824)Cold (6)100.0% (6/6)51.59s / 48.52s58.85s9.17225,242 / 198,606$0.1196 / $0.0393$0.1196 / $0.03930.0 / 1.7 / 6.7
pandause (e037824)Warm (24)91.7% (22/24)57.19s / 40.04s70.66s10.00315,596 / 114,156$0.1671 / $0.0447$0.1822 / $0.04873.5 / 1.0 / 7.5

62d38ef Efficiency Sweep & First A=0 Pure Layer 1 WebArena Replays

MCP ServerSlicePass RateAvg / Med WallAvg LLMAvg / Med Input TokAvg Cost (0% / 90% Cache)Cost/Pass (0% / 90%)Avg G / D / A
pandause (62d38ef)Exec-28 (ex 2× 429)82.1% (23/28)43.68s / 42.80s7.79158,129 / 110,024$0.0853 / $0.0300$0.1038 / $0.03653.6 / 1.0 / 5.3
chrome-devtools-mcpExec-2885.7% (24/28)89.16s / 72.45s21.36620,190 / 475,192$0.3189 / $0.0741$0.3720 / $0.08640 / 0 / 0
playwright-mcpExec-2882.1% (23/28)90.50s / 83.72s21.86344,010 / 317,557$0.1801 / $0.0536$0.2192 / $0.06530 / 0 / 0
  • First-ever A=0 WebArena MUTATE replays (62d38ef, HAR-verified):
    • tid=474 (cancel_order Warm 5, Pure L1 G:7/D:0/A:0, 0 L2 tok): 14.20s · 2 LLM · 6,621 tok · $0.0031 cached (5.84× / 3.40× faster, 64–70× fewer tok, 20× cheaper vs PW/CDT).
    • tid=490 (change_cms_page_title Warm 5, L1+L2 G:8/D:1/A:0): 16.61s · 2 LLM · 5,233 tok · $0.0038 (3.77–4.24× faster, 25–76× fewer tok vs PW/CDT).
  • Disclosure: 62d38ef hit 2 Gemini daily RPD 429 aborts (tid=457, 116) and 4 Magento KnockoutJS CDP toggle/change regressions (subsequently fixed in commit 1da71a9). SQLite zero-PII audit passed 5/6 DBs (111/111 literals clean); tpl 257 had five 3-digit DOM checkbox IDs (#idscheck302) matching below SanitizeLocator's 5-digit threshold.

3. MiniWoB++ Matched MCP Smackdown · 300 Runs (20 Tasks × 5 Deterministic Seeds)

Local deterministic Farama miniwob-plusplus (seeds 0..4), gemini-3.8-flash (temp=0.0), pandause@62d38ef vs @playwright/mcp vs chrome-devtools-mcp.

SplitMCP ServerRunsSR (>0)Exact 1.0 SRAvg WallAvg LLMAvg Total TokAvg Cost (Unc / 90% Cach)Cost/Pass (Unc / Cach)Avg G / D / A
Overall ALL (s0–4)pandause10092.0% (92)90.0% (90)13.22s1.979,567$0.00617 / $0.00461$0.00670 / $0.005011.5 / 0.2 / 0.9
Overall ALL (s0–4)playwright-mcp100100.0% (100)100.0% (100)20.37s5.9233,313$0.01831 / $0.01070$0.01831 / $0.010700 / 0 / 0
Overall ALL (s0–4)chrome-devtools-mcp100100.0% (100)100.0% (100)21.99s7.0762,315$0.03312 / $0.01506$0.03312 / $0.015060 / 0 / 0
Cold (s0)pandause20100.0% (20)100.0% (20)17.30s3.6518,308$0.01040 / $0.00774$0.01040 / $0.007740.0 / 0.5 / 2.4
Warm ALL (s1–4)pandause8090.0% (72)87.5% (70)12.20s1.557,382$0.00511 / $0.00383$0.00568 / $0.004251.8 / 0.1 / 0.6
Warm Exec-78 (matched)pandause7892.3% (72)89.7% (70)9.32s1.597,571$0.00524 / $0.00393$0.00568 / $0.00425-
Warm Exec-78 (matched)playwright-mcp78100.0% (78)100.0% (78)19.45s5.7231,223$0.01718 / $0.01025$0.01718 / $0.010250 / 0 / 0
Warm Exec-78 (matched)chrome-devtools-mcp78100.0% (78)100.0% (78)20.78s6.8558,843$0.03128 / $0.01450$0.03128 / $0.014500 / 0 / 0
Pure Layer 1 (strict, n=54)pandause54100.0% (54)100.0% (54)6.55s (395ms eng)1.002,380$0.00240 / $0.00240$0.00240 / $0.00240G>0 / 0 / 0
  • Zero-PII audit: 20/20 DBs PASS (79/79 dynamic parameter literals checked, 0 leaks).
  • Disclosure: Playwright & DevTools achieved 100% SR with arbitrary JS eval enabled (invoked 218 times); pandause ran without JS eval in this sweep and hit 2 Gemini daily RPD 429 aborts (excluded from matched Exec-78). Pure L1 n=54 excludes coincidental row-0 and partial-credit runs.

4. BU Bench V2.1 · Matched 3-Way MCP Eval (90 Runs) & Paired Local bcode (60 Runs)

4A. Simultaneous 3-Way MCP Eval (pandause@62d38ef, 15 Open Official Tasks × Cold+Warm = 90 Runs)

Official BU_Bench_V2.enc, gpt-5.4-mini (reasoning_effort=none, temp=0.0), official gpt-5.6-luna (xhigh) judge, 90/90 (100%) visual evidence parity, 0 timeouts, 0 rh_zeroed, 15/15 DBs 0 PII.

SliceMCP ServerRunsMean ScoreAvg In TokAvg L2+L3 TokAvg / Med WallAvg LLMAvg ToolsAvg Total Cost$/Score-Pt
Coldpandause1524.951,33764,02128.0s / 22.5s4.35.2$0.0256$0.001028
Coldplaywright-mcp1524.0106,679106,67938.9s / 22.2s12.417.7$0.0230$0.000958
Coldchrome-devtools-mcp1524.1352,257352,25761.3s / 49.7s13.316.4$0.0660$0.002741
Warmpandause1527.757,35370,60331.4s / 20.1s4.75.5$0.0270$0.000973
Warmplaywright-mcp1520.6106,704106,70435.6s / 23.4s12.315.4$0.0213$0.001035
Warmchrome-devtools-mcp1520.3228,158228,15876.6s / 35.8s10.714.0$0.0493$0.002431
Combinedpandause3026.354,34567,31229.7s / 22.4s4.55.4$0.0263$0.000999
Combinedplaywright-mcp3022.3106,691106,69137.3s / 23.0s12.416.6$0.0222$0.000994
Combinedchrome-devtools-mcp3022.2290,208290,20868.9s / 48.7s12.015.2$0.0576$0.002600
  • Exact Paired Permutation Tests (2^15 sign-flips): Clean p < 0.05 Warm sweep vs chrome-devtools-mcp on every metric (+7.5 score p=0.0156, 2.44× faster p=0.0263, 3.98× calling / 3.23× L2+L3 tok p=0.0001, 1.83× cheaper p=0.0005). vs playwright-mcp: 1.96× calling (p=0.0001) / 1.59× L2+L3 tok (p=0.0104), 2.73× fewer LLM calls; total dollar cost is a statistical tie (p=0.1879, $0.000999/pt vs $0.000994/pt) due to prompt-prefix cache rates (87.7% PW across 12.4 turns vs 58.8% PandaUse across 4.5 turns).

4B. Paired Local Headless BrowserCode (bcode 0.1.20 + gpt-6.2-sol) · 30 Official Tasks (bu2-001..030)

Single-pass cold evaluation (pandause@e51ec56 vs Browser Use bcode 0.1.20, local headless Chromium, gpt-6.2-sol, gpt-5.6-luna judge, 3600s cap):

ArmJudgedMean ScoreMed ScoreAvg / Med WallAvg LLM StepsAvg Browser CallsAvg ScreenshotsAvg CostZero-PII
pandause (e51ec56)30/3058.664.034.72m / 30.51m34.414.816.8$1.0060 PII
bcode 0.1.20 (Browser Use)30/3053.363.531.29m / 25.56m38.028.0126.1$0.820-
  • pandause scored +5.23 pts higher (3× 100.0 perfect scores on bu2-003, bu2-020, bu2-024 where bcode hit 60m timeouts scoring 0.0 / 0.0 / 8.0), with 1.89× fewer browser tool calls (p=0.0000), 7.5× fewer screenshots (p=0.0000), and 4.2× fewer uncached input tokens (p=0.0097).

5. Parameterized Live-Web Suite (4 WebVoyager Domains + Wikipedia) · 45 Simultaneous Runs

5 live non-CAPTCHA domains (ArXiv, Coursera, HuggingFace, GitHub + Wikipedia) × 3 entity variations × 3 MCPs = 45 simultaneous runs (0/45 CAPTCHAs), gemini-3.8-flash (temp=0.0), pandause@e037824, objective REST API / JSON-LD graders. (Custom parameterized suite across WebVoyager domains, not verbatim WebVoyager_data.jsonl tasks.)

MCP ServerSplitPass RateAvg / Med WallAvg Wall (w/ Retry)Avg LLMAvg Input TokAvg Cost (0% / 90% Cache)Cost/Pass (0% / 90%)Avg G / D / A
pandauseOverall (15)100.0% (15/15)37.59s / 29.27s45.99s5.27140,589$0.0796 / $0.0342$0.0796 / $0.03422.2 / 0.7 / 2.5
playwright-mcpOverall (15)80.0% (12/15)62.63s / 52.87s77.62s15.27262,559$0.1400 / $0.0464$0.1750 / $0.05800 / 0 / 0
chrome-devtools-mcpOverall (15)93.3% (14/15)74.24s / 53.09s86.14s13.53406,712$0.2177 / $0.0676$0.2333 / $0.07240 / 0 / 0
pandauseCold (5)100.0% (5/5)30.14s / 29.27s30.14s5.0073,238$0.0428 / $0.0236$0.0428 / $0.02360.0 / 0.8 / 2.8
pandauseWarm (10)100.0% (10/10)41.32s / 28.98s53.92s5.40174,265$0.0979 / $0.0395$0.0979 / $0.03953.3 / 0.7 / 2.3
  • Pure Layer 1 highlight (arxiv-v3-warm, G:6/D:0/A:0): 15.35s · 1 tool call · 2 LLM · 7,326 tok · $0.0073 vs Playwright 59.42s ($0.0684 cached) and DevTools 53.09s ($0.0765 cached). Also wiki-v2/v3 Pure L1 (G:4/0/0, 13.14s/13.39s).
  • Disclosure: 0 full parameter, goal, or URL-slug leaks across 15 DB snapshots; 10 short entity #id partial tokens from GitHub/HF/Wikipedia DOM IDs were observed in states.anchors/elements.

6. Verified Architecture Experiments (A/B Proven Wins)

  • Low-Risk SOTA Bundle (62d38ef, 40 matched A/B runs): Trusted CDP input, strict modal visibility, volatile framework UID filtering, control-template matching, path compaction, and step-level L2 re-grounding cut uncached cost −35.2% and 90%-cached cost −26.4% across all 4 web suites simultaneously.
  • Reliability Gate + Date/Ordinal/Row-Scoped Slots (62d38ef): Lifted MiniWoB++ target tasks +12.0 pp (76% → 88%, choose-date-easy 1/5 → 5/5 at 569–630ms engine Pure L1) and cut WebArena warm tokens −44.6% with 0 extra prompt tokens.
  • Visual UI Parsing (e51ec56): Unlocked 0% → 100% Pure Layer 1 replay on <canvas> and div-soup/SVG apps via 20×20 quantized ptg: grid anchors (1.0000 Jaccard across dynamic artwork changes, 335ms DHash cache hit) with 0ms / $0 overhead on standard DOM pages (≥ 2 DOM elements) and 0 PII / 0 PNG bytes stored in SQLite.

Architecture: 3-Layer State Graph Engine

PandaUse 3-Layer State Graph Architecture

LayerTriggerEngineLatencyCost
Layer 1: Graph ReplayKnown state (≥ 0.95 Jaccard or ≥ 0.94 Visual dHash) with proven pathApp-global Dijkstra over SQLite (~/.pandause/graph.db)~50–400 ms$0 (0 LLM calls)
Layer 2: System-1 DecisionFuzzy state / drifted locator / branch (≥ 0.75)Calibrated 0-output-token Decision Model (Baseten Bison default, Google gemini-decision-1, OpenAI) + binary irreversibility check (Yes())~150–400 msFraction of a cent
Layer 3: Host AgentNovel screen or irreversible actionEscalates compact keypoints (+ PNG when needed) to Codex / Claude; every act immediately teaches the graphHost LLM turnPaid once

Drivers included in one binary: Chrome CDP (managed or attached), Safari DOM, macOS native Accessibility + ScreenCaptureKit + Apple Vision OCR (including iPhone Mirroring), cua-driver, and Linux OSWorld AT-SPI.

Zero-PII storage: SQLite never stores screenshots, element labels, typed parameter values, bounding boxes, or URL query/path PII: only structural fingerprints, sanitized locators, parameter slot names ({email}, {ride}), and transition reliability counters.


MCP Tools

ToolPurpose
runExecute a goal through the 3-layer state graph (Layer 1 replay → Layer 2 decision → Layer 3 escalation). Supports params, screenshot, and save_screenshot (writes PNG directly to disk).
actExecute a single UI action or ordered batch steps[] (click, double_click, triple_click, right_click, type, select, scroll, drag, hotkey, open), teach the graph, and optionally auto-resume Layer 1/2. Supports save_screenshot.
observeObserve a macOS app, URL, or parallel urls[] as compact UI keypoints (+ Vision OCR on mirrored/canvas windows) and check graph state match. Supports save_screenshot.
extractRead-only data extraction from an active session tab, URL, or parallel urls[] (structured text, tables, links, JSON-LD, or custom read-only JS).
mark_goalCredit a verified path as achieving the goal (ok=true) or penalize failed transitions (ok=false).
graph_infoInspect structural state graph stats (states, transitions, goals) or reset learned data for an app.

Environment Variables

  • BASETEN_API_KEY: Enables Baseten Bison (decision-models/baseten-bison-latest, default Layer 2 provider).
  • GEMINI_API_KEY / GOOGLE_API_KEY: Fallback / alternative Layer 2 provider (gemini-decision-1) + visual screen parser.
  • OPENAI_API_KEY: Alternative Layer 2 provider.
  • PANDAUSE_DECIDER: Override provider (baseten, google, openai, none).
  • PANDAUSE_DB: Custom SQLite database path (default ~/.pandause/graph.db).
  • PANDAUSE_CDP_URL: Connect to an existing Chrome DevTools endpoint (default auto-managed Chrome on 127.0.0.1:9222).
  • PANDAUSE_HEADLESS=1: Run managed Chrome headlessly.
  • PANDAUSE_OSWORLD_URL: Connect to an OSWorld VM server.

Legacy STATEGRAPH_* environment variable names remain supported as fallbacks.

NPM
@pandause/pandause
Install Command
npm install @pandause/pandause