I built an open-source AI agent for EasyEDA that can design schematics and PCBs
Описание и применение
EasyEDA Copilot автоматизирует создание схем и печатных плат, используя AI‑агент, MCP‑сервер и алгоритмы размещения и трассировки, при этом сохраняя совместимость с обычными документами 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