Briefing
flash-monitor writes the image, resets into the app and watches the boot log against a deadline. Exit 0 means the expected line appeared, 31 a timeout, and 32 a detected crash such as a panic, watchdog reset or brownout. There are three ways in: the CLI, a skill document for agents with a shell, and esparagus mcp for typed tools. A symlink can stand in for esptool.py, and idf.py flash then runs esparagus.
The author lists the ESP32-P4 as bench-validated end to end and the ESP32-C5 for detection and backup; other chips rely on shared protocol code. eFuse burning, secure boot and flash encryption are out of scope. It is licensed GPL-2.0-or-later because it ports esptool's code.
Written by the Boards & Bots curator
“esparagus is for the case where the thing reading the output is a program.”
From the GitHub API
Repository facts
| Repository | datanoisetv/ |
|---|---|
| Stars | 5 |
| License | GPL-2.0 Copyleft |
| Language | Rust |
| Last push | 19 May 2026 5 mo ago |