klayout-tools

IC layout for AI agents

scaffold — in progress, in the open

Standalone tools that let AI agents parse, check, and edit chip layouts: GDSII and OASIS streams, DRC decks, headless everything, machine-readable JSON everywhere. Built on KLayout's Python API.

It is the kicad-tools playbook one layer down the stack. Over there, agents take a design from schematic to routed PCB to fabrication package, and a gallery of real boards proves it. Here, the same pattern meets silicon.

# the interface contract we are building toward
klt layers design.gds              # enumerate layers, JSON out
klt cells design.gds --top         # cell hierarchy
klt drc design.gds --deck sky130   # DRC, structured violations
klt stats design.gds --per-layer   # densities, bbox, counts

Progress lands in the repo first; worked examples will appear here the way boards appear in the kicad-tools gallery. The build order is in the roadmap.