stategraph-mcp
Enables computer-use automation of Apple's iPhone Mirroring (com.apple.ScreenContinuity), including screen capture and OCR.
Enables computer-use automation on Linux desktops, including native applications and desktop tasks.
Allows capturing Lyft ride receipts by navigating the Lyft receipt portal (Ride History → Your Trip → View Receipt) and saving receipt PNGs, as demonstrated in live Codex and iPhone Mirroring sessions.
Enables computer-use automation of native macOS applications, including screen capture and OCR.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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)
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 Suite | Baseline Compared | Latency Speedup ( | Accuracy / Score | LLM & Tool Reduction | Token & Cost Efficiency |
OSWorld-Verified Desktop (10 Ubuntu apps, | Anthropic native | 2.10× faster Cold ( | 80% Cold (8/10) (tie)100% Warm (8/8) | 3.52× fewer tools Cold ( | 2.16× fewer input tok Warm1.58× cheaper cached ( |
OSWorld-Verified Desktop (10 Ubuntu apps, | Raw AT-SPI + Screenshot baseline | 1.99× faster Cold ( | 70% Cold (7/10) (tie)85.7% Warm (6/7) | 1.81× fewer LLM Cold2.21× fewer LLM Warm | 3.19× fewer tok Cold / 2.89× Warm3.31× cheaper Cold / 2.98× Warm |
MiniWoB++ Smackdown (20 tasks × 5 seeds = 300 runs, |
| 2.09–2.23× faster matched Warm ( | 100% Cold (20/20)92.0% All-100 ( | 3.78–4.48× fewer LLM Warm5.19–6.65× fewer Pure L1 ( | 4.44–8.21× fewer tok Warm11.24–23.25× fewer tok Pure L13.82–5.73× cheaper @ 90% cache Pure L1 |
WebArena-Verified |
| 1.63–1.66× avg / 1.81–1.98× med faster ( | #1 SR: 93.3% (28/30) (100% Cold, 100% MUTATE) vs | 2.21–2.28× fewer LLM ( | 1.26–1.75× avg (1.93–2.28× med) cheaper @ 90% cache ( |
BU Bench V2.1 (3-Way MCP) (15 open tasks × Cold+Warm = 90 runs, |
| 2.32× faster vs CDT ( | #1 across every split:24.9 Cold / 27.7 Warm / 26.3 Comb vs | 2.64–2.73× fewer LLM ( | 5.34× fewer calling tok vs CDT ( |
Parameterized Live-Web Suite (4 WebVoyager domains + Wikipedia, 45 runs, |
| 1.67–1.98× faster overall ( | #1 SR: 100.0% (15/15) vs | 2.57–2.90× fewer LLM ( | 1.87–2.89× fewer input tok1.36–1.98× cheaper @ 90% cache (1.70–2.12× Cost/Pass) |
BU Bench V2.1 (Paired | Browser Use | 1.89× fewer browser tool calls ( | +5.23 pts higher: 58.6 vs 53.3 ( | 1.10× fewer LLM steps ( | 4.2× fewer uncached input tokens ( |
Every
pandausecost figure in this README meters 100% of calling-LLM tokens + 100% of Layer 2 Decision Model tokens.
Related MCP server: oswright
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):
Metric | Codex WITHOUT PandaUse ( | Codex WITH PandaUse ( | Improvement |
Total Wall Time |
|
|
|
MCP Tool Calls |
|
|
|
Warm Receipt Replay (Rides 2–6) | Re-navigates from scratch every ride |
| 0 decision / 0 agent steps |
Input Tokens |
|
|
|
Session Rollout Size |
|
|
|
Receipt PNGs Saved to Disk |
|
| 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×1836PNGs written directly to disk viasave_screenshot,0image tokens sent to the LLM) in7LLM turns (0.88turns/ride) vs Codex built-incua_repl's2.57turns/ride (59LLM turns across its 23-ride burst):2.9×fewer LLM turns per ride.Native macOS capture + Vision OCR speedup: Fixing the
ScreenCaptureKitmain-threadRunLooppump, switching OCR to.fast, and pooling a persistent warmsg-macoshelper cut live iPhone Mirroringobservelatency from4,552 ms→~94 mswarm (74.5 msRetina capture +19.9 msOCR,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)
Configuration | Split ( | Pass Rate | Avg / Med Latency | Avg LLM | Avg Tools | Avg Input Tok | Avg L2 Calls / Tok | Avg Cost (Raw / Cached) | Avg G / D / A |
Anthropic | Cold (10) | 80% (8/10) | 54.32s / 21.34s | 6.80 | 20.40 | 65,520 | 0 / 0 | $0.2809 / $0.0689 | 0 / 0 / 9.1 |
| Cold (10) | 80% (8/10) | 34.14s / 30.86s | 7.50 | 7.40 | 151,350 | 5.9 / 15,415 | $0.6338 / $0.2102 | 0 / 0 / 7.7 |
| Cold (10) | 80% (8/10) | 34.64s / 30.65s | 6.90 | 6.00 | 61,977 | 5.0 / 14,146 | $0.2706 / $0.0835 | 0 / 0 / 8.3 |
| Cold (10) | 80% (8/10) | 25.85s / 25.24s | 6.70 | 5.80 | 56,764 | 0.0 / 0 | $0.2473 / $0.0804 | 0 / 0 / 7.3 |
Matched 8 Passing Tasks: | Cold (8) | 100% (8/8) | 61.37s / 20.23s | 7.00 | 21.62 | 69,593 | 0 / 0 | $0.2982 / $0.0715 | 0 / 0 / 9.9 |
Matched 8 Passing Tasks: | Warm (8) | 100% (8/8) | 37.44s / 20.58s | 6.50 | 5.50 | 170,678 | 2.1 / 7,125 | $0.7096 / $0.1865 | 4.1 / 0 / 5.8 |
Matched 8 Passing Tasks: | Warm (8) | 100% (8/8) | 41.77s / 27.55s | 6.50 | 5.50 | 64,768 | 3.5 / 15,250 | $0.2841 / $0.0792 | 4.8 / 0.1 / 6.8 |
Matched 8 Passing Tasks: | Warm (8) | 100% (8/8) | 27.26s / 30.43s | 4.38 | 3.38 | 32,266 | 1.0 / 1,151 | $0.1436 / $0.0452 | 4.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.00 | 1.00 | 8,671 | 0.0 / 0 | $0.0397 / $0.0143 | 6.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)
Model | Arm / Phase ( | Pass Rate | Avg / Med Latency | Avg LLM | Avg Tools | Avg Input Tok | Avg Cost (Raw / Cached) | Avg G / D / A |
| Raw Desktop Baseline Cold (10) | 70% (7/10) | 67.10s / 37.25s | 14.30 | 13.40 | 302,636 | $0.4823 / $0.4707 | 0 / 0 / 0 |
|
| 70% (7/10) | 33.80s / 32.41s (1.99×) | 7.90 | 6.90 | 94,782 (3.19×) | $0.1552 / $0.1423 (3.31×) | 0 / 0 / 6.2 |
|
| 85.7% (6/7) | 33.51s / 25.64s (1.90×) | 6.14 | 5.14 | 70,175 (2.89×) | $0.1181 / $0.1068 (2.98×) | 4.3 / 0.1 / 3.7 |
| Raw Desktop Baseline Cold (10) | 0% (0/10) | 60.97s / 59.31s | 20.00 | 20.30 | 439,399 | $0.3322 / $0.1576 | 0 / 0 / 0 |
|
| 20% (2/10) | 89.89s / 62.90s | 17.10 | 16.90 | 484,498 | $0.3732 / $0.1704 | 0 / 0 / 35.5 |
|
| 50% (1/2) | 112.03s ( | 12.00 | 11.50 | 868,070 | $0.6648 / $0.2565 | 1.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 Server | Split | Pass Rate | Avg / Med Wall | Raw Wall (w/ Retry) | Avg LLM | Avg / Med Input Tok | Avg Cost (0% / 90% Cache) | Cost/Pass (0% / 90%) | Avg G / D / A |
| Overall (30) | 93.3% (28/30) | 56.07s / 42.35s | 68.30s | 9.83 | 297,525 / 125,274 | $0.1576 / $0.0436 | $0.1688 / $0.0467 | 2.8 / 1.1 / 7.3 |
| Overall (30) | 83.3% (25/30) | 92.82s / 76.59s | 98.65s | 21.73 | 636,818 / 511,742 | $0.3282 / $0.0763 | $0.3938 / $0.0916 | 0 / 0 / 0 |
| Overall (30) | 76.7% (23/30) | 91.67s / 83.72s | 100.74s | 22.43 | 357,106 / 367,075 | $0.1869 / $0.0552 | $0.2437 / $0.0719 | 0 / 0 / 0 |
| Cold (6) | 100.0% (6/6) | 51.59s / 48.52s | 58.85s | 9.17 | 225,242 / 198,606 | $0.1196 / $0.0393 | $0.1196 / $0.0393 | 0.0 / 1.7 / 6.7 |
| Warm (24) | 91.7% (22/24) | 57.19s / 40.04s | 70.66s | 10.00 | 315,596 / 114,156 | $0.1671 / $0.0447 | $0.1822 / $0.0487 | 3.5 / 1.0 / 7.5 |
62d38ef Efficiency Sweep & First A=0 Pure Layer 1 WebArena Replays
MCP Server | Slice | Pass Rate | Avg / Med Wall | Avg LLM | Avg / Med Input Tok | Avg Cost (0% / 90% Cache) | Cost/Pass (0% / 90%) | Avg G / D / A |
|
| 82.1% (23/28) | 43.68s / 42.80s | 7.79 | 158,129 / 110,024 | $0.0853 / $0.0300 | $0.1038 / $0.0365 | 3.6 / 1.0 / 5.3 |
|
| 85.7% (24/28) | 89.16s / 72.45s | 21.36 | 620,190 / 475,192 | $0.3189 / $0.0741 | $0.3720 / $0.0864 | 0 / 0 / 0 |
|
| 82.1% (23/28) | 90.50s / 83.72s | 21.86 | 344,010 / 317,557 | $0.1801 / $0.0536 | $0.2192 / $0.0653 | 0 / 0 / 0 |
First-ever
A=0WebArena MUTATE replays (62d38ef, HAR-verified):tid=474(cancel_orderWarm 5, Pure L1G:7/D:0/A:0,0L2 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_titleWarm 5, L1+L2G: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:
62d38efhit 2 Gemini daily RPD429aborts (tid=457, 116) and 4 Magento KnockoutJS CDP toggle/changeregressions (subsequently fixed in commit1da71a9). SQLite zero-PII audit passed 5/6 DBs (111/111literals clean);tpl 257had five 3-digit DOM checkbox IDs (#idscheck302) matching belowSanitizeLocator'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.
Split | MCP Server | Runs | SR ( | Exact | Avg Wall | Avg LLM | Avg Total Tok | Avg Cost (Unc / 90% Cach) | Cost/Pass (Unc / Cach) | Avg G / D / A |
Overall ALL ( |
| 100 | 92.0% (92) | 90.0% (90) | 13.22s | 1.97 | 9,567 | $0.00617 / $0.00461 | $0.00670 / $0.00501 | 1.5 / 0.2 / 0.9 |
Overall ALL ( |
| 100 | 100.0% (100) | 100.0% (100) | 20.37s | 5.92 | 33,313 | $0.01831 / $0.01070 | $0.01831 / $0.01070 | 0 / 0 / 0 |
Overall ALL ( |
| 100 | 100.0% (100) | 100.0% (100) | 21.99s | 7.07 | 62,315 | $0.03312 / $0.01506 | $0.03312 / $0.01506 | 0 / 0 / 0 |
Cold ( |
| 20 | 100.0% (20) | 100.0% (20) | 17.30s | 3.65 | 18,308 | $0.01040 / $0.00774 | $0.01040 / $0.00774 | 0.0 / 0.5 / 2.4 |
Warm ALL ( |
| 80 | 90.0% (72) | 87.5% (70) | 12.20s | 1.55 | 7,382 | $0.00511 / $0.00383 | $0.00568 / $0.00425 | 1.8 / 0.1 / 0.6 |
Warm |
| 78 | 92.3% (72) | 89.7% (70) | 9.32s | 1.59 | 7,571 | $0.00524 / $0.00393 | $0.00568 / $0.00425 | - |
Warm |
| 78 | 100.0% (78) | 100.0% (78) | 19.45s | 5.72 | 31,223 | $0.01718 / $0.01025 | $0.01718 / $0.01025 | 0 / 0 / 0 |
Warm |
| 78 | 100.0% (78) | 100.0% (78) | 20.78s | 6.85 | 58,843 | $0.03128 / $0.01450 | $0.03128 / $0.01450 | 0 / 0 / 0 |
Pure Layer 1 (strict, |
| 54 | 100.0% (54) | 100.0% (54) | 6.55s ( | 1.00 | 2,380 | $0.00240 / $0.00240 | $0.00240 / $0.00240 |
|
Zero-PII audit: 20/20 DBs PASS (
79/79dynamic parameter literals checked,0leaks).Disclosure: Playwright & DevTools achieved 100% SR with arbitrary JS
evalenabled (invoked 218 times);pandauseran without JSevalin this sweep and hit 2 Gemini daily RPD429aborts (excluded from matchedExec-78). Pure L1n=54excludes 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.
Slice | MCP Server | Runs | Mean Score | Avg In Tok | Avg L2+L3 Tok | Avg / Med Wall | Avg LLM | Avg Tools | Avg Total Cost | $/Score-Pt |
Cold |
| 15 | 24.9 | 51,337 | 64,021 | 28.0s / 22.5s | 4.3 | 5.2 | $0.0256 | $0.001028 |
Cold |
| 15 | 24.0 | 106,679 | 106,679 | 38.9s / 22.2s | 12.4 | 17.7 | $0.0230 | $0.000958 |
Cold |
| 15 | 24.1 | 352,257 | 352,257 | 61.3s / 49.7s | 13.3 | 16.4 | $0.0660 | $0.002741 |
Warm |
| 15 | 27.7 | 57,353 | 70,603 | 31.4s / 20.1s | 4.7 | 5.5 | $0.0270 | $0.000973 |
Warm |
| 15 | 20.6 | 106,704 | 106,704 | 35.6s / 23.4s | 12.3 | 15.4 | $0.0213 | $0.001035 |
Warm |
| 15 | 20.3 | 228,158 | 228,158 | 76.6s / 35.8s | 10.7 | 14.0 | $0.0493 | $0.002431 |
Combined |
| 30 | 26.3 | 54,345 | 67,312 | 29.7s / 22.4s | 4.5 | 5.4 | $0.0263 | $0.000999 |
Combined |
| 30 | 22.3 | 106,691 | 106,691 | 37.3s / 23.0s | 12.4 | 16.6 | $0.0222 | $0.000994 |
Combined |
| 30 | 22.2 | 290,208 | 290,208 | 68.9s / 48.7s | 12.0 | 15.2 | $0.0576 | $0.002600 |
Exact Paired Permutation Tests (
2^15sign-flips): Cleanp < 0.05Warm sweep vschrome-devtools-mcpon every metric (+7.5scorep=0.0156,2.44×fasterp=0.0263,3.98×calling /3.23×L2+L3 tokp=0.0001,1.83×cheaperp=0.0005). vsplaywright-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/ptvs$0.000994/pt) due to prompt-prefix cache rates (87.7%PW across 12.4 turns vs58.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):
Arm | Judged | Mean Score | Med Score | Avg / Med Wall | Avg LLM Steps | Avg Browser Calls | Avg Screenshots | Avg Cost | Zero-PII |
| 30/30 | 58.6 | 64.0 | 34.72m / 30.51m | 34.4 | 14.8 | 16.8 | $1.006 | 0 PII |
| 30/30 | 53.3 | 63.5 | 31.29m / 25.56m | 38.0 | 28.0 | 126.1 | $0.820 | - |
pandausescored +5.23 pts higher (3× 100.0perfect scores onbu2-003,bu2-020,bu2-024wherebcodehit 60m timeouts scoring0.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 Server | Split | Pass Rate | Avg / Med Wall | Avg Wall (w/ Retry) | Avg LLM | Avg Input Tok | Avg Cost (0% / 90% Cache) | Cost/Pass (0% / 90%) | Avg G / D / A |
| Overall (15) | 100.0% (15/15) | 37.59s / 29.27s | 45.99s | 5.27 | 140,589 | $0.0796 / $0.0342 | $0.0796 / $0.0342 | 2.2 / 0.7 / 2.5 |
| Overall (15) | 80.0% (12/15) | 62.63s / 52.87s | 77.62s | 15.27 | 262,559 | $0.1400 / $0.0464 | $0.1750 / $0.0580 | 0 / 0 / 0 |
| Overall (15) | 93.3% (14/15) | 74.24s / 53.09s | 86.14s | 13.53 | 406,712 | $0.2177 / $0.0676 | $0.2333 / $0.0724 | 0 / 0 / 0 |
| Cold (5) | 100.0% (5/5) | 30.14s / 29.27s | 30.14s | 5.00 | 73,238 | $0.0428 / $0.0236 | $0.0428 / $0.0236 | 0.0 / 0.8 / 2.8 |
| Warm (10) | 100.0% (10/10) | 41.32s / 28.98s | 53.92s | 5.40 | 174,265 | $0.0979 / $0.0395 | $0.0979 / $0.0395 | 3.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 Playwright59.42s($0.0684cached) and DevTools53.09s($0.0765cached). Alsowiki-v2/v3Pure L1 (G:4/0/0,13.14s/13.39s).Disclosure:
0full parameter, goal, or URL-slug leaks across 15 DB snapshots; 10 short entity#idpartial tokens from GitHub/HF/Wikipedia DOM IDs were observed instates.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-easy1/5 → 5/5at569–630msengine 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 quantizedptg:grid anchors (1.0000Jaccard across dynamic artwork changes,335msDHash cache hit) with 0ms / $0 overhead on standard DOM pages (≥ 2DOM elements) and 0 PII / 0 PNG bytes stored in SQLite.
Architecture: 3-Layer State Graph Engine
Layer | Trigger | Engine | Latency | Cost |
Layer 1: Graph Replay | Known state ( | App-global Dijkstra over SQLite ( | ~50–400 ms | $0 (0 LLM calls) |
Layer 2: System-1 Decision | Fuzzy state / drifted locator / branch ( | Calibrated 0-output-token Decision Model (Baseten Bison default, Google | ~150–400 ms | Fraction of a cent |
Layer 3: Host Agent | Novel screen or irreversible action | Escalates compact keypoints (+ PNG when needed) to Codex / Claude; every | Host LLM turn | Paid 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.
Quick Start
1-Click Install
Standard mcp.json (Cursor, Claude Desktop, Windsurf, Antigravity)
{
"mcpServers": {
"pandause": {
"command": "npx",
"args": ["-y", "@pandause/pandause"],
"env": {
"BASETEN_API_KEY": "your-baseten-api-key"
}
}
}
}
GEMINI_API_KEY/GOOGLE_API_KEYorOPENAI_API_KEYalso work out of the box for Layer 2; omitenvto run Layer 1 + Layer 3 only with zero API keys.
Claude Code & OpenAI Codex
Claude Code:
claude mcp add pandause -- npx -y @pandause/pandauseOpenAI Codex CLI:
codex mcp add pandause -- npx -y @pandause/pandauseOr add to ~/.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.0Homebrew & Build from Source
Homebrew (macOS / Linux):
brew install panda-use/tap/pandauseBuild from source (Go 1.27+, plus Xcode Command Line Tools on macOS for sg-macos; produces ./pandause and sg-macos):
make build
make testPoint 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.
MCP Tools
Tool | Purpose |
| Execute a goal through the 3-layer state graph (Layer 1 replay → Layer 2 decision → Layer 3 escalation). Supports |
| Execute a single UI action or ordered batch |
| Observe a macOS app, URL, or parallel |
| Read-only data extraction from an active session tab, URL, or parallel |
| Credit a verified path as achieving the goal ( |
| Inspect structural state graph stats ( |
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 on127.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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Let your AI see your screen, click, type and run commands on your own Windows, Mac or Linux PC.
AI-powered web automation. Navigate websites using AI agents for one page or a thousand
AI-powered web automation. Navigate websites using AI agents for one page or a thousand
Autonomous cloud agent tasks: real browser + your tools, structured evidence-backed results.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables a frontier model to drive a desktop at input speed by delegating rapid sequences of keyboard and mouse actions to small local models running via a state-machine playbook, without per-action round-trips.16MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to automate real desktop applications across Windows, Linux, and macOS using incremental screen perception, accessibility trees, OCR, and window management, dramatically reducing token usage compared to screenshot-per-step approaches.4MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to autonomously control Windows 11 and 10 desktops via sub-10ms screen capture, native UI Automation element inspection, and zero-lag keyboard and mouse input. Combines a visual plane with a semantic plane and stall detection so agents can operate real applications reliably without vision-only guessing.1,004 npm196 PyPI7MIT
- AlicenseAqualityBmaintenanceEnables AI agents to automate GUI interactions across Windows, Linux, macOS, Android, iOS, and browsers using structured platform APIs first, with vision grounding as a fallback for robust cross-platform computer use.17MIT