klayout-tools

Standalone Python tools that let AI agents parse, analyze and manipulate chip layouts (GDSII/OASIS, DRC decks, LVS) headless with machine-readable JSON, built on the KLayout Python API.

ToolchainOpen sourceActiveECADVerification

What it does and how it connects

klayout-tools is a set of standalone Python tools that let AI agents parse, analyze and manipulate chip layouts (GDSII/OASIS streams, DRC decks, LVS) headless, with machine-readable JSON everywhere. It is built on KLayout's Python API, and the heavy lifting stays in that proven engine. The target capability stated in the README is an agent taking a spec through analog, digital or mixed-signal paths on an open PDK, unaided, with every step headless and JSON-contracted.

The klt CLI covers structured layout access, machine-readable output with --format json on every command, programmatic layout writing (klt gen, gen-compose, draw), and an MCP server (klt mcp serve) exposing every verb over stdio, generated from the CLI registry. Status is early alpha: v0.5.0 shipped on PyPI with 44 verbs, and the build order lives in ROADMAP.md.

Install is uv tool install klayout-tools or pip install klayout-tools, which provides the klayout Python module only; klt drc with the KLayout engine additionally needs a system KLayout application on PATH. The project is built in the open by 2AM Logic, and its site is klayout-tools.org.

  • OpenROAD

    The unified RTL-to-GDS application for synthesis, floorplanning, placement, clock-tree synthesis, routing and sign-off, rather than agent tools for parsing and manipulating layouts.

  • vibe-ic

    A Claude Code plugin that drives a full IC flow from natural-language intent, rather than standalone CLI tools for layout work.

  • IHP-Open-PDK

    A 130 nm BiCMOS open-source PDK for analog, mixed-signal and RF design, rather than tools that operate on layouts.

Recurring errors it addresses

Error Index entries this tool is built to reduce or work around.

Sources

  1. 1READMEgithub.com
  2. 2Project siteklayout-tools.org
  3. 3Latest release v0.5.0github.com

Not verified

  • Pricing: none stated on the repo.
  • No independent user voice found: recent repo activity is bot-filed fleet issues and pull requests.
  • The README calls the project early alpha; v0.5.0 is the latest release.

Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.