TRANSMISSION // 2611.38637v1

OriGent trains AI agents on real hardware-engineering fixes

Source published

OriGent turns hardware pull requests into tested training tasks. A trained model solved more benchmark repairs, though many still required lengthy debugging or remained unsolved.

AI-generated conceptual illustration for OriGent trains AI agents on real hardware-engineering fixes
AI-generated conceptual illustration; not documentary evidence.

Hardware bugs can span circuit descriptions, build settings and tests, so fixing them means more than writing code that looks right. OriGent turns real project fixes into executable training tasks, then uses those tasks to train an AI coding agent. On one benchmark, the trained model solved more repair tasks—but often after much longer debugging, and many tasks remained unsolved.

Hardware engineering bugs rarely stay within one file. A change to a circuit description may also require edits to build settings or verification code, and success depends on running project-specific simulators and tools. That makes realistic training exercises difficult to create: each task needs a working software environment, a clear description and tests that check the intended behavior.

OriGent, described in an arXiv preprint by Fan Cui, Kexing Zhou and Youwei Zhuo, builds such exercises from merged pull requests in public hardware repositories. The researchers ask whether a large collection of executable tasks drawn from real projects can help train an agent to repair hardware-related code across entire repositories—not just generate a short piece of Verilog.

Turning pull requests into testable tasks

The system starts with a merged change and reconstructs the repository as it was before the fix. For each candidate, construction agents create a target test for the behavior the change is meant to correct, along with regression tests to check that related behavior still works. They run these checks before and after applying the reference fix. A task is retained only if the target test fails on the original code for a behavioral reason, passes with the fix, and regression tests pass in both states.

This distinction matters: a test that fails because a library is missing does not show that the code has a bug. The team also has an agent draft a problem statement from source material and verified checks. A separate review agent checks that statement for omissions, ambiguity and clues that reveal the fix. The paper describes this review as applying to problem statements; it does not report a separate review of the synthesized tests. Reusable toolchain profiles, specifying items such as compilers and simulators, help avoid rebuilding each repository’s environment for every task.

The resulting collection contains 18,257 executable tasks from 90 repositories, spanning RTL design, verification, electronic design automation (EDA) software, hardware DSLs and generators, and firmware. A selected portion was used for training: the researchers fine-tuned Qwen3.6-35B-A3B on successful demonstrations generated by DeepSeek-V4.1 Flash, then applied online reinforcement learning. In that stage, attempts received a reward for passing both target and regression tests. The training and evaluation repositories were kept disjoint.

More repairs, with more debugging

On HWE-Bench v1.1, a set of 417 repair tasks from six held-out repositories, the base model’s reported resolve rate was 40.8%. It reached 66.8% after supervised fine-tuning and 74.2% after reinforcement learning. The paper reports three-run means for the two post-trained versions; the final increase over the base model is 33.4 percentage points.

The result does not mean the agent simply became better at producing a first answer. Its interactions grew substantially longer. Average assistant turns per task rose from 24.5 for the base model to 125.2 after fine-tuning and 222.4 after reinforcement learning. The authors report that solved tasks involved increasingly long cycles of fault-finding and testing. Unsolved tasks also consumed more effort: under the RL model, they averaged 297.6 thousand output tokens, compared with 142.7 thousand for solved tasks. Some reached the six-hour per-task limit.

That pattern matters when interpreting the score. More persistent tool use accompanied improved resolution, but the study does not show that extra time alone caused the improvement. Nor does a passing test establish that a repair is the best possible engineering solution beyond the checks included in the task.

What the evidence can—and cannot—show

The benchmark covers six repositories, and its 417 tasks are not a measure of every kind of hardware work. Training tasks also come from selected public projects and pull requests; the authors exclude changes that require physical hardware to verify. Tests are generated by agents and validated through execution, while a separate agent reviews problem statements. Even with these safeguards, the tasks and checks are an imperfect representation of the requirements engineers face. The paper reports that substantial evaluation effort went into attempts that still failed.

Comparisons with commercial and other frontier systems should be read cautiously: their results come from the benchmark leaderboard using each system’s native harness, while OriGent’s models were evaluated in OpenCode. The paper reports higher overall scores for those frontier systems; OriGent is not presented as surpassing them.

OriGent is an arXiv preprint, so its findings should be treated as research claims rather than settled evidence. The paper reports releasing code, sanitized tasks and trajectories, container images and model weights; this account does not independently verify their availability. Replication and testing on broader hardware tasks would help clarify how well the approach transfers beyond this benchmark.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • ChipOmni uses engineering checks to guide AI chip design

    Supporting evidence: Both papers report improved measured outcomes in engineering-agent workflows that use executable checks: OriGent reports higher hardware-repair resolve rates after SFT and RL on HWE-Bench, while ChipOmni reports gains on several RTL-generation measures. This supports only the bounded point that check-oriented agent workflows can improve results in their tested settings; the systems, training methods, tasks and metrics differ, so the results are not directly comparable.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.38637v1 — Original paper

      Excerpt reference: static/papers/2611.38637v1.md:140-190
      Basis: Paper text
      Source file SHA-256: 749966d347e73a36015447af80c7a764dc263b008f60b82e10aa6267445cc068

    • 2611.13020v1 — Original paper

      Excerpt reference: static/papers/2611.13020v1.md:583-758
      Basis: Paper text
      Source file SHA-256: c8516f423b179834bf3d3b6ab91c10df4b294f68a28e4477ee1362b69f1a4c03

    • 2611.13020v1 — Original paper

      Excerpt reference: static/papers/2611.13020v1.md:194-269
      Basis: Paper text
      Source file SHA-256: c8516f423b179834bf3d3b6ab91c10df4b294f68a28e4477ee1362b69f1a4c03

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.