Desktop app
Schematic, waveforms, specs, history and the chat side by side. Opens a folder of .asc files.
aispice reads your LTspice schematics, makes the change you ask for, and proves it in simulation on ngspice, LTspice, Xyce or Spectre. Every edit is a diff you can undo. On an open PDK it takes IC blocks down to a layout checked with DRC and LVS.
Free and open source. Linux, Windows and macOS. Your keys, your machine.
Edit
The agent edits with typed operations: set a value, add a part, connect two pins. aispice places and routes them so the schematic stays readable in LTspice, outlines what changed, and keeps a snapshot for one-click undo.
Verify
Write your requirements once as a spec table: corner frequency, gain, phase margin, ripple. After every change the agent simulates and checks each row, and tells you when one fails, with the margin.
aispice check fails a CI job when a spec doesSize
The model picks what to tune and the ranges; a numerical optimizer searches them with the simulator in the loop and snaps the answer to E24 values. A Monte Carlo run with real tolerances then says how many builds would pass.
IC design
Register IHP SG13G2 once and a project simulates with the PDK's own device models on ngspice or Xyce. The agent sizes transistors by gm/Id from tables it builds, starts from templates checked at every corner, and checks each spec across process, temperature, supply and mismatch.
aispice check two_stage.asc --process tt,ss,ff,sf,fs --temp=-40,27,125
all 3 specs pass at all 15 corners PASS gain: 51.1dB worst at fs/125C (>= 48dB) pass, margin +6.5% PASS gbw: 15.21MHz worst at ss/125C (>= 13MHz) pass, margin +17.0% PASS pm: 57° worst at ff/-40C (>= 52°) pass, margin +9.6%
Layout
Generators draw the block with IHP's own pcells: matched devices in common-centroid or interdigitated units, dummies and guard rings. IHP's KLayout decks check DRC and LVS, Magic extracts the parasitics, and every spec is reported before and after layout. When a check fails, the agent changes the generator's parameters and draws again; it never edits the GDS.
After layout, the five-transistor OTA's unity-gain frequency goes from 113.7 to 105.2 MHz and its phase margin from 84.5 to 82.5 degrees, rerun on the extracted netlist.
Mixed signal
A project declares Verilog-A models and Verilog to co-simulate. aispice builds them itself with OpenVAF and Verilator, runs the result in a sandbox, and ngspice simulates the transistors and the logic together. Above the block, the budget tool splits a target into block specs with every equation, and the trim check finds the code that brings a trimmed block into range at every corner and mismatch sample.
budget: a 10-bit ADC front end, ENOB 9.5, 50 MS/s
sampling capacitor (each side) = 207.9fF OTA gain-bandwidth = 404.5MHz OTA DC gain in dB = 72.25dB OTA input noise density = 11.2nV/rtHz
Chips
A finished block becomes a macro package: GDS, LEF, liberty, a Verilog model, the SPICE netlist, specs measured at every corner and the DRC and LVS evidence. aispice and its digital counterpart, ChipLeap, check a package with the same rules. aispice assembles analog-on-top chips in IHP's pad ring with ChipLeap's hardened logic inside; ChipLeap places aispice's blocks in its digital chips.
660/660
schematics netlisted exactly as LTspice does
49/49
of IHP's xschem test benches netlisted line for line as xschem does
23
reference circuits passing their specs, 6 of them IC blocks at every corner
5
layout generators, DRC and LVS clean on IHP's own decks
Use it
Schematic, waveforms, specs, history and the chat side by side. Opens a folder of .asc files.
Simulate, lint, draw a netlist as a schematic, and check specs in CI.
aispice check amp.ascThe same tools inside Claude Code, Cursor, Codex or Claude Desktop.
claude mcp add aispice -- aispice mcpPrivate by default
No account, no sign-up, no telemetry. The only requests go to the model provider you choose, and with a local model through Ollama nothing leaves your computer. Keys stay in the operating system's keychain, and the agent's tools are confined to the folder you opened.
No. ngspice works out of the box. When LTspice is installed, aispice uses its parts library and can show each edit in LTspice.
Anthropic, OpenAI, Google, OpenRouter, Ollama, or any OpenAI-compatible endpoint. Frontier models do the best multi-step design work; small local models handle reading, editing and simulating.
Yes. Register an installed PDK with aispice pdk add (IHP SG13G2 from IHP-Open-PDK first): simulations load its device models on ngspice or Xyce, and layouts use its pcells and its DRC and LVS decks. A licensed PDK works through Spectre on your own server over SSH, and its model files never leave it.
For IC blocks on IHP SG13G2, yes: five generators (current mirror, differential pair, five-transistor OTA, two-stage op-amp, StrongARM comparator) draw with the PDK's pcells, then IHP's decks check DRC and LVS and Magic extracts the parasitics. Board layout is not part of aispice.
ChipLeap is the digital counterpart: RTL to a chip with a pad ring. The two exchange hardened blocks as macro packages, checked by both with the same rules, so an aispice comparator can sit in a ChipLeap chip and ChipLeap's logic in an aispice chip.
No. aispice is an independent open-source project. LTspice is a trademark of Analog Devices, Inc.
Open a folder of LTspice schematics and ask for the first change.
cargo install --locked --git https://github.com/danieltyukov/aispice aispiceThe command line tool from source, with Rust 1.88 or newer. Every release is on GitHub.