I built an open-source AI agent for EasyEDA that can design schematics and PCBs
说明与用途
EasyEDA Copilot 使用 AI 代理、MCP 中间件以及放置和布线算法,实现了原理图和 PCB 设计的自动化,并生成标准 EasyEDA 文档。
问题
Designing schematics and PCBs manually in EasyEDA is time‑consuming and error‑prone.
结果
EasyEDA Copilot reduces manual effort by automating schematic creation, component placement, and PCB routing, while still allowing manual intervention via JavaScript API.
工作流
- 1. AI agent generates a DSL description of board geometry, component groups, and placement constraints.
- 2. MCP server connects to EasyEDA via local WebSocket, exposing schematic and PCB data to the agent.
- 3. Placement algorithm receives DSL, board geometry, and constraints, then computes optimal component positions using GPU acceleration.
- 4. Agent reviews placement preview, adjusts constraints if needed, and applies placement to EasyEDA.
- 5. Routing algorithm receives DSL describing trace widths, clearances, differential pairs, and planes, then runs KiCad Routing Tools via an integration.
- 6. Agent imports routed traces back into EasyEDA, checks for remaining unrouted connections, and runs EasyEDA’s built‑in DRC.
- 7. Checkpoint system saves document state before changes, allowing rollback if routing fails.
证据
EasyEDA Copilot can handle a large part of the design process, and the result is still a normal, editable EasyEDA document.
The MCP server connects to the EasyEDA extension through a local WebSocket.
Placement uses a separate algorithm that receives components, connections, board geometry, and constraints.
The current implementation uses KiCad Routing Tools.
- 记录日期: 2026-10-27T23:11:31.911Z