
2amlogic/klayout-tools
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Tools for AI agents to work with IC layout (GDSII/OASIS via KLayout)
概要
The kicad-tools playbook, one layer down the stack: standalone Python tools that let AI agents (LLMs, autonomous coding assistants) parse, analyze, and manipulate chip layouts — GDSII/OASIS streams, DRC decks, LVS — programmatically, headless, with machine-readable JSON everywhere. Built on KLayout's Python API the way kicad-tools builds on KiCad's file formats: the heavy lifting stays in the proven engine; the agent-native surface is ours. The target capability: ROADMAP.md holds the build order, docs/ARCHITECTURE.md how the pieces fit; the work itself is tracked in GitHub issues. Chip design tooling assumes a human at a GUI.
README
以下は原文 README の抜粋です。原文を見る。
klayout-tools
Tools for AI agents to work with IC layout.
🌐 klayout-tools.org — project site.
The kicad-tools playbook, one layer down the stack: standalone Python tools that let AI agents (LLMs, autonomous coding assistants) parse, analyze, and manipulate chip layouts — GDSII/OASIS streams, DRC decks, LVS — programmatically, headless, with machine-readable JSON everywhere. Built on KLayout’s Python API the way kicad-tools builds on KiCad’s file formats: the heavy lifting stays in the proven engine; the agent-native surface is ours.
The target capability: an agent can take a spec through one of three peer paths on an open PDK, unaided, with every step headless and JSON-contracted — analog (spec → schematic/generator → sized circuit → layout → DRC/LVS clean → extracted netlist → simulation-verified), digital (spec → RTL → synthesis → place-and-route → DRC/LVS clean → timing-closed), and mixed-signal (both paths plus the signoff seam between them). ROADMAP.md holds the build order, docs/ARCHITECTURE.md how the pieces fit; the work itself is tracked in GitHub issues.
Built in the open by 2AM Logic.
Why agent-focused?
Chip design tooling assumes a human at a GUI. klayout-tools provides what
an agent needs instead:
- Structured data access — layouts parsed into clean Python objects
- Machine-readable output — every CLI command supports
--format json - Programmatic layout writing — generate and edit layouts without a GUI
(
klt gen,klt gen-compose,klt draw) - MCP server —
klt mcp serveexposes every verb to agent frameworks over stdio, generated from the CLI registry (pip install 'klayout-tools[mcp]'; see the guide) - LLM reasoning interface (planned) — purpose-built module for layout decisions, with geometric execution handled by tools, not tokens
Status
Early alpha — v0.5.0 is on PyPI
(44 verbs at release; see docs/cli/ for the set). The
pattern is proven (see the kicad-tools gallery of
boards designed end-to-end by agents); this repo is where it meets silicon.
See ROADMAP.md for the build order and CLAUDE.md
if you are an agent working here.
Install
uv tool install klayout-tools
Or with pip:
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add 2amlogic/klayout-tools