Benchmark R3 · Codex follow-up · 2026-11-24
Four React Native device setups on Codex (GPT-6 Luna (medium))
A narrow R3 follow-up comparing bare shell, agent-device CLI, Argent MCP, and Parallax MCP on Codex 0.171.0 with GPT-6 Luna (medium). Two tasks from R3, 3 counted runs per cell (24 counted runs total, 0 simulator crashes), scored by an independent AXe 2.0.4 script. Listed in neutral A0–A3 order without ranking.
- counted runs (3/3 per cell across 2 tasks and 4 setups on 2026-11-24; 0 crashes)
- 24counted runs (3/3 per cell across 2 tasks and 4 setups on 2026-11-24; 0 crashes)
- G5 (pull to refresh) fixed across all 4 setups (n = 3 per setup, unranked)
- 12 / 12G5 (pull to refresh) fixed across all 4 setups (n = 3 per setup, unranked)
- G7 (persisted state) fixed across all 4 setups (time and cost omitted; diagnosis only)
- 0 / 12G7 (persisted state) fixed across all 4 setups (time and cost omitted; diagnosis only)
- modeled API list-rate total across 24 counted runs (ChatGPT subscription)
- $0.21modeled API list-rate total across 24 counted runs (ChatGPT subscription)
Results (n = 3 per cell, neutral A0–A3 order)
G5 · Pull to refresh
12/12 fixed (3/3 per setup)Pull to refresh on Products never stops spinning. Neutral A0–A3 order with per-run ranges (n = 3 per setup; not ranked).
| Setup | Fixed | Time: median (range) | Calls (range) | Input tokens | Output | Modeled cost (range) |
|---|---|---|---|---|---|---|
| A0 · Shell onlyAXe 2.0.4 | 3/3 | 49.4 s (44.8 s–52.1 s) | 10 (9–15) | 216,352 | 1,393 | $0.0052 ($0.0033–$0.0080) |
| A1 · agent-device CLI0.21.42 | 3/3 | 94.0 s (86.2 s–103.8 s) | 17 (15–22) | 415,436 | 2,503 | $0.0090 ($0.0077–$0.0099) |
| A2 · Argent MCP0.34.0superseded, faulty setup | 3/3 | 79.8 s (68.3 s–132.5 s) | 15 (14–21) | 446,845 | 2,142 | $0.0115 ($0.0080–$0.0157) |
| A3 · Parallax MCP0.1.0-beta.16 | 3/3 | 51.9 s (44.3 s–53.7 s) | 15 (12–18) | 271,512 | 1,330 | $0.0059 ($0.0057–$0.0072) |
G7 · Persisted state
0/12 fixed (0/3 per setup; diagnosis only)The Desk lamp is missing from the Products list (legacy persisted storage). With 0/12 fixed, time and cost are omitted; reported as fixed counts and per-setup diagnosis.
| Setup | Fixed | Read stored p7,p12 | Attempted edit | Device state edit | Observed behavior (3 counted runs) |
|---|---|---|---|---|---|
| A0 · Shell onlyAXe 2.0.4 | 0/3 | 1/3 | 3/3 | 0/3 | n4 read p7,p12 via simctl get_app_container and removed the hidden filter in Products.tsx; n1 removed the filter without reading storage; n2 edited catalog.ts pagination. |
| A1 · agent-device CLI0.21.42 | 0/3 | 0/3 | 2/3 | 0/3 | n2 removed the hidden filter in Products.tsx and edited catalog.ts; n5 edited catalog.ts pagination; n3 made no edit: it stopped after a pinned-ref call (`@e5~s124982`) ran in the sandbox and could not reach the daemon. |
| A2 · Argent MCP0.34.0superseded, faulty setup | 0/3 | 0/3 | 3/3 | 0/3 | All 3 runs edited catalog.ts pagination without reading AsyncStorage. |
| A3 · Parallax MCP0.1.0-beta.16 | 0/3 | 3/3 | 1/3 | 0/3 | All 3 read p7,p12 via app_data(storage); n1 and n2 made no code edit, n3 removed the hidden filter in Products.tsx. |
Key observations
- G5 (pull to refresh, unranked): every setup fixed 3 of 3 runs. With only 3 runs per cell, we report medians alongside per-run min–max ranges in neutral A0–A3 order rather than ranking setups: A0 shell 49.4 s (44.8 s–52.1 s), A1 agent-device CLI 0.21.42 94.0 s (86.2 s–103.8 s), A2 Argent 0.34.0 MCP (superseded, see the correction) 79.8 s (68.3 s–132.5 s), and A3 Parallax 0.1.0-beta.16 MCP 51.9 s (44.3 s–53.7 s).
- G7 (persisted state, 0/12 fixed): no setup fixed G7, so time and cost are not reported here. Across the 12 counted runs, A3 surfaced the stored
hidden = "p7,p12"value in 3/3 runs viaapp_data(storage)and A0 found it in 1/3 runs viasimctl get_app_container, while A1 and A2 (the superseded 0.34.0 setup, see the correction) did not read AsyncStorage. Even in the 4 runs that observedp7,p12, GPT-6 Luna (medium) either made no code edit (2 runs) or removed the hidden filter inProducts.tsxinstead of fixinghidden.ts(2 runs). No run modified device state. Both the task and the AXe 2.0.4 checker pass on a manual fix and were solved in the earlier Claude Sonnet 5.5 series.
Method and environment disclosures
- A1 setup (prefix_rule, skill, warm start, 0.21.42): following review feedback from Callstack, A1 was upgraded to
agent-deviceCLI 0.21.42 (published 2026-11-23), moved off the file relay onto Codexrules/bench.rulesprefix_rulewith the absolute binary path (keeping the workspace sandbox active for everything else), given the official v0.21.42 skill inCODEX_HOME/skills/agent-device/, and given a pre-timed warm start (doctorandprepare ios-runner). All 6 counted A1 runs were rerun on 2026-11-24; the earlier 0.21.41 relay runs are preserved in the repository archive. See Troubleshooting. - A0 sandbox relay: inside Codex's workspace sandbox on macOS,
xcrun simctlcannot reach CoreSimulator over XPC. A0 routedsimctlandaxeonPATHthrough per-run host file-relay wrappers (1 command = 1 shell call, 25 ms poll), so compound shell commands invokingaxeorsimctlreached the simulator; in 3 runs (G5/A0 n1,G7/A0 n1,G7/A0 n2), the model explicitly invokedxcrun simctl, bypassing the wrapper and hitting CoreSimulator XPC errors inside the sandbox. A0 timing includes the relay. - A1
prefix_rulecoverage: Codex runs a command on the host only when it matches theprefix_rulefor the pinnedagent-devicepath; a command it does not match runs inside the workspace sandbox, where the agent-device daemon cannot be reached. In the 6 counted A1 runs, 1 of 51 agent-device calls missed the rule: inG7/A1 n3, a pinned ref (click @e5~s124982) failed withDaemon replacement could not be confirmed, and the run ended without a code change. According to the agent-device maintainers, this error message is removed in their next release, which reports a refused connection and how to fix it; they also explain that Codex splits a shell command into its parts and leaves the sandbox only if every part matches an allow rule:agent-device … && agent-device …(2 calls in our runs, both on the host) passes because both parts match, while a call that starts withcd …orpwd;stays in the sandbox. No call in our runs used a quoted binary path. - CLI vs MCP: A1 tested
agent-deviceCLI 0.21.42 while A2 and A3 used MCP. This pass compares the four configured setups and does not isolate CLI versus MCP on the same tool. - Exclusions and replacements: every run started from a fresh app copy with no
.gitdirectory, a uniform Codexrules/bench.rulesGit guard, and transcript scanning. Three runs in the active series triggered the scanner and were archived untouched withcounts=falseand replaced cleanly:G7/A0 n3(chainedgit diff),G7/A1 n1(git status && git diffafter editingcatalog.ts), andG7/A1 n4(matched onrg --glob '!**/.git/**'rather than agitcommand, after removing thehiddenfilter inProducts.tsx). None of the excluded runs fixed G7 or read AsyncStorage. - Argent environment notes (A2, superseded: the 0.34.0 setup was faulty, see the correction): host macOS keyboard layout stayed on
ABCthroughout, only the bench simulator was booted, a warm server started before timing that the agent never used, and teardown verifiedINJECTED={}. InG5 n3, Argent calledboot-deviceand opened Xcode Device Hub; Device Hub was closed and the simulator rebooted before A3. Lingeringtool-server.cjsprocesses were stopped by PID between runs. - Billing, dates, and scope: all runs executed on 2026-11-24. Costs are modeled from token counts at standard API list rates ($0.2130 across the 24 counted runs; $0.2487 across all 27 active non-pilot runs). Actual runs used a ChatGPT subscription. This Codex Luna pass is reported separately from the earlier Claude Sonnet 5.5 series.
R3c · rerun · 2026-11-29
R3c: the series rerun with the harness fixed
The R3 Codex series run again on 2026-11-29 with the harness fixed (see the correction at the top of this page): the same four setups, the same tasks G5 and G7, the same model (gpt-6-luna, medium, Codex 0.171.0, the same binary hash), scorer, verifier and modeled prices. Only A2 changes version, to Argent 0.35.0 (published 2026-11-25). A second, A2-only series of 6 runs (R3c-cold) runs Argent 0.35.0 cold, the way R3 did, but with the device set, so warm and cold can be compared at one version.
- Frozen before the first run: cutoff-r3c.json (12:14:05Z) and cutoff-r3c-cold.json (13:19:35Z).
A0,A1andA3are set up exactly as in R3. - Device set, every arm: each run's
HOME(CODEX_HOME) linksLibrary/Developer/CoreSimulator/Devicesto the user's own, as round 1 does. - A2 warm (R3c):
argent server start --detach --force,argent server statusand one screenshot run withHOMEset to the run'sCODEX_HOME, before the clock, so the agent'sargent mcpfinds and reuses that server. Each run records a warm check: one server, ours, no server Argent started by itself, one live server; a run that fails it does not count (all 7 passed). The same 19 skills from oneargent initat v0.35.0 are copied intoCODEX_HOME/skills. - A2 cold (R3c-cold): the R3 way (the agent's
argent mcpstarts its own server inside the turn), with the device set. The server Argent starts is recorded and stopped after the run. - Device Hub: if a tool opens Xcode Device Hub during a run, the harness quits it, reboots the simulator and brings the app back to Home before the check, and records it. It did not happen in R3c or R3c-cold.
G5 · Pull to refresh (R3c: 12/12 fixed)
| Setup | Fixed | Wall, median | Calls | Input tokens | Output | Median cost |
|---|---|---|---|---|---|---|
| A0 · Shell onlyAXe 2.0.4 | 3/3 | 49.22 s | 11 | 236,691 | 1,585 | $0.0074 |
| A1 · agent-device CLI0.21.42 | 3/3 | 109.80 s | 22 | 374,766 | 2,827 | $0.0086 |
| A2 · Argent MCP, warm0.35.0 | 3/3 | 81.13 s | 18 | 1,630,021 | 2,603 | $0.0287 |
| A3 · Parallax MCP0.1.0-beta.16 | 3/3 | 47.29 s | 15 | 306,566 | 1,471 | $0.0065 |
G7 · Persisted state (R3c: 0/12 fixed)
| Setup | Fixed | Wall, median | Calls | Median cost |
|---|---|---|---|---|
| A0 · Shell onlyAXe 2.0.4 | 0/3 | 49.16 s | 10 | $0.0066 |
| A1 · agent-device CLI0.21.42 | 0/3 | 89.08 s | 20 | $0.0093 |
| A2 · Argent MCP, warm0.35.0 | 0/3 | 84.09 s | 18 | $0.0182 |
| A3 · Parallax MCP0.1.0-beta.16 | 0/3 | 47.94 s | 18 | $0.0050 |
Argent across the three series
| Series | G5 fixed | G5 wall, median | G5 gesture calls | G5 median cost | G7 fixed | G7 wall, median | G7 gesture calls | G7 median cost |
|---|---|---|---|---|---|---|---|---|
| R3 · 0.34.0, cold, no device set (superseded) | 3/3 | 79.44 s | 6, all 6 failed | $0.0115 | 0/3 | 84.04 s | 5, all 5 failed | $0.0121 |
| R3c-cold · 0.35.0, cold, device set | 3/3 | 69.96 s | 9, none failed | $0.0171 | 0/3 | 64.29 s | 5, none failed | $0.0160 |
| R3c · 0.35.0, warm, device set | 3/3 | 81.13 s | 12, none failed | $0.0287 | 0/3 | 84.09 s | 6, none failed | $0.0182 |
Gesture calls are the Argent calls that returned an error, counted in the row's runs. In every R3c-cold run, Argent's simulator-server started 1 to 10 s after the agent's first tool call; in every R3c run it was up before the clock. R3's walls are re-read here with R3c's measure (the Codex turn), so they differ slightly from the R3 tables above (G5 79.85 s there).
The other setups, R3 against R3c
Nothing changed for A0, A1 and A3 except the device-set link, so their spread shows run-to-run noise: the same fix counts (G5 3/3, G7 0/3 in both series), G5 median walls A0 48.6 → 49.2 s, A1 93.8 → 109.8 s, A3 51.4 → 47.3 s, and G7 between 48 and 99 s in both.
Caveats
- A2 cost rose 2 to 3 times against R3: with working gestures, each Argent gesture answers with a screenshot and the element tree, and those go into the model's input (G5 median input 1.63 M tokens warm, 0.78 M cold).
- G7 0/12 is the model, as in R3: no setup fixed it, including runs that read the stored
p7,p12; the fixture and verifier pass on a manual fix. - Setup difference from R3: the device-set link is in every arm's
HOME.A0,A1andA3did not depend on it in R3 (see the correction), but it is a difference. - Wall measure: R3c's wall is the Codex turn; R3's public
runs.csvused a slightly different measure. Compare series only through the re-read numbers above or the summary. - "Failed gestures" of A0, A1, A3 in
runs.csvare the scorer's heuristic (a gesture after which nothing on screen changed), not errors. For Argent, the table above counts gesture calls that returned an error. - Account capture not verified: the block runner's ChatGPT allowance snapshot before and after each block could not run (its helper script was missing), so there are no allowance numbers for R3c; modeled dollar costs are unaffected.
- Small n: 3 runs per cell (6 cold
A2runs); medians, no ranking.
The R3c runner, cutoffs, results (runs.csv, summary.md, sanitized transcripts) and Argent's server records are in the parallax-rn/benchmark repository, under r3c-codex/ and r3c-codex/results-cold/.
A1 again on agent-device 0.21.46 (2026-12-01)
On request, only A1 was run again, on agent-device 0.21.46 (published 2026-12-01) with the official skill of tag v0.21.46, in one block on 2026-12-01: G5 and G7, 3 counted runs each. Everything else is R3c's: the same model and Codex binary, tasks, scorer, verifier, modeled prices and simulator, the prefix_rule on the pinned binary's absolute path, the warm start (doctor + prepare ios-runner) and the device set in HOME.
- Frozen before the first run: cutoff-r3c-a1-0.21.46.json (12:53:30Z). It was corrected once at 15:10Z, before any run: the first block refused at the harness's check that the cutoff pins Argent (it is checked in every round), so the Argent and Parallax entries were copied unchanged from
cutoff-r3c.json; no agent had started. The cutoff'scorrectionfield says so. - Harness:
pilot-runner.mjswithR3_ROUND=r3c-a1-0.21.46; the only change is thatA1's pinned version, binary and skill come from the round (0.21.42in every earlier round) and the cutoff must pin that version. - What changed in agent-device from 0.21.42 (the maintainers' own work, 0.21.43 to 0.21.46): pull-to-refresh intents (
scroll refresh), settling on a deadline instead of a fixed sleep, faster coordinate taps on iPhone, help that accepts device flags, Codex sandbox hints, refs written@e12-s4instead of@e12~s4. The new skill adds one line for hosts that allowagent-deviceby command name (no chained calls, no quoted path); this harness allows the absolute path, as in R3 and R3c, and was not changed for it.
| Series | Task | Fixed | Median wall | Median calls | Median gestures | Median input | Median output | Median cost |
|---|---|---|---|---|---|---|---|---|
| R3 · 0.21.42 (2026-11-24) | G5 | 3/3 | 93.76 s | 17 | 2 | 415,436 | 2,503 | $0.0090 |
| R3c · 0.21.42 (2026-11-29) | G5 | 3/3 | 109.80 s | 22 | 3 | 374,766 | 2,827 | $0.0086 |
| 0.21.46 (2026-12-01) | G5 | 3/3 | 60.73 s | 11 | 3 | 229,315 | 1,613 | $0.0066 |
| R3 · 0.21.42 (2026-11-24) | G7 | 0/3 | 99.06 s | 14 | 3 | 301,909 | 2,851 | $0.0062 |
| R3c · 0.21.42 (2026-11-29) | G7 | 0/3 | 89.08 s | 20 | 2 | 462,992 | 3,100 | $0.0093 |
| 0.21.46 (2026-12-01) | G7 | 0/3 | 125.14 s | 25 | 6 | 571,022 | 4,490 | $0.0121 |
7 runs, 6 counted; G5 n3 was excluded by the transcript scanner and replaced by n4: an rg printed Xcode build settings that contain .git; no git command ran, but the rule is applied as written. 0 timeouts, 0 Device Hub, agent-device 0.21.46 in every run (its own doctor line). No agent-device call was refused by the sandbox or the prefix_rule. In G7, 4 calls of two runs used a wrong path the agent typed (…/tools/agent-device, without the version folder); the shell answered 127 and the agent retried with the right one. Every G5 run pulled to refresh with scroll refresh; one call took 2.0 to 6.3 s on the host clock, of which agent-device reports 0.6 to 4.1 s as settling.
Caveats: only A1 was run again, on another day than R3 and R3c, so this is a comparison across days, and R3 against R3c (nothing changed for A1) already moved the G5 median wall from 93.8 to 109.8 s; 3 runs per task, medians, no ranking; G7 stays 0/3 for every setup (the model, as in R3); the improvements are the agent-device maintainers' work, not this benchmark's.
Files: r3c-codex/results-a1-0.21.46/ (runs.csv, agent-device-runs.csv, summary.md, and per run the sanitized result.json, check.json, transcript.jsonl, agent-device-warmstart.json and codex-route.json; the macOS temp folder is replaced by <tmp> as well), built by summarize-a1-0.21.46.mjs from the raw run folders.
Raw runs and harness
The runner, pinned SHA-512 cutoff, tasks, CSV, summary, and sanitized run transcripts (24 counted + 3 archived exclusions + 7 archived 0.21.41 relay runs) live in parallax-rn/benchmark · r3-codex. Corrections and setup feedback are welcome.