metal-route
Experimental Rust PCB autorouter paired with a benchmark-gated LLM self-improvement lab.
What it does and how it connects
metalroute is an experimental Rust PCB autorouter and benchmark-gated LLM self-improvement lab. It reads tscircuit SimpleRouteJson and emits pcb_trace solution soups, routing multilayer boards with deterministic negotiated congestion, targeted A*, bounded rip-up, vias, clearance halos and legalization portfolios, enforcing exact polygonal board outlines and board-edge clearance with native geometric DRC. It exposes a CLI, a tscircuit-compatible /solve server, an interactive route visualizer, corpus benchmarks and a DSN and Freerouting handoff seam. Metal compute kernels for Apple Silicon cover batched shortest-path field computation, but the default real-board negotiated router currently runs on the CPU.
The project is a laboratory for a disciplined loop of hypotheses, code changes, tests, real-board benchmarks and exact audits: form one concrete routing or performance hypothesis, make a narrow attributable change, run deterministic tests and fixed real-board benchmarks, audit geometry, performance and regressions, and keep demonstrated improvements while recording no-go experiments too. "Self-improving" describes the engineering process around the repository; the router does not rewrite itself at runtime.
Current audited result on a corpus of 112 real circuit-derived problems vendored from tscircuit-autorouter: 2,986 of 3,167 routed net segments (94.3 percent), 90 of 112 boards fully routed, 77 of 112 clean boards, 71 of 112 fully routed and clean, with 0 corpus errors. The README states plainly that this is research software, not a production PCB detailed router, and to inspect and verify every generated route before using it in a real design.
Alternatives
Compare side by side- PCB_Autorouter_Search_Algorithm_Visualizer
An interactive visualizer that demonstrates search algorithms on a single-layer grid, rather than a router that solves real multilayer boards.
- tscircuit
Designs boards in TypeScript and React (TSX), and its autorouter corpus supplies this project's benchmark problems, rather than routing boards itself.
- DeepPCB
A cloud routing service for an already placed board, rather than a local experimental Rust router.
- Quilter
A cloud autorouting service priced per pin and per project, rather than a local experimental Rust router.
- TraceMaker
Routes and places an existing KiCad .kicad_pcb file, rather than routing from tscircuit route JSON with a self-improvement lab.
Sources
Not verified
- Pricing: none stated on the repo.
- Real user voices: no real linked post read for this page; the repo has no public issues.
- No GitHub releases exist, so latest release fields are null.
- Activity: last push 2026-08-18, so the project looks quiet.
Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.