FrontierCS 2: AI agents beat published research code in up to 58% of tasks


Most AI coding benchmarks hand an agent a puzzle with a known answer. FrontierCS 2 asks something closer to real research work. Can an agent take a published paper’s code, rebuild the paper’s main idea, and do it better than the authors did?
The benchmark comes from a team led by researchers at UC Berkeley, who introduced it on the BAIR blog on 2 December, alongside an arXiv paper. The best agent managed it on 28 of 48 tasks.
Delete the paper, beat the authors
The team took 48 published computer science papers across 13 fields, from databases, ML systems and high-performance computing to cryptography, security and robotics. For each one, they found the code that implements the paper’s contribution in the authors’ own repository and deleted it, leaving everything else in place. The deleted code becomes the benchmark to beat.
An agent gets five hours. It can submit as many patches as it likes and gets a score on a set of development workloads each time, but never sees the authors’ own score. At the end it picks one patch as its final answer, which is graded on a hidden set of workloads it never saw. The agent’s sandbox has no network access, so it can’t download the original code.
A task only counts as passed if the final patch beats the authors’ code on every metric and every hidden workload. The team says that strictness mattered. Most runs whose combined score beat the authors still missed a threshold somewhere.
The results
The leaderboard covers 20 models, each in its own harness, such as Claude Code or Codex CLI, and each run once per task.
Claude Opus 5.5 in Claude Code passed 28 of 48 tasks, or 58%. Gemini 4 Carbon and Gemini 4 Argon passed 26 each, Claude Sonnet 5.5 passed 24 and GPT-6 Astra 22. Below the top eight, no model passed more than 11. In the paper’s 12-agent evaluation, no run passed 16 of the tasks. One of them, SVG-EAR, asks for a sparse-attention method for video generation. GPT-6 Astra came closest, clearing 43 of its 48 checks before failing on image quality for two clips.
The team also built a capability index that weighs how hard each task is. On that measure, the top three are effectively tied: Claude Opus 5.5 at 51.3, Gemini 4 Carbon at 51.0 and Claude Sonnet 5.5 at 50.7, well within the margin of error. GPT-6 Astra and Gemini 4 Argon follow at 48.6 and 48.4. The team notes the median task sits at about the strongest agent’s level, leaving room above today’s best.
Each model ran only once per task, and the harness matters as much as the model. The team names agents by model, but the same model in a different harness counts as a different agent.
What a pass costs
The top models all cost roughly $17 to $40 per run, by the team’s estimates. GPT-6.1, in its Terra and Sol versions, passed about 40% of tasks for around $3 a run, about a sixth of the cost. DeepSeek V4.1 Flash cost about 10 cents a run and still passed about one task in eight. When the team capped spending per run, the cheapest models led at the lowest budgets and Claude Opus 5.5 at the highest.
Some of the passes were genuinely inventive. On a private information retrieval task, one agent cut the bytes per lookup from 1,760 to 1,280 by borrowing the two-checksum trick RAID-6 uses to rebuild failed disks. On an FPGA priority queue, Claude Opus 5.5 reached up to 1.84 times the authors’ speed, though with one of the largest circuits, which the score doesn’t penalise.
What to do
No action is needed. If you run an R&D team, the benchmark code is public and installs into your own AWS account, so you can test agents on tasks like these yourself. Budget for it: the team puts a full 48-task run of Claude Opus 5.5 at about $1,400 in API, GPU and CPU costs. More than 100 private tasks are due to be announced later, to keep ahead of models training on the public set.