kessetsuOpen Web Hub

SPICE Simulation · Auto-Schematic · AI Agent Verification

Circuit engineering you can execute.

Write a circuit or paste an existing SPICE netlist. Kessetsu simulates it with Ngspice, draws the schematic automatically, and checks whether your engineering requirements actually pass—in your browser, connected to your AI coding tool, or from the terminal.

Standard SPICE (.cir, .sp) & .kess Works with Claude, Cursor & VS Code Real Ngspice simulation Free, local & no account
rc_low_pass.kess · 1 kHz filterBrowser · AI · CLI
1. CIRCUIT & TARGET REQUIREMENTS

First-order RC low-pass filter (R1 = 1 kΩ, C1 = 159.15 nF) · Verify −3 dB cutoff ≈ 1 kHz and −45° phase

$ kess test rc_low_pass.kess
check 01  PASS  dc passband gain  = 1.000      (requires > 0.99)
check 02  PASS  -3 dB cutoff      = 1.000 kHz  (requires 990 Hz .. 1.01 kHz)
check 03  PASS  phase @ 1.000 kHz = -45.0°     (requires -46° .. -44°)
Connections: 0 warningsAuto-Schematic: SVG / PNGExports: KiCad · LTspice · SPICE · BOM
3 / 3 engineering requirements passedNgspice verified · Ready to export

Three ways to use Kessetsu

Start in your browser, connect your AI, or run in the terminal.

Every workflow uses the same Rust simulation and verification core. Start immediately in your browser with zero setup, or install Kessetsu once for your AI coding assistant and terminal.

Browser · Web Hub

Use it in your browser

Open a starter example, write .kess, or import an existing SPICE netlist. Inspect the automatic schematic, explore interactive Bode and transient plots, and export to KiCad, LTspice, or SVG with zero installation.

kessetsu.com/#editorOpen Web Hub
AI Assistant · MCP (kess mcp)

Use it with your AI

Connect Claude Code, Cursor, VS Code, Claude Desktop, or Windsurf. When you ask your AI to design or debug a circuit, it calls Kessetsu locally to run Ngspice and verify that your requirements pass.

claude mcp add kessetsu -- kess mcpConnect your AI tool
Terminal & CI · CLI (kess test)

Use it from the terminal

Check circuit connections, run Ngspice simulations, sweep component tolerances, and enforce pass/fail requirements from your command line, scripts, or GitHub Actions pipelines.

kess test amp.cir --requirements amp.kessreqCLI reference

Closed-loop verification

Give your agent requirements, not blind trust.

AI models can suggest circuits that look plausible on paper but fail electrically. Kessetsu puts real Ngspice simulation and locked pass/fail checks in the loop.

  1. 01Set the goal (.kessreq)

    Write your target limits—gain, cutoff, ripple, or power dissipation—in a separate requirement file so the designing AI cannot quietly weaken the spec to make a test pass.

  2. 02Write or import a circuit

    Work with standard SPICE netlists (.cir, .sp) or readable .kess source in the browser, through your AI assistant, or from the CLI.

  3. 03Check connections & simulate

    Electrical Rules Check (ERC) catches floating pins and shorted sources before simulation; Ngspice then runs and grades every requirement as PASS or FAIL with exact measured values.

  4. 04Inspect & export

    Review the connectivity-verified schematic and waveform plots, then export to KiCad, LTspice, SPICE, SVG, PNG, PDF, or BOM CSV.

Kessetsu is AI-provider independent. Connect any agent via kess mcp or the versioned JSON CLI; see the agent workflow guide.

Zero-install browser workspace

The complete workflow, in your browser.

Edit .kess or convert SPICE netlists, inspect a live schematic with auto-simulation on load, switch seamlessly between schematic and high-readability plots, and export engineering artifacts without an account.

  • Click any component or wire for live ΔV/I/P probing & -10%/+10% quick-tweak
  • Interactive OP, DC, AC & transient plots with 1-click waveform plotting & PASS/FAIL checks
  • Clickable Web Hub URLs via kess share / kessetsu_share_link and 4 circuit calculators

Includes 31 built-in semiconductor & op-amp models (LM358, TL072, LED_*, IRF9540, BC547, 1N5819, J201) plus local device files. Try the 4 calculators (divider, RC low-pass, non-inverting op-amp, Zener regulator), follow the tutorial, or bring an existing SPICE netlist.

Sweeps, tolerance studies & measured CSV comparison

Use parameter studies to compare component choices, loads, temperatures and tolerances. Keep failed cases alongside successful ones.

Bring measured CSV data into research comparison to inspect residuals against a simulation or reference dataset.

kessetsurc_low_pass.kess
Source valid · ERC pass
Source (.kess or SPICE)
net GND
net IN
net OUT
source VIN ac(1V)
resistor R1 1k
capacitor C1 159.154943nF
connect VIN.minus to GND
connect VIN.plus to IN
connect R1.p1 to IN
connect R1.p2 to OUT
connect C1.p1 to OUT
connect C1.p2 to GND
simulate ac dec 40 10Hz 100kHz
assert gain(V(OUT),V(IN)) > 0.99
assert cutoff(V(OUT),V(IN)) > 990Hz
assert cutoff(V(OUT),V(IN)) < 1010Hz
assert phase(V(OUT),V(IN),1kHz) > -46deg
assert phase(V(OUT),V(IN),1kHz) < -44deg
Auto-SchematicConnectivity verified
C1159 nFR11 kΩVINAC 1 V
Ngspice Simulation & Assertions5 / 5 PASS
All 5 requirements verified
cutoff = 1.000 kHzdc_gain = -0.004 dBphase@1kHz = -45.0°
One deterministic Rust Core powers the browser Web Hub, the local CLI, and the built-in MCP server.

Shared engineering core

Verify once. Export anywhere.

BrowserWeb Hub
→
Kessetsu Rust CoreSPICE & .kess · ERC · Ngspice · 31+ Models · Auto-Layout · Share URLs
←
AI Agents & CIMCP Server + CLI
SVGPNGPDFSchematic JSONSPICEKiCadLTspiceBOM CSVHandoff JSON