by w1ne
Open-source circuit and MCU firmware simulator for mixed-signal co-simulation, deterministic CI, and MCP workflows. STM32, ESP32, RP2040.
# Add to your Claude Code skills
git clone https://github.com/w1ne/labwired-coreGuides for using ai agents skills like labwired-core.
labwired-core is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by w1ne. Open-source circuit and MCU firmware simulator for mixed-signal co-simulation, deterministic CI, and MCP workflows. STM32, ESP32, RP2040. It has 208 GitHub stars.
labwired-core's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/w1ne/labwired-core" and add it to your Claude Code skills directory (see the Installation section above).
labwired-core is primarily written in Rust. It is open-source under w1ne on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh labwired-core against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Run unmodified ARM, RISC-V, and Xtensa firmware against modeled silicon, circuits, and boards — in your browser, terminal, CI, or AI coding agent.
ERC 0/0·DRC 0/0·4/4 firmware checks·19,033/19,033 SPI transfers matched vs physical silicon·193–403 Minsn/s RV32 block cache
Every link below boots real compiled firmware directly in WebAssembly with no account or install required:
| Demo | What runs live | 1-Click Launch |
|---|---|---|
| ESP32-S3 DOOM | ESP32-S3-WROOM-1 (N16R8) driving a 16-bit parallel LCD framebuffer (DB0–DB15) |
Open & Run ↗ |
| ESP32-C3 OLED Clock + 3D PCB | ESP32-C3 Super Mini running real firmware over live I²C (0x3C) + interactive 3D board view |
Open & Run ↗ |
| Mixed-Signal Touch + Oscilloscope | Arduino Nano + 1 MΩ RC touch pad + live 4-channel oscilloscope plotting real RC decay (13.2 kHz) |
Open & Run ↗ |
| 20-Axis Robot & 3D Printer Twin | ESP32-C3 20-servo robot (axiom-h1-robot) & STM32F411 4-axis printer (a1-mini-printer) wired to KernelCAD 3D |
Robot ↗ · 3D Printer ↗ |
More zero-login labs: ESP32-C3 tri-color e-paper weather · STM32U575 Star Catcher · BME280 weather · IO-Link DI/DO
Firmware ELF / Bin ──┐ KiCad (.kicad_sch/.kicad_pcb) / Wokwi (diagram.json) / YAML
▼
┌──────────────────────────────────────────────────────────────────────────────────┐
│ CPU Cores: ARM Cortex-M0+/M3/M4/M7/M33 · RISC-V (Rv32BlockCache + Wasm JIT) │
│ Xtensa LX6/LX7 (ESP32/S3 paths) · AVR │
├──────────────────────────────────────────────────────────────────────────────────┤
│ Deterministic System Bus & Event Scheduler │
│ ├─ Silicon peripherals (UART, SPI, I2C, CAN, USB, DMA, Timers, ADC, PWM, Radio) │
│ ├─ Board devices (OLED/TFT/e-paper framebuffers, IMUs, Flash, IO-Link, Servos) │
│ └─ Mixed-signal analog solver (browser linear RLC + native ngspice co-sim) │
└──────────────────────────────────────────────────────────────────────────────────┘
│
┌────────────────┼─────────────────┬──────────────────┬─────────────────┐
▼ ▼ ▼ ▼ ▼
CLI Gate GitHub Action Python SDK Browser WASM MCP Server
(labwired test) (labwired-core@v1) (labwired.Sim) (app.labwired.com) (Claude/Codex)
LabWired Core loads an unmodified firmware ELF and executes it deterministically against modeled silicon and board hardware: CPU, buses, peripherals, sensors, displays, and protocol devices. The same ELF and board manifest produce the same UART log, GPIO/bus trace, and pass/fail exit code on every machine.
Two design choices separate it from a bare CPU emulator:
configs/chips/, configs/systems/). You assert on I²C traffic, SPI transfers, GPIO pin state, or framebuffer output.Modeled, Smoke-tested, Hardware-compared). Shortcuts are documented in FIDELITY.md.For analog circuits and KiCad boards, see the online circuit simulator guide (browser linear RLC + native ngspice co-simulation) and the KiCad PCB import guide.
Measured on Linux x86_64 with cargo test -p labwired-core --release --features "jit-framework,jit" (see docs/esp32sim-audit.md for methodology, differential tests, and MIT attribution to mikroverk/esp32sim):
| Workload | Baseline interpreter | Rv32BlockCache (native & browser WASM32) |
RiscvWasmJit (shared Store+Memory) |
|---|---|---|---|
| ESP32 512 KiB SRAM ALU + mem + branch (2M instrs) | 35.8 Minsn/s (55.9 ms) | 193.8 Minsn/s (10.3 ms, 5.42×) | 85.8 Minsn/s (23.3 ms, 2.40×) |
| RV32IM pure ALU self-loop (2M instrs) | 69.8 Minsn/s (28.6 ms) | 402.9 Minsn/s (5.0 ms, 5.77×) | 59.8 Minsn/s (33.5 ms, 0.86×) |
Short 256 B SRAM step_unit vs Machine::step (1M instrs) |
5.32 Minsn/s (187.8 ms) | — | 153.6 Minsn/s (6.5 ms, 28.85×) |
Reproduce locally:
cargo test -p labwired-core --release --features "jit-framework,jit" \
--test riscv_block_cache_and_shared_jit_bench -- --include-ignored --nocapture
Recorded from docs/assets/demo.tape against a real binary. The second half breaks an assertion on purpose so you can see the CI gate fail.
Clone the repository, install the CLI, and run a committed bare-metal ELF — no cross-toolchain needed:
git clone https://github.com/w1ne/labwired-core && cd labwired-core
curl -fsSL https://labwired.com/install.sh | LABWIRED_VERSION=v0.26.0 sh
labwired test --script examples/nrf54l15-dk/io-smoke.yaml
nRF54L15 boot OK
core=cortex-m33 rram=1524K ram=256K
uarte20@0x500C6000 gpio2@0x50050400
regs from MDK/SVD, not nRF52
PASS 4/4 checks · io-smoke · 200000 steps · 0.04s
That is a committed bare-metal ELF booting on an nRF54L15-DK profile in under a second. Nothing is compiled on your machine.
The four checks are the three UART lines plus the stop reason.
The firmware prints those lines from string literals. The text proves nothing by itself.
What it proves is that the bytes arrived. To send them, the firmware had to boot from RRAM
at 0x0, set up RAM at 0x20000000, and drive UARTE20 over EasyDMA. Get the UARTE base
wrong in the chip model and you get no output at all.
GPIO is checked at the pin, not in the banner, by
firmware_survival::test_nrf54l15_lights_dk_led0. The
example README says why both tests are needed.
The verdict goes to stderr. The exit code is the gate: 0 passes, anything else fails.
UART output and --json stay on stdout, so pipes keep