klayout-tools
IC layout for AI agents
scaffold — in progress, in the openStandalone 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.
An agent can take a spec → schematic/generator → sized circuit → layout → DRC/LVS clean → extracted netlist → simulation-verified, on an open PDK, unaided — with every step headless and JSON-contracted. That closed loop is the target.
# 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 appear here the way boards appear in the kicad-tools gallery. See theroadmapfor the build order and thearchitecturedoc for how the pieces fit.
Gallery
Blocks discovered by the build-time layout data loader (src/data/loadLayouts.ts), each rendered from itsklt layout-metrics output.
7 blocks · 7 with generated artifacts

gf180mcu_fd_sc_mcu9t5v0__and2_1
gf180mcu standard-cell layout `gf180mcu_fd_sc_mcu9t5v0__and2_1` from the #4 test corpus.
- Layers13
- Cells1
- Instances0

gf180mcu_fd_sc_mcu9t5v0__clkinv_1
gf180mcu standard-cell layout `gf180mcu_fd_sc_mcu9t5v0__clkinv_1` from the #4 test corpus.
- Layers13
- Cells1
- Instances0

gf180mcu_fd_sc_mcu9t5v0__dffnq_1
gf180mcu standard-cell layout `gf180mcu_fd_sc_mcu9t5v0__dffnq_1` from the #4 test corpus.
- Layers13
- Cells1
- Instances0

sky130_fd_sc_hd__buf_4
sky130 standard-cell layout `sky130_fd_sc_hd__buf_4` from the #4 test corpus.
- Layers22
- Cells1
- Instances0

sky130_fd_sc_hd__dfxtp_2
sky130 standard-cell layout `sky130_fd_sc_hd__dfxtp_2` from the #4 test corpus.
- Layers22
- Cells1
- Instances0

sky130_fd_sc_hd__inv_1
sky130 standard-cell layout `sky130_fd_sc_hd__inv_1` from the #4 test corpus.
- Layers22
- Cells1
- Instances0

sky130_fd_sc_hd__nand2_2
sky130 standard-cell layout `sky130_fd_sc_hd__nand2_2` from the #4 test corpus.
- Layers22
- Cells1
- Instances0