zhoushoujianwork/easyeda-agent

嘉立创EDA专业版(EasyEDA Pro)自动化:给 AI harness 装上画板的「手」—— 一套 typed 原理图/PCB 动作,CLI / Agent Skill / stdio MCP 三形态融合接入。承接嘉立创「不以卖板赚钱,以培养中国工程师为己任」 | EasyEDA Pro automation: the hands of your AI harness — typed schematic/PCB actions via CLI, Agent Skill and stdio MCP.

What it solves

easyeda-agent provides an AI-native automation layer for EasyEDA (Professional Edition), transforming the official extension API into a typed, observable, and skill-friendly system. It solves the fragility of executing raw JavaScript within the editor by introducing a structured intermediate layer that allows AI agents to design circuits and PCBs with verifiable steps, auditing, and guardrails.

How it works

The project operates through a three-tier architecture:

  1. Go CLI/Daemon: Manages protocols, state, artifacts, and user workflows. It exposes a catalog of "typed actions" (e.g., sch apply, pcb pour) that are validated before execution.
  2. Connector Plugin: A thin .eext plugin running inside EasyEDA that bridges the daemon's requests to the official eda.* API via WebSockets.
  3. AI Agent Skill: A set of expert workflow descriptions and guardrails that guide the agent to use the CLI commands rather than guessing connections from screenshots.

Who it’s for

It is designed for AI agents (and human users) who want to automate the electronic design process in EasyEDA Pro, specifically those looking to move from manual schematic capture and PCB layout to an AI-driven, verifiable hardware design flow.

Highlights

  • Circuit Block Library: A community-driven library of verified peripheral circuits (e.g., ESP32 auto-download, CH340 USB serial) that can be instantiated with a single command (sch block-apply).
  • Verifiable Schematic Flow: Uses a "canonical connectivity JSON" to plan designs locally before applying them to the editor, followed by strict four-stage gating (layout-lint, check, bridge-check, DRC).
  • Advanced PCB Automation: Supports automatic component placement, board outline fitting, rule-aware short-trace routing, 4-layer power plane generation, and collision-aware silk-screen alignment.
  • MCP Integration: Includes a Model Context Protocol (MCP) adapter, allowing agents like Codex to discover and call easyeda_* tools directly.
  • Manufacturing Ready: Integrates with LCSC component IDs for BOM generation and follows JLCPCB fabrication rules for DRC.

Related

  • Project
  • Project
  • Project
  • Project
  • Project