This started as a browser-based PCB editor with an AI assistant on top. It is no longer pursued as a product. It stands as a working codebase and a set of findings about two hard problems: reproducing KiCad files byte-for-byte while editing them, and getting an AI to make safe fixes to a board. Last updated November 2026.
- Lossless parse and write. A
.kicad_pcbor.kicad_schfile parses into a pointer-free tree and serializes back byte-for-byte when untouched. The round-trip test passed on every file of a 72-board corpus of real open-source designs, from KiCad 4-era to KiCad 9 files. - PCB editor. Move, rotate and flip footprints; create and delete traces, vias, footprints, zones,
graphics and text; edit object properties; undo and redo; revisions with checkpoints; DRC and ERC through a
sandboxed
kicad-cli; a connectivity-aware ratsnest; and export of Gerbers, drill, pick-and-place, BOM and a fabrication drawing behind a pre-flight check. - Schematic editor. Symbol placement from a hosted library, wiring, labels, netlist, ERC, and forward-only schematic-to-PCB sync.
- EasyEDA import through the same sandbox, with a fidelity report.
- AI assistant (experimental). A proposal flow that forks the board, edits through a closed set of typed operations, and presents a change only when real DRC on the exact serialized result clears a target and introduces no new error.
Byte-exact reproduction is solid for reading and fragile for creating. Untouched content round-trips by
construction. Content the editor creates has to look like KiCad wrote it, and KiCad's formats move: KiCad 10
drops numeric net codes, files from different versions disagree on whether objects carry a UUID, and the set
of versions each kicad-cli build can open differs. In the corpus, 21 of 72 boards have objects with no
native identity (mostly pre-KiCad-6 exports), which the editor handles with derived keys but which remain the
weakest corner. Keeping generated output indistinguishable from KiCad's, across versions, is a permanent
maintenance cost.
An AI that edits boards is mostly a verification problem. The real-DRC gate works: in the runs reported below, no presented proposal introduced a new error. Getting a model to produce a useful proposal behind that gate was much harder.
Measured with the eval harness (real model, real kicad-cli DRC, seeded). Treat these as a snapshot of a
small experiment, not a benchmark.
- Model loop (Gemini flash-lite, free tier, rate limited): between 0 and 25% of seeded cases solved, noisy, on boards where the exact revert always works. The model frequently made no edits.
- Deterministic solver, no model, run on every corpus board's own baseline errors (53 boards with something to fix, 40 DRC runs per board): 172 of 11,928 targeted errors cleared, on 15 of the 53 boards, with no new error introduced anywhere. Individual boards did better: 42 of 108 via-size errors on one board, 13 of 45 clearance errors on another. The totals are dominated by large boards where 40 DRC runs cannot get far, and 22 boards had no candidate edit at all. The likely causes are offenders that are pads (not editable) and fixes larger than the allowed copper reduction, but this was not diagnosed board by board.
What this suggests: errors that are geometric and local (clearance, via size, edge distance) are better handled by deterministic solvers behind the gate, with a model reserved for judgment calls. A fix that needs rerouting copper is out of reach for the current operation set.
- Zones can be created but not selected, edited or deleted from the canvas.
- No multi-select, lock, copy/paste, duplicate or alignment tools.
.kicad_prois a single current-state blob, not a revisioned file.- Schematic sync does not reassign nets on placed pads or flag removed parts; no buses or hierarchy.
- No per-project symbol or footprint library.
- There is no CSRF protection, and the deployment is single-instance.
- No board designed here has been fabricated, and the schematic editor has not had a usability study.
- A known unfixed performance issue: panning the largest test board (about 54 MB) stalls for over ten seconds.
- A known unfixed error in the schematic engine's use of
this.app.screen. - Live in-browser DRC and routing, and parts sourcing, were planned and not built beyond early pieces.