Repository navigation
Releases
thonny-ai 0.2.0
Install (Windows portable): Download Thonny-AI-portable.zip, extract it, and run thonny.exe.
Install in an existing Thonny: Open Tools → Open system shell… and run pip install git+https://github.com/AstroQuestStudio/thonny-ai.
Install for Claude Code: Open View → AI Assistant and click Connect Claude Code.
Real-board validation in progress (unit + e2e tests pass)
Robot control and safety
- The STOP button and the
stopMCP tool interrupt execution and run the project's safe-stop code. Interrupts and timed-out runs use the same safe-stop code. Stop and interrupt actions bypass the approval prompt. - The watchdog can trigger an emergency stop on program errors or a missed heartbeat. Project settings in
.thonny-ai.jsoncover paths, ignore rules, safe-stop code and output limits. i2c_scanandgpiohelp check wiring.monitorcan return as soon as its output matches a regular expression. Long tool output is capped.
Files, panel and telemetry
pullcopies files from the board and protects existing local files by default.syncsupports ignore rules and optional deletion, with a dry run available.- The AI Assistant panel shows live board status, clearer approval prompts, and a filterable log with copyable code and results. MCP tool annotations flag read-only and destructive actions.
- The
telemetrytool summarizes readings. Thonny's live Telemetry view adds selectable time windows, pause, and CSV export.
Wi-Fi and bare metal
- WebREPL adds Wi-Fi transport alongside Thonny and USB.
wifi_setupconfigures the board over USB while preservingboot.py. - Six bare-metal tools cover Pico W and Pico 2 W project creation, build, flashing, console access, and restoring MicroPython.
The suite has 193 unit tests. tests/hardware_check.py exercises the tools on a real board.
thonny-ai 0.1.1
Robustness release, recommended for everyone.
Download Thonny-AI-portable.zip (Windows): unzip, run thonny.exe, open View → AI Assistant, click Connect Claude Code.
Existing Thonny: Tools → Open system shell… then pip install -U git+https://github.com/AstroQuestStudio/thonny-ai
Fixes
- A Thonny that is open but briefly busy is no longer mistaken for a closed one (no silent switch to the serial port)
- Values echoed by Thonny's local Python no longer contain internal object-link markup
- Silent operations (file listing, sync…) no longer leave empty
>>>lines in the shell - The AI Assistant panel's Status column stays visible when the panel is narrow
Docs
Demo GIF, example prompts, compatibility table, FAQ, and an llms.txt so AI assistants can discover and use the project.
thonny-ai 0.1.0
First release.
Download Thonny-AI-portable.zip (Windows): unzip, run thonny.exe, open View → AI Assistant, click Connect Claude Code. Nothing to install.
Already have Thonny? In Tools → Open system shell…:
pip install git+https://github.com/AstroQuestStudio/thonny-ai
Highlights
- AI code appears in Thonny's shell after
>>>, highlighted, as if typed - AI Assistant panel: activity log + optional approval of every action
- Long-running programs:
start/monitor/interrupt(robots, sensor streams) - Auto-reconnect when the board is replugged
syncuploads only changed files (SHA-256)- Works without Thonny through the serial port
- English / Français
Full list in CHANGELOG.md. Hardware reports welcome: see docs/hardware-testing.md.