kasumi research
tsuyu

tsuyu

Tsuyu is an AI-driven IDE for debugging hardware. Your agent works through tools over MCP, and what it writes to drive a device is ClojureScript you keep. It runs in a browser tab; the tsuyu probe reaches the wires.

Your agent probes a device's lines, works out its protocol, then drives it from a ClojureScript library it writes.

best on a laptop: tsuyu wants a keyboard and a USB port

tsuyusensor-node displaytsuyu probe
Waveswindow 2 ms · spi mode 0, 8 MHz
PinsJ11 · 2 × 20
J11.3SCK
J11.4MOSI
J11.5CS
J11.6D/C
J11.7RST
Display128 × 128
decoded from J11 · RGB565
Source/user/lcd/panel.cljs
340.000 msat 50 MHz Recording 1 204 311 Threads t0t1t2t3 Pins 5 / 20 Agent connected
AgentClaude Code
›what are pins 3 to 6 doing?
3 is a clock at 8 MHz, in bursts. 4 carries data, 5 selects, and 6 flips as each burst starts.PinsWaves
›decode them
SPI mode 0, with 6 as data/command. It is a display: 2a and 2b set a window, 2c writes a row of pixels.Waves
›show me the screen
This is the last frame it drew, 128 × 128 in RGB565.Display
›write a library so we can drive it
Done: lcd/panel.cljs, with a codec for the commands, a driver, and draw!.Source
›take over the display
The board's MCU is held in reset on 7, and the probe drives 3 to 6 now.Pins
›draw our logo on it
Drawn, 128 rows in 42 ms.Display
AgentClaude Code
what are pins 3 to 6 doing?
SPI to a display, with a data/command line.Pins
show me the screen
Its last frame, 128 × 128.Display
Displaydecoded from J11

The whole workbench is ClojureScript.

Decoders, simulated devices, drivers and the panes you watch them in are all written in it. The library your agent writes is yours to read, change and share, and you call it the way the agent does.

REPLcljs.user
(require '[lcd.panel :as lcd])
(driver/attach! :lcd.panel/panel)
(lcd/fill! [0 0 0])
(lcd/draw! (text-image "21.4 °C" {:size 3}))
;; 128 rows sent in 42 ms

The workbench measures.
The agent interprets.

The rule behind every tool. Tsuyu never guesses what a signal means: it measures edges, rates and frames and hands the numbers to your agent. The interpretation stays in the agent's words and in the code it writes, where you can read it and check it.

How it connects

Your agentClaude Code, Codex, or any MCP client
TsuyuThe workbench, in a browser tab
Tsuyu probeAn FPGA board that reaches your device's wires
Your deviceA display, a flash chip, a sensor, a CAN bus

The parts

Tsuyu

The workbench, in a browser tab. Decoders, drivers and a simulator, and the modules you and your agent write.

Tsuyu probe

An FPGA board that reaches your device's wires: twenty pins on its header, to listen or to drive.

Tsuyu is in private access.

We are letting people in a few at a time. If you would like to try it, get in touch.