Wire Lang — text-first electronic schematics

Wire Lang is a text-first language for electronic schematics. You describe a circuit as components, terminals, and nets in a small declarative .wire file, and Wire Lang renders it as a clean, deterministic SVG diagram. The same source always produces the same diagram. It is the missing layer between AI and the circuit board.

Write circuits as text, render deterministic SVG

Code is text, so AI can read it, write it, and refactor it. Diagrams followed with text formats like Mermaid, but electronic schematics stayed locked inside GUI editors that AI cannot read. Wire Lang models a real electrical circuit — components with typed terminals joined by nets — rather than flowchart boxes and arrows. The parser returns structured diagnostics with source locations and suggested fixes, and the CLI speaks JSON for agent feedback loops.

Install the Wire Lang CLI

Install with npm install wire-lang (open source, MIT licensed, ESM-only, Node.js 20+), then render any .wire file to SVG:

npm install wire-lang
npx wire render led.wire --out led.svg

Documentation and developer resources