2K

2amlogic/klayout-tools

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

6 stars 质量 66 趋势 27MIT

用于AI代理处理IC布局的工具(通过KLayout提供GDSII/OASIS)

概览

kicad-tools 的操作手册,层级底层:独立的 Python 工具,让 AI 代理(LLM,自主编码助手)以程序化、无头方式解析、分析和操作芯片布局——GDSII/OASIS 流、DRC 卡组、LVS——机器可读的 JSON 随处可见。基于 KLayout 的 Python API,就像 kicad-tools 基于 KiCad 的文件格式一样:繁重的工作留在经过验证的引擎中;代理原生表面则是我们的。 目标能力:ROADMAP.md 保存构建顺序、docs/ARCHITECTURE.md 以及各个部分的匹配方式;工作本身在 GitHub issues 中被跟踪。 芯片设计工具假设有人在图形界面操作。

概述(AI 翻译)

用于AI代理处理IC布局的工具。

🌐 klayout-tools.org——项目现场。

kicad-tools操作手册,一本 在栈下层叠加:独立的Python工具,允许AI代理(大型语言模型, 自主编码助手)解析、分析和操作芯片布局—— GDSII/OASIS 流、DRC 卡组、LVS — 程序化、无头、且 到处都是机器可读的JSON。基于KLayout的 Python API 就像 kicad-tools 在 KiCad 文件格式基础上构建的方式:重 升力留在经过验证的发动机中;特工原生表面属于我们。

目标能力:特工可通过三种之一进行规格 在开放的PDK上进行对等路径,无需协助,每一步都无头且 JSON收缩 — 模拟(规范→原理图/生成器→大小电路→ 布局→DRC/LVS干净→提取网表→模拟验证), 数字(规范→RTL→合成→定位与路由→DRC/LVS干净→ 时序闭合)和混合信号(两条路径加上签字接缝) 它们之间)。 ROADMAP.md 保持构建顺序, docs/ARCHITECTURE.MD 如何拼凑;该 工作本身在GitHub Issues中被追踪。

由凌晨2点Logic公开打造。

为什么要专注于经纪人?

芯片设计工具假设有人在图形界面操作。

本页由 AI 翻译,技术细节请以原文为准。

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 serve exposes 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:

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add 2amlogic/klayout-tools
新手?先看 mcpskill.org 教程 →