Codex benchmark with and without Besydr: GPT-6.2 Sol and Astra on five Python projects Running Codex CLI 0.171.0 with Besydr 0.3.0 cut broken rules from earlier sessions from 49 to 3 across 128 requests on five Python projects, according to a benchmark published by Besydr comparing GPT-6.2 Sol and GPT-6.2 Astra with and without the tool. Developer corrections fell from 60 to 25, false "done" verdicts from 9 to 4, and unsolved requests from 8 to 4, while fresh token use dropped 21% to 27% per request at a cost of 20% to 21% longer runtime. The completion check remained the weak point: of 12 times Codex returned work that failed the hidden tests, Besydr passed 11, all on the same request. Codex benchmark with and without Besydr: GPT-6.2 Sol and Astra on five Python projects Besydr say: besider is a program that runs beside a coding agent. It learns rules from your corrections, adds the ones that fit to later requests, and checks finished work against your request. The Claude Code benchmark https://besydr.com/blog/claude-code-benchmark-with-and-without-besydr measured it with one client. This post runs the same benchmark with a second one: Codex, on two models, GPT-6.2 Sol and GPT-6.2 Astra. We ran Codex through the same 32 requests on five Python projects with and without Besydr: 8 runs, two per setup and model. Each request is judged by hidden tests: the tests of the real change, which the agent never sees. The short version, over both models: - A rule told once is kept in nearly every project. Without Besydr, Codex broke rules from earlier sessions 49 times in 128 requests. With Besydr: 3 times. - The developer corrects less. 60 corrections without Besydr, 25 with it. - Fewer false "done", fewer unsolved requests. Codex said "done" while the hidden tests failed 9 times alone and 4 times with Besydr. 8 requests stayed unsolved alone, 4 with Besydr. - Fewer tokens, more time. With Besydr, Codex used 21% to 27% fewer fresh tokens input not read from a cache, plus output per request and took 20% to 21% longer. - The completion check's verdict is still the weak spot. Of the 12 times Codex handed back work that failed the hidden tests, it passed 11, all on the same request. How the benchmark ran The method is the one of the Claude Code benchmark https://besydr.com/blog/claude-code-benchmark-with-and-without-besydr . A program plays a developer who works on five open-source projects pytest, click, anyio, cattrs and tox in ten sessions of 2 to 4 requests. Each request asks for what one real commit did, and the tests of that commit judge the work. The agent never sees them. The developer states each personal rule once, in the first project, and corrects at most twice per request with fixed texts. Each run starts in a fresh Docker container, so nothing carries from one run to the next. Counts are given per 100 requests: 45 means it happened 45 times in 100 requests. What was different for Codex: - Client and models. The Codex CLI, version 0.171.0, on a ChatGPT subscription, with GPT-6.2 Sol and GPT-6.2 Astra at Codex's default reasoning effort low for both . Besydr 0.3.0, the release on the releases page https://besydr.com/releases , with the same two models of its own as in the Claude Code runs. - Two runs per setup. Each number below is the mean of the two runs, with the lower and higher run in brackets. The Claude Code benchmark had three runs of its main setups. - The setups. Codex alone, with its own memory switched on as shipped, and Codex with Besydr with all its parts on, as in the main setup of the Claude Code benchmark. - No web search. Codex's web search was off, so the agent could not look up the real change. GitHub and the projects' documentation sites were blocked, as before. - No dollars. Codex reports tokens and no price, so this post gives tokens instead of cost. Five projects: rules from earlier sessions | GPT-6.2 Sol, per 100 requests | Codex alone | With Besydr | |---|---|---| | Rules from an earlier session broken | 45 41 to 50 | 5 3 to 6 | | Corrections the developer typed | 47 41 to 53 | 20 19 to 22 | | Said done while hidden tests failed | 8 6 to 9 | 3 3 to 3 | | Unsolved after two corrections | 6 6 to 6 | 3 3 to 3 | | GPT-6.2 Astra, per 100 requests | Codex alone | With Besydr | |---|---|---| | Rules from an earlier session broken | 31 31 to 31 | 0 0 to 0 | | Corrections the developer typed | 47 44 to 50 | 19 16 to 22 | | Said done while hidden tests failed | 6 6 to 6 | 3 3 to 3 | | Unsolved after two corrections | 6 6 to 6 | 3 3 to 3 | Counted over the two runs of each: - Rules from an earlier session broken: with Sol 29 times alone and 3 times with Besydr, with Astra 20 times alone and never with Besydr. - A personal rule the agent had heard only in another project: with Sol broken in 26 of 132 chances alone and in 3 of 132 with Besydr; with Astra in 18 of 156 alone and in none of 132 with Besydr. A chance is one such rule at one request. - Corrections: with Sol 30 alone and 13 with Besydr, with Astra 30 and 12. Codex alone stored almost nothing between sessions. Codex memory, its own feature for this, was on, but in the one run whose memory store we opened, about a third of the way through, it held nothing. In both of its runs, Astra wrote one rule into Codex's AGENTS.md file in its home folder, ~/.codex/AGENTS.md , when the developer replaced the rule for final messages in session 8. Sol wrote none. Every other rule had to be told again in each project, and the agent was corrected for it. Besydr stores a rule once for the developer and adds it wherever the task fits. In both setups and with both models, no rule told earlier in the same session was broken. Codex keeps what was said in the same conversation; the rules it breaks are the ones told in an earlier session. The rows for false "done" and unsolved requests are lower with Besydr for both models, and the brackets do not overlap. The difference rests mostly on one request. A pytest request asks that help texts in --help keep their layout, with blank lines shown as empty lines with no spaces in them. It failed its hidden tests in all four runs of Codex alone and stayed unsolved after both corrections. It passed at the first hand-back in all four runs with Besydr. The benchmark does not show which part of Besydr made that difference: in each of those runs the completion check ran twice and passed the work without sending it back. Codex and Claude Code with the same requests The Claude Code benchmark https://besydr.com/blog/claude-code-benchmark-with-and-without-besydr ran the same 32 requests, so Codex vs Claude Code can be read side by side, alone and with Besydr. The two sets of runs differ in three ways: the Claude Code runs used Claude Code 2.1.325, two or three runs per setup, and Besydr from a commit made before its first release. One request of this scenario changed in between: the pytest request about help texts gained the words about blank lines quoted above, because its hidden tests expect them. | Per 100 requests | Claude Code, Opus 5.5 | Claude Code, Sonnet 5.5 | Codex, Sol | Codex, Astra | |---|---|---|---|---| | Rules from an earlier session broken, alone | 47 | 52 | 45 | 31 | | The same, with Besydr | 4 | 3 | 5 | 0 | | Corrections, alone | 47 | 59 | 47 | 47 | | Corrections, with Besydr | 11 | 27 | 20 | 19 | | Said done while hidden tests failed, alone | 6 | 8 | 8 | 6 | | The same, with Besydr | 3 | 9 | 3 | 3 | | Minutes per request, alone | 1.90 | 1.13 | 1.51 | 1.35 | | Minutes per request, with Besydr | 2.25 | 1.36 | 1.81 | 1.63 | Alone, both agents broke earlier rules at about the same rate, except Astra, which broke fewer. With Besydr, all four fell to 5 or fewer in 100 requests. Corrections fell by more than half with every model, and most with Opus. With Besydr, the developer still corrected Codex almost twice as often as Claude Code with Opus. Of Codex's 25 corrections, 12 were for a missing changelog entry, each time before anyone had told it that project's rule. Claude Code with Opus got no such correction. Tokens and time Fresh tokens are the input tokens not read from the cache, plus the output tokens. | GPT-6.2 Sol, per request | Codex alone | With Besydr | |---|---|---| | Fresh tokens | 91,900 87,100 to 96,800 | 72,700 71,700 to 73,800 | | Output tokens | 7,300 7,000 to 7,600 | 6,600 6,300 to 6,800 | | Cached input tokens read | 1.28M 1.13M to 1.43M | 0.97M 0.97M to 0.97M | | Cost of Besydr's own model calls | none | $0.009 | | Minutes per request | 1.51 1.44 to 1.57 | 1.81 1.77 to 1.84 | | GPT-6.2 Astra, per request | Codex alone | With Besydr | |---|---|---| | Fresh tokens | 52,500 46,700 to 58,400 | 38,600 31,800 to 45,300 | | Output tokens | 5,300 5,100 to 5,500 | 4,500 4,400 to 4,600 | | Cached input tokens read | 0.83M 0.78M to 0.87M | 0.57M 0.55M to 0.58M | | Cost of Besydr's own model calls | none | $0.008 | | Minutes per request | 1.35 1.27 to 1.43 | 1.63 1.57 to 1.69 | With Besydr the agent used fewer tokens of every kind, with both models. It also took longer: Besydr's checks run while the agent works, and the minutes with Besydr include its learning after each session. The time grew by 17 to 18 seconds per request. The Claude Code benchmark https://besydr.com/blog/claude-code-benchmark-with-and-without-besydr has a section on when a session is shorter once the developer's own time for a correction is counted; that time was not measured here either. The weak spot: the completion check's verdict When the agent stops, Besydr's completion check judges whether the request is met. The benchmark compares each verdict with the hidden tests. | Model | Work that failed the hidden tests | The check passed it | Clean work | The check sent it back | |---|---|---|---|---| | Sol | 6 | 6 | 62 | 5 | | Astra | 6 | 5 | 62 | 1 | All 12 failing hand-backs belong to the same click request, which asks for warnings on parameter names that cannot be Python names. It failed at the first hand-back and after both corrections in every run with Besydr, and it stayed unsolved in three of the four runs of Codex alone. It also failed at the first hand-back in 5 of the 6 main runs of the Claude Code benchmark. The result is the same as with Claude Code: the check's verdict does not catch work that fails tests the agent cannot see, and it sends some clean work back. Making the verdict itself catch failing work is still an open problem. What we changed along the way 1. A second client for the benchmark. The harness drives Codex through codex exec , one process per turn. codex exec has no command to fold a conversation into a summary, as /compact does in the interactive client, so the harness does it through Codex's app server. Codex hooks run only after they have been trusted, so the harness trusts Besydr's hooks the way a user does in /hooks , and a run stops if one is left untrusted. The login in a container has no refresh token, so a run can never sign the host out. 2. Commands without their folder. GPT-6.2 runs shell commands through a JavaScript tool that names the folder separately, and Codex's event stream gives the command without it. The rule "run only the test files of the change" depends on the folder, so the harness reads it from Codex's session file. 3. A provider out of credit. The model Besydr uses for decisions, which among other things decides whether a rule it found is stored, stopped answering because the account had no credit left. In that state Besydr did not store the rules it found. We stopped the first runs, topped up the account and ran them again from the start. All numbers above come from those later runs. Limits - One mix of five projects and a scripted developer. The single-project and long-session scenarios of the Claude Code benchmark were not run with Codex. - Two runs per setup and model. That is enough for the large differences and not for the small ones. - The pytest requests were made after Claude's training cutoff. We do not know whether GPT-6.2's training data includes them. - With Codex, Besydr cannot shorten long tool output, because Codex's hooks have no field that replaces it. That part of Besydr is not in these numbers. - The developer's own time was not measured. Where it fits The pattern is the one Claude Code showed. Codex alone keeps what you say in the same conversation and often breaks it in the next session and the next project. Besydr carries your rules across both. If you use Codex on several repositories and repeat the same rules in each, this benchmark says it removes more than half of the corrections, at about 20% more time per request.