AI-powered agents for electronics engineering: schematics, PCB layout, firmware, and manufacturing.
Bring Antigravity-style agentic development to electronics engineering with KiCad and PlatformIO.
Status: v0.1.0 - Early development. See ROADMAP for development plans.
The Electronics Agent Kit provides specialized AI agents, skills, and workflows for:
- Schematic Design - Circuit capture with KiCad
- PCB Layout - Board design, routing, and DRC
- Firmware Development - Embedded code with PlatformIO
- Manufacturing - Gerber generation, BOM, assembly files
git clone https://github.com/o2scale/electronics-agent-kit.git
cd electronics-agent-kitCopy the .agent folder to your electronics project:
cp -r .agent /path/to/your/project/The agents will be available in AI coding assistants that support agent kits (OpenCode, Antigravity, etc.):
User: Create a new ESP32 temperature sensor project
Agent: I'll use schematic-agent to design the circuit and
firmware-agent to set up the PlatformIO project...
| Agent | Purpose |
|---|---|
schematic-agent |
KiCad schematic design, component selection, ERC |
pcb-agent |
PCB layout, routing, DRC, Gerber export |
firmware-agent |
PlatformIO, Arduino, ESP-IDF, STM32 |
verification-agent |
DRC/ERC validation, quality assurance |
bom-agent |
Bill of Materials, JLCPCB/LCSC optimization |
| Skill | Purpose |
|---|---|
kicad-cli |
Complete kicad-cli command reference |
kicad-file-format |
S-expression file format for .kicad_sch/.kicad_pcb |
platformio |
PlatformIO project setup, build, and debugging |
| Workflow | Purpose |
|---|---|
/new-project |
Create new electronics project with KiCad + PlatformIO |
/verify |
Run DRC/ERC validation on designs |
/manufacture |
Generate Gerbers, BOM, and assembly files |
electronics-agent-kit/
└── .agent/
├── ARCHITECTURE.md # Design philosophy and overview
├── agents/
│ ├── schematic-agent.md
│ ├── pcb-agent.md
│ ├── firmware-agent.md
│ ├── verification-agent.md
│ └── bom-agent.md
├── skills/
│ ├── kicad-cli/SKILL.md
│ ├── kicad-file-format/SKILL.md
│ └── platformio/SKILL.md
└── workflows/
├── new-project.md
├── verify.md
└── manufacture.md
- Verification - DRC/ERC validation via kicad-cli
- Manufacturing - Gerber, BOM, CPL generation
- Firmware - PlatformIO project setup and development
- File Reading - Parse and analyze existing schematics/PCBs
- Schematic Generation - LLMs struggle with spatial/visual reasoning required for component placement and wire routing. We're developing a template-based approach.
- Complex PCB Modifications - Direct file manipulation works for simple changes but risks corruption on complex boards.
See ROADMAP.md for our development roadmap, including:
- Protobuf API integration for safer PCB operations
- Template-based schematic assembly
- Potential KiCad upstream contributions
| Layer | Status | Use Case |
|---|---|---|
| kicad-cli | Production | DRC/ERC, Gerber export, BOM, netlist, PDF |
| Protobuf API | Experimental | PCB operations (80% coverage), schematic queries (20%) |
| File manipulation | Careful | Reading files, simple modifications |
We prioritize safe, reliable operations over experimental capabilities.
The BOM agent understands JLCPCB's assembly service:
- Basic parts (free assembly) vs Extended parts
- LCSC part number integration
- Proper BOM and CPL formatting
User: Create a new ESP32-S3 project with USB-C and an I2C sensor
Agent: I'll create the project structure and initialize both hardware and firmware...
[Creates KiCad project with schematic template]
[Sets up PlatformIO with ESP32-S3 configuration]
[Adds USB-C connector and I2C interface to schematic]
User: Check my PCB for errors
Agent: Running DRC on your PCB...
=== DRC Results ===
Errors: 2
Warnings: 3
[ERROR] Clearance violation at (45.2, 67.8): 0.08mm < 0.15mm
[ERROR] Unconnected net: VCC on U1.pin3
Would you like me to fix these issues?
User: Generate files for JLCPCB
Agent: Generating manufacturing files...
Created:
- output/gerbers.zip (ready for upload)
- output/bom/jlcpcb_bom.csv
- output/assembly/jlcpcb_cpl.csv
Board: 50x40mm, 2-layer
Components: 23 (18 basic, 5 extended)
Estimated cost: ~$15 for 5 boards + assembly
- KiCad 8.x - Schematic and PCB editor
kicad-cli- Command-line interface (included with KiCad)
- PlatformIO - Embedded development platform
- Python 3.x (for PlatformIO)
pip install platformio- Any KiCad 8.x project
- 2-layer and 4-layer boards
- JLCPCB/PCBWay manufacturing
- ESP32 - ESP32, ESP32-S3, ESP32-C3, ESP32-C6
- STM32 - Nucleo, Blue Pill, custom boards
- RP2040 - Raspberry Pi Pico, Pico W
- AVR - Arduino Uno, Nano, Mega
Contributions welcome! Areas to expand:
- Simulation agent (SPICE/ngspice)
- Symbol/footprint library management
- More workflow templates
- Additional MCU platform support
MIT License - see LICENSE for details.
- KiCad - Open source EDA
- PlatformIO - Embedded development platform
- OpenCode - AI coding assistant
- Antigravity Kit - Agent kit template
Built with AI for electronics engineers.