Top AI agent beats authors' code on 28 of 48 tasks, Berkeley says
In short
- FrontierCS 2 is a benchmark (a standard test for comparing AI systems) from the FrontierCS team at UC Berkeley. It has 48 research-and-development tasks in 13 computer-science areas, such as databases, cryptography, high-performance computing and robotics. The team announced it on 2 December 2026 on the Berkeley AI Research (BAIR) blog.
- Each task is a real paper's released code with the paper's key contribution deleted. An AI agent has five hours to write it back, and passes only if it beats the authors' own code on every metric and every held-out workload.
- The authors report that across 20 models, Claude Opus 5.5 in Claude Code passes 28 of 48 (58%). Gemini 4 Carbon and Gemini 4 Argon pass 26, Claude Sonnet 5.5 passes 24 and GPT-6 Astra 22.
- The catch: the scores are the benchmark authors' own, and they are not independently checked.
28 of 48 tasks passed by the leader, Claude Opus 5.5 (58%); 16 of 48 tasks no run passed in the paper's 12-agent evaluation; 5 hours per run, with one final patch graded; $17 to $40 typical cost per run for the top five models
The idea: delete the paper, ask for it back
The post starts from what a second-year PhD student does most weeks: take a published system, swap out one component, rerun the paper's workloads and check whether the original numbers are beaten. The team asks whether an agent can do that week of work.
To build a task, they take a paper and the code its authors released, find the code that implements the paper's contribution and delete it. The deleted code becomes the "human reference", a private answer key that already runs in that repository on those workloads. The agent gets the repository with the deleted functions still declared and called, and may edit only the files that held them. (Ours: this means the target is the authors' real code, not a rubric or someone's re-implementation.)
One example in the post is SVG-EAR, a sparse-attention method for video generation. To pass, the agent's code must run in at most 0.96 times the reference's time, with image-quality measures (PSNR within 0.25 dB, SSIM within 0.01, LPIPS within 0.005) held close to the reference on every held-out clip.
Source: the post's comparison table.
How does the benchmark test AI agents?
The agent and the judge run in separate sandboxes (isolated computers) joined only by a driver program. The agent's sandbox has no network access beyond that driver, so it cannot download the original code. The post lists three rules:
- Five hours of wall-clock time per run.
- The agent can submit a patch whenever it likes. Each returns a development score and a sanitised message counting how many development workloads meet each threshold, but never the reference's score.
- The agent names one patch as final, and only that one is graded on the hidden suite. The team does not pick the agent's best development submission for it: "deciding what to ship is part of research."
"Held-out" means test inputs (different random seeds, queries or input graphs) that the agent never sees during the run. They stop an agent from fitting its answer to the examples it was shown.
A higher score is not a pass
A run passes only if its final patch beats the reference on every metric and every held-out workload. The authors say this is deliberate: they want results the paper's authors would accept, not a speedup bought with a quality drop.
They give an example. On KV Compaction, Claude Opus 5.5 posts the top score and sits above the human reference, yet falls short of the reference's accuracy on 2 of 24 articles, so the run fails. A single averaged score would have called it a win.
The results
The leaderboard covers 20 models, each paired with its own harness (the agent software around the model, such as Claude Code or Codex CLI) and run once per task. The post stresses that the same model in a different harness is a different agent.
Source: the post's text. The post gives no separate counts for places six to eight.
A third of the benchmark is out of reach for now: in the paper's 12-agent evaluation, no run passed 16 of the 48 tasks.
The authors also fit the FrontierCS Capabilities Index (FCI), a statistical model that estimates each agent's ability and each task's difficulty on one scale. It is forked from Epoch AI's Epoch Capabilities Index. On FCI the top is a near tie: Claude Opus 5.5 at 51.3, Gemini 4 Carbon at 51.0 and Claude Sonnet 5.5 at 50.7, with GPT-6 Astra at 48.6 and Gemini 4 Argon at 48.4. The post says a gap of 0.6 points is well inside the bootstrap intervals (the range from re-sampling the data), so the top three cannot be separated. It also says the median task sits at roughly the strongest agent's FCI, which leaves room above today's best.
How much does it cost an AI agent to attempt a task?
The post reports a 400-fold spread in cost per run. The top five models (Opus 5.5, both Gemini 4 models, Sonnet 5.5 and GPT-6 Astra) each spend roughly $17 to $40 per run. GPT-6.1 Terra and Sol pass about 40% of tasks for around $3 a run. DeepSeek V4.1 Flash costs about a dime per run and passes about one task in eight. The post says costs are estimates, and that Gemini 4 Carbon is priced at Gemini 4 Argon's rates.
Capping the budget changes the ranking. At the smallest caps DeepSeek V4.1 Flash leads, and at the largest Claude Opus 5.5 does. A full 48-task evaluation of Opus 5.5 runs about $1,000 in API fees, $300 in GPU time and $100 in CPU, the authors say.
What the agents invented
The post highlights three runs that it reads in detail.
- QuarterPIR, a private lookup scheme: the reference server returns a parity value (a small checksum over a group of entries) for every database group, though the client needs only one. An agent, Muse Wonder 1.0, replaced them with two checksums, the construction RAID-6 disk arrays use to rebuild two failed disks. Bytes per lookup at 67 million entries fell from 1,760 to 1,280 (27%), and the post says privacy is unchanged.
- BBQ, a packet-scheduling queue on a programmable chip (FPGA): Claude Opus 5.5 moved every counter into registers (the chip's fastest storage) and updated a whole level of the tree per clock cycle, reaching up to 1.84 times the reference's operations per second. Gemini 4 Argon reached 1.56 times at the same memory. The catch: Opus's circuit is among the largest, and the score does not charge for size.
- SVG-EAR, the baseline nobody beat: GPT-6 Astra came closest. It was faster on every clip and closer to full attention on average, but failed image quality on two clips and cleared 43 of 48 checks.
The authors call the case studies "a confession": the pass/fail result cannot tell a 27% saving from a marginal one, and on QuarterPIR GPT-6.1 Sol scores slightly higher than Muse Wonder with a much smaller saving.
Read the scores with care. The benchmark's authors ran and scored the agents themselves, and the figures come from their blog post. The leaderboard is open to submissions by email, and runs are posted on Hugging Face, so others can inspect them. Claude Opus 5.5 leads on tasks passed, but on the FCI scale the top three cannot be separated.
Terms in plain English
- Benchmark: a fixed set of tasks used to compare AI systems on the same test. (Our wording.)
- Held-out workloads: test inputs kept hidden from the agent until its one final answer is graded. (Our wording.)
- Pass versus score: a pass needs a win on every metric and workload; a score is an average that can hide one failure. (Our wording.)
- FCI: the FrontierCS Capabilities Index, a statistical fit of agent ability and task difficulty on one scale; ten points equal one logit, the post says.
Where things stand
Everything is public: the 48 tasks, evaluators and judge are on GitHub, and a run installs into your own AWS account. The team says it also holds more than 100 private tasks, to be announced later, to stay ahead of contamination (test material leaking into training data). We did not read the paper or the leaderboard, and we did not rerun anything.
Sources
- Delete the Paper, Beat the Authors: Introducing FrontierCS 2, Berkeley Artificial Intelligence Research Blog (Hanchen Li and the FrontierCS Team), 2 December 2026
Sources
Related stories
- Open 450K-example dataset teaches medical AI to reason on images
- AWS unveils AI agent chips, servers and guard rails at re:Invent
- AWS says Amazon Athena queries run up to 2x faster on DuckDB
- AWS previews Greenlight to stop AI agents breaking company rules
- Amazon releases Ergo, an open-weight model for coding and agents
- A small AI model still leaks 'forgotten' facts to trick prompts