MicroPython that runs neural nets on a $10 RISC-V chip
A firmware port that lets you load Keras-style models onto the Kendryte K210 using familiar Python syntax.

What it does
MaixPy is a MicroPython fork built specifically for the Kendryte K210, a dual-core RISC-V MCU with a hardware AI accelerator. It wraps the usual MicroPython machine peripherals—I2C, SPI, GPIO, camera, LCD—plus a KPU module that loads .kmodel files and runs inference on-device. The pitch: write Python, flash firmware, and get image recognition without touching C or a cross-compiler.
The interesting bit
The K210’s KPU is a fixed-function neural network accelerator, not a GPU. MaixPy exposes it through a single kpu.forward() call, which is either refreshingly direct or worryingly opaque depending on your debugging needs. The project also doubles as a C SDK—disable the MaixPy component and you have a bare-metal Kendryte toolchain project.
Key highlights
- Hardware AI acceleration via
KPUmodule; loads models from SD card or flash - Online firmware builder at maixhub.com to trim unused features
- Model hub (Maixhub.com) with pre-converted
.kmodelfiles - FPIOA peripheral mapping: any function to almost any pin
- Also usable as plain C SDK by excluding the MicroPython component
Caveats
- README warns “please read doc before run it” for the AI example—copy-paste will likely fail
- Historic branch exists but is “no longer maintained”
- 800MHz max CPU freq, though “usually 400MHz” depending on board; performance claims need careful reading
Verdict
Grab this if you want the cheapest possible Python-native path to running quantized vision models on bare metal. Skip it if you need transparent accelerator internals, multi-framework support, or a chip with a future roadmap—the K210 is a capable oddity, not an ecosystem.