The AI wrote its own router: how the Atmos One main board was routed
The Atmos One main board did not come out of an off-the-shelf autorouter. Claude Fable 5.2 wrote a router for it: 744 lines of Python. We re-ran it with logging on, and the film shows the copper appearing in the order it was laid: 2.95 m of track, 472 vias, zero rule violations.
Routing is the part of board design that people expect to stay human the longest. You have a hundred parts and several hundred connections, two sides of copper to draw them on, and every line you draw is in the way of the next one.
On [Atmos One](#/story/atmos-one), the main board that was released was not drawn by hand, and it did not come out of an existing autorouter either. Claude Fable 5.2 wrote a router for this board, 744 lines of Python, and ran it. The commit log credits Fable for the placement, the router and the routed board.
For this story we took the project at the design commit of its release, switched on logging, and ran the board generator again. It produced the same board as the one that was released: 1,275 track segments and 472 vias, identical. So the order you see in the film is the order in which the copper was actually laid.
Before routing: every part has a reason
The board is 104 × 80 mm, four layers, 113 footprints. Nothing was placed automatically. Every part has a position written out in a table, grouped by function, with a reason beside it: the microphone at the edge over its sound port and far from the switching regulators, the radio module in the corner farthest from the air sensor, each input capacitor directly beside the pins it serves.
The two inner layers are not routed at all. One is an unbroken ground plane, the other a 3.3 V plane. All signals go on the two outer layers.
1. The lines that must be right are drawn by rule
Three groups of connections never go through the router. A script draws them from a rule.

- The display bus, 13 lines, runs on the back layer as two nested bundles. The pins on the radio module were assigned in the order in which the lines leave the connector, so no two of them cross.
- The USB pair runs on the front layer as two 0.25 mm lines with a 0.15 mm gap, over unbroken ground, with no vias. The two lines are the same length by construction.
- The fan-out of the two fine-pitch display connectors uses two staggered rows of vias.
That is 82 runs and almost a metre of copper, a third of the board, placed before any searching starts.
2. Power and ground go straight down
Each of the 98 power and ground pads gets a short stub and a via into its plane. These go in before any signal is searched for.
3. Short links before long ones

Next come all connections shorter than 6 mm: decoupling capacitors, pull-up resistors, the small parts that sit next to a chip. There are 251 of these runs. They go in first for a plain reason: a long trace laid early can wall a capacitor off from its own pin. Each pad also keeps a short corridor free so that a neighbour cannot block it.
4. The long routes

The remaining 164 runs are the long ones, 1.64 m of copper. The router works on a grid of 0.1 mm cells. For each connection it searches outward from one end, moving in eight directions or dropping a via to the other side, until it reaches the other end by the cheapest path. Before each search it works out again which cells are too close to copper that is already there, so the clearances follow the board as it really is at that moment.
The first pass did not finish. Three connections stayed open: the two lines of an I²C bus and the backlight dimming signal. The generator moved those three nets to the front of the queue and ran again. The second pass connected everything.
5. Stitching
Last come 271 vias that tie the ground areas on both outer layers to the ground plane: 259 on a 5 mm lattice, and 12 placed to rescue ground areas that would otherwise be cut off. A via only goes where ground copper surrounds it on both sides.

What the numbers say, and what they do not
| Item | Result | |---|---| | Track | 2.95 m in 595 runs | | Vias | 472 | | Design-rule violations | 0 | | Unconnected | 0 | | Differences from the schematic | 0 | | Time to place, route, fill and check | about a minute |
The project's own notes are direct about the limits, and we repeat them here:
- It is rule-clean, not minimal. This router does not push existing tracks aside to make room. The tracks are correct, but they are not the shortest possible.
- Five small ground areas were left unconnected, between 4 and 14 mm² each, because there was no room for a via. The router's log lists them.
- A design-rule check says nothing about quality. After routing, both outer layers, the two power converters and the connector regions were inspected on rendered images.
- Clean rules are not the same as ready for a factory. EIN's DFM check ran afterwards and found eight problems across the project's two boards. On this board, solder paste under the radio module was too close to vias. [Four of the findings are shown here](#/story/dfm-four-findings).
- When the files were released, nothing had been built or powered.
Why this matters if you design alone
For years the slow part of a first board was the layout. Here, writing the placement table and the router was the work: by the commit log, the routed board landed 1 hour 14 minutes after the schematics. After that the layout takes about a minute to compute, and it can be computed again whenever a part moves. What still needed care came afterwards: checking the result against what a factory can make, and finding someone to make it. That part [is what EIN is for](#/story/files-to-quotes-three-minutes).