# kicad-pcb-agent

> Automated KiCad PCB design system with lifecycle analysis, DFM gating, and high-speed routing verification.

kicad-pcb-agent is a free AI agent skill pack (several skills in one listing) on Agensi by Beren Rusatcı, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Beren Rusatcı](https://www.agensi.io/creators/beren-rusatci)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-23
- Security: scan passed (2026-10-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/kicad-pcb-agent
- Tags: ai-agents, kicad, pcb-design, hardware-engineering, electronics

## About this skill

Engineering a production-ready PCB requires more than just drawing traces; it demands rigorous validation across multiple physics domains and supply chain constraints. This skill package automates the heavy lifting of KiCad design cycles, from initial power budgeting to final manufacturing handoff. It replaces manual checklists with automated gates that verify electrical, mechanical, and thermal integrity at every stage.

### What it does
- **Automated Routing & Analysis** executes high-speed differential pair routing, crosstalk scanning, and topological auto-routing with DRC-backed verification.
- **Supply Chain & Lifecycle Management** scans Nexar/Octopart for stock levels and generates pin-compatible alternatives for NRND or EOL components.
- **Physical Verification** validates board outlines and 3D keepout zones against DXF/STEP files to ensure mechanical enclosure fit.
- **Manufacturing Handoff** generates Gerber, CPL, and BOM packages with automated centroid rotation and fabrication orientation corrections.
- **Quality Assurance Gates** performs independent maker/checker audits, EMC/ESD pre-compliance checks, and rail-based power budget analysis.

### How it works
1. **Design Intent Decomposition** breaks down high-level hardware goals into specific decision units and context-filtered sub-tasks.
2. **Infrastructure Scaffolding** establishes the stackup, power rail tree, and interface contracts before a single trace is drawn.
3. **Iterative Routing & Guardrails** applies impedance rules and DFM constraints in real-time during the placement and routing phase.
4. **Final Promotion Gate** triggers a design-checker run to verify all evidence artifacts before generating production outputs.

### Frameworks & tools
The package interfaces directly with KiCad (kicad-cli) for schematic and PCB manipulation. It utilizes Octopart/Nexar for component intelligence and supports DXF/STEP for MCAD synchronization.

### Why this beats prompting it yourself
Generic AI models lack the spatial and electrical awareness to manage netlist integrity or impedance-controlled stackups. This skill enforces a formal DAG-based workflow where every design change is backed by an evidence artifact, preventing the halluncinations and "silent" DRC failures common in manual prompting.

### Use cases
- Rapidly porting a design to a new fab by re-injecting DFM capabilities into KiCad DRC.
- Automating the selection and pin-mapping of high-density connectors based on mechanical constraints.
- Running a third-party audit on an existing design to find hidden signal integrity risks.
- Generating production-ready CPL and BOM files with zero manual rotation editing.

### Known limitations
Requires kicad-cli for automated board writes. High-speed simulation is limited to rule-based geometric analysis rather than full-wave EM field solving.

## Requires

- Python
- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the kicad-pcb-agent skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does the kicad-pcb-agent differ from using a standard KiCad autorouter?

The agent acts as a DFM-aware co-pilot that manages complex tasks like high-speed differential pair routing and component lifecycle scanning, ensuring your design is manufacturable and compliant with electrical constraints without manual checklist audits.

### What are the technical requirements for running this skill?

This skill requires an environment where `kicad-cli` is accessible. It is optimized for use with LLMs that support tool-calling, allowing the agent to read netlists and write board files directly via the KiCad API.

### Can this agent help me manage component shortages or EOL parts?

Yes, the agent uses Nexar/Octopart integration to verify stock levels in real-time and can automatically suggest and map pin-compatible alternatives if a component in your schematic is flagged as End-of-Life (EOL).

### What exactly is included in the purchase of this skill?

You receive the complete skill package including the task-specific logic for routing, the DFM verification gates, and the integration hooks for KiCad, Nexar, and MCAD synchronization.

### Does the agent handle full-wave EM simulation for high-speed signals?

While the agent performs rigorous rule-based geometric analysis and crosstalk scanning, it does not replace full-wave EM field solvers; it is designed to prepare and verify your layout for those high-level simulations.

### How does the skill ensure my PCB will fit into a pre-designed mechanical enclosure?

The agent uses DXF/STEP file analysis to validate board outlines and 3D keepout zones, ensuring that your PCB layout remains physically compatible with your mechanical enclosure throughout the design process.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
