{"slug": "realpcb-a-benchmark-for-ai-agents-laying-out-real-production-circuit-boards", "title": "RealPCB: A benchmark for AI agents laying out real production circuit boards", "summary": "A new benchmark, RealPCB, scores AI agents on laying out real production circuit boards drawn from a private collection of more than 2,000 never-published PCB layouts, with models graded on 53 boards none has seen before. On the 53 private test boards, GPT-6.2 Astra (max, Codex) posted the top pass rate at 69.8% ± 12.4% using 2.5B tokens at a cost of $2.1k, ahead of GPT-6.2 Sol (max, Codex) at 66.0% ± 12.8% ($321), Fable 5.2 (max, CC) at 60.4% ± 13.2% ($1.8k), Sonnet 5.5 (max, CC) at 43.4% ± 13.3% ($976) and Haiku 5.5 (max, CC) at 13.2% ± 9.1% ($352). Each task gives an agent a board with parts unplaced and nothing routed, which it must place and route in KiCad over 2 or 4 hours, with results checked by KiCad design-rule checks and measured against the layout the board's own engineer released for production; the benchmark was developed with PCB layout, manufacturing and EMC experts from industry and academia.", "body_md": "**RealPCB draws on a private collection of more than 2,000 production PCB layouts that have never been published. Models are scored on 53 of them, boards no model has seen before.** Each task hands an agent a board with its parts unplaced and nothing routed. Working alone in KiCad for 2 or 4 hours, it places every part and routes the copper. Every board comes with the layout its own engineer released for production. The agent's layout is checked with KiCad's design-rule check and measured against that one. Developed with PCB layout, manufacturing and EMC experts from industry and academia.\n\nPass rate on the 53 private test boards.[2](#fn2)\n\n| Rank | Model | Pass rate <sup>[3](#fn3)</sup> | Tokens | Cost | \n|---|---|---|---|---|\n| 1 | GPT-6.2 Astra (max, Codex) | **69.8%** ± 12.4% | 2.5B | $2.1k | \n| 2 | GPT-6.2 Sol (max, Codex) | **66.0%** ± 12.8% | 1.3B | $321 | \n| 3 | Fable 5.2 (max, CC) | **60.4%** ± 13.2% | 2.3B | $1.8k | \n| 4 | Sonnet 5.5 (max, CC) | **43.4%** ± 13.3% | 5.9B | $976 | \n| 5 | Haiku 5.5 (max, CC) | **13.2%** ± 9.1% | 5.6B | $352 | \n\nPCB layout (full build): place and route a real 4-layer production board in KiCad. Graded deterministically by design-rule checks and physical layout-quality measures, with the shipped production layout as the reference point.\n\n/work holds a KiCad 10 project made from an open-hardware KiCad design (names in it are the original design's).\n\nThis container has no internet access and no autorouter is installed: you work with what is here (KiCad 10 with kicad-cli, and python3 with pcbnew, numpy and shapely) and with what you write yourself. You are working alone and nobody will answer questions: where something is unclear, decide for yourself and finish the job.\n\nLay the board out to production quality, as you would release it for a real product: electrically sound and easy to build, not only rule-clean.\n\nThe assembler's requirements:\n\n`kicad-cli pcb drc --severity-all --refill-zones --format json -o drc.json design.kicad_pcb`. KiCad takes a board's rules from the .kicad_pro and .kicad_dru files of the same name beside it, so a copy checked under another name, or in a folder without those two files, is held to KiCad's default limits instead. Only errors count, not warnings, and not the errors already in start-drc.json. The check is passed with:\nDo not change the outline, the layer count, the locked parts or any pad's net, do not edit footprints (moving, rotating and flipping them is the job; their pads, courtyards, attributes and everything else stay as they are, except their reference and value labels, which you may move, turn or hide), and do not add or remove footprints. Make the copper from tracks, vias and zones: zones are accepted only on ground nets, their copper obeys the minimum track width like a track (set no zone's minimum width (min_thickness), or hatch width (hatch_thickness) if it is hatched, below 0.15 mm), and graphic shapes on copper layers are not accepted. The layout is checked with the original design.kicad_pro and design.kicad_dru, so changes to those files have no effect. The board's own setup in design.kicad_pcb (solder mask, paste and the other fabrication settings) is part of the task and must stay as it is.\n\nYou have up to 2 hours. /work/design.kicad_pcb is graded as it stands when you stop or run out of time, so keep your best complete state saved there. It passes only if it keeps to everything required above and, on each of the layout-quality measures it is graded on, is no worse than the layout the original engineer released by more than a margin.\n\nThe target is the board's own production layout, so every task is known to be solvable. A layout passes if it meets every requirement and is within a margin of the engineer's layout on every quality measure that applies to the board.\n\nRequirements:\n\nQuality measures, each against the engineer's layout:\n\nWe calibrated the measures and margins against reviews of AI and engineer layouts by PCB layout, manufacturing and EMC experts.\n\nWhen the three strongest models failed a board, the board was almost always finished: every connection made and KiCad's rule check passed, in 52 of 55 failures. What failed is what an engineer looks for in a design review, measured against the layout the board's own engineer released. About four in five of the failed checks concern how power reaches the chips.\n\nEvery chip needs a small capacitor right beside its power pin. Engineers judge that by the whole loop, from the pin to the capacitor and back to ground. We traced 36 misplaced capacitors from the three strongest models. In 29, the model's own check had passed, because it measured only the distance from pin to capacitor or checked only the chips it had assigned each capacitor to. So these boards were handed in as complete. When a board was unfinished, every model said so.\n\nA power rail feeds many chips at once, so engineers give it wide copper, often a whole poured area. The models tend to route it like a signal, as a long thin track. On boards where the engineer poured copper for power, the three strongest models failed this check in 19 of 66 runs. Where the engineer used tracks, they failed it in 3 of 60. In the runs that failed, no model used a rail's resistance to decide anything.\n\nGPT-6.2 Astra is the top model, passing 37 of the 53 boards. GPT-6.2 Sol passes 35. Sol costs about $6 a board against Astra's $39, roughly six times less. It is cheaper even than Haiku 5.5, the smallest model tested, because it finishes a board in about 40 minutes where the others take one and a half to two hours.\n\n20 open-hardware boards to try the tasks on, in Harbor task format, with the grader and its tests.\n\n```\ngit clone https://github.com/esunalabs/realpcb\nharbor run -p realpcb/tasks -a claude-code -m <model>\n```\n\nThe 53 leaderboard boards have never been published and their reference layouts stay with us. Tell us the model and the agent and we will be in touch.\n\nFor labs that want their models to get better at PCB layout. We have turned the rest of the collection into thousands of layout tasks, in the same format as the benchmark and with the same automatic grader, which gives a graded score to train against.\n\nThe training boards come from different design families than the 53 test boards.\n\n```\n@misc{realpcb2026,\n  title        = {RealPCB: A Benchmark for AI Agents Laying Out Real Production Circuit Boards},\n  author       = {{Esuna Labs}},\n  year         = {2026},\n  howpublished = {\\url{https://www.esunalabs.com/realpcb/}}\n}\n```\n\n", "url": "https://wpnews.pro/news/realpcb-a-benchmark-for-ai-agents-laying-out-real-production-circuit-boards", "canonical_source": "https://www.esunalabs.com/realpcb/", "published_at": "2026-11-24 20:22:58+00:00", "updated_at": "2026-11-24 20:45:31.677878+00:00", "lang": "en", "topics": ["ai-agents", "ai-research", "ai-tools", "machine-learning"], "entities": ["RealPCB", "KiCad", "GPT-6.2 Astra", "GPT-6.2 Sol", "Fable 5.2", "Sonnet 5.5", "Haiku 5.5", "Codex"], "also_reported_by": [], "takeaway": "On RealPCB's 53 private production boards, GPT-6.2 Astra passed 69.8% ± 12.4% of full place-and-route layouts at 2.5B tokens and $2.1k, while Haiku 5.5 passed 13.2% ± 9.1% despite spending 5.6B tokens.", "recommendation": {"advice": "Grade agent PCB layouts deterministically with KiCad design-rule checks plus physical quality measures against the engineer's released layout, and report pass rates with confidence intervals, since the top model's 69.8% carries a ±12.4% margin.", "playbook": "evals-testing", "playbook_url": "https://wpnews.pro/playbooks/evals-testing"}, "alternates": {"html": "https://wpnews.pro/news/realpcb-a-benchmark-for-ai-agents-laying-out-real-production-circuit-boards", "markdown": "https://wpnews.pro/news/realpcb-a-benchmark-for-ai-agents-laying-out-real-production-circuit-boards.md", "text": "https://wpnews.pro/news/realpcb-a-benchmark-for-ai-agents-laying-out-real-production-circuit-boards.txt", "jsonld": "https://wpnews.pro/news/realpcb-a-benchmark-for-ai-agents-laying-out-real-production-circuit-boards.jsonld"}}