About

Circuits you can write down

A schematic drawn in a traditional EDA tool is a picture. You cannot diff it, review it in a pull request, or generate it from a script. Wirescript Studio starts from the opposite end: the circuit is code, the canvas is a view of that code, and both stay in step because there is only one document underneath.

WireScript Core v1.0.0-rc.1Studio v1.0.0

WireScript Core 1.0.0-rc.1

WireScript Core is the open-source library the editor is built on. It is a code-first DSL for describing electronic circuits — published to npm as @ssevindikx/wirescript, and usable entirely on its own. Studio has no private fork of it: the version below is the one this build runs against, and the one you would install yourself.

1.0.0-rc.1 is a release candidate. The public API is frozen — nothing in it changes between this tag and 1.0. A test pins the exact set of 172 public exports, so removing or renaming one fails the build; every component type is round-tripped through all five conversion paths; and the shipped example circuits are required to pass ERC's strictest profile.

Topology, not drawings

The core answers one question: which pin is connected to which node, and what is this component worth. No coordinates, no rendering, no simulation — that separation is why the same circuit description survives every layer above it.

17 component types

Passives, diodes and LEDs, voltage and current sources, power rails, BJTs, MOSFETs, JFETs, op-amps and logic gates. Each carries its own component type, so a PNP is a PNP rather than a transistor with a flag on it.

Five conversion paths

Every component round-trips through the in-memory DB, JSON, CSV, the .ws file format and SPICE. A circuit written in the DSL, exported to SPICE and imported back is the same circuit.

31 ERC rules

Electrical rule checking across topology, power distribution and device physics — floating nodes, shorted supplies, reversed diodes, undriven transistor bases. Every violation carries the numbers behind it and a concrete remedy.

Source: github.com/ssevindikx/wirescript · Package: npmjs.com/package/@ssevindikx/wirescript

Wirescript Studio

Studio is everything the core deliberately leaves out: pixels, waveforms, storage and a conversation. It runs in the browser with nothing to install, and it keeps the circuit description as the single source of truth — the canvas, the DSL panel, the netlist and the simulation all read from the same document.

A canvas and the code, in sync

Drag parts onto the schematic and the WireScript source updates with it; edit the source and apply it back to the canvas. One document underneath, so neither view can drift from the other.

SPICE simulation in the browser

Transient analysis runs on a WebAssembly build of ngspice in a background thread, so a circuit that will not converge cannot freeze the tab. Probe a node, press Run, read the waveform.

Errors in plain language

When the simulator refuses a circuit, the Output tab explains what went wrong and what to try, rather than handing you a solver message. The engine’s own output stays underneath for when you want it.

An AI agent that edits the circuit

Describe what you want and the agent writes the WireScript for it, runs ERC, simulates, and shows you the result to keep or undo. It works on the same document you do — not on a copy.

Versions

WireScript Core1.0.0-rc.1The circuit engine — DSL, ERC and every import/export path (release candidate).
Wirescript Studio1.0.0This application — canvas, simulation, AI agent and project storage.
Simulation enginengspice (WebAssembly)Transient analysis, run in a background thread inside your browser.

The same version numbers appear in the editor under Settings → About.

Open the editor

Nothing to install and no project to set up — the editor opens with an example circuit you can simulate straight away.

Open the editorSee plans

Questions, bug reports or a circuit that will not simulate — hi@wirescriptstudio.com.