# Developing a Rust-based IoT device with AI

DevFeed: [Developing a Rust-based IoT device with AI](<https://devfeed.tech/articles/developing-a-rust-based-iot-device-with-ai-13760.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/2026/04/developing-a-rust-iot-app-with-ai/>)

Author: John Lee

Published: 2026-04-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Blog on Developer Portal](<https://devfeed.tech/sources/blog-on-developer-portal.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Internet of things](<https://devfeed.tech/topics/iot.md>), [ESP32](<https://devfeed.tech/topics/esp32.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-assistants](<https://devfeed.tech/tags/ai-assistants.md>), [ai-coding](<https://devfeed.tech/tags/ai-coding.md>), [blog](<https://devfeed.tech/tags/blog.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [esp32](<https://devfeed.tech/tags/esp32.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [iot](<https://devfeed.tech/tags/iot.md>), [llm](<https://devfeed.tech/tags/llm.md>), [pitfalls](<https://devfeed.tech/tags/pitfalls.md>), [rust](<https://devfeed.tech/tags/rust.md>), [verify](<https://devfeed.tech/tags/verify.md>)

## AI overview

This article describes a rough, hands-on workflow for building a WiFi, BLE, and provisioning device with Rust and AI on the ESP DualKey, an ESP32-S3-based kit from M5Stack. It emphasizes clear specifications, pinned crates, reference implementations, and a tight verification loop.

## Source excerpt

AI assistants are most effective on ESP32 Rust firmware when you supply clear specs, pinned crates, reference implementations (often ESP-IDF C), and a tight verify loop. The article discusses good practices, pitfalls, discipline, and entropy. A brief explanation about the device is also included, along with the repository and all artifacts.