Skip to main content

AI agent coding for ESP-IDF workshop

Table of Contents

Welcome to the AI Agent Coding for ESP-IDF workshop!

About this workshop
#

This hands-on workshop teaches you how to use AI coding agents throughout the ESP-IDF development workflow. After completing the ESP-IDF preliminary setup, you will configure an agent in Cursor or VS Code, connect it to Espressif documentation through MCP, and give it persistent project instructions and reusable skills.

You will learn the ESP-IDF concepts needed to guide an agent effectively, including the project build system and CMakeLists.txt files, components, BSPs, Kconfig, sdkconfig, idf.py, esptool, error handling, and logging. You will then apply a spec-driven workflow to create a project, build a reusable component, and validate the generated firmware through build, flash, monitor, debugging, and refactoring cycles.

Prerequisites
#

To follow this workshop, you will need both hardware and software.

Required hardware:

  • Computer running Linux, Windows, or macOS
  • An ESP32-C5-DevKitC development board
  • USB cable that supports power and data and is compatible with the development kit above

Required software:

Agenda
#

If you have met the prerequisites, you can start with the individual chapters:

Optional material:

Time requirements
#

Estimated time: 240 min

Feedback
#

If you have any feedback about the workshop, feel free to start a new discussion on GitHub.

Conclusion
#

We hope this workshop has given you the practical skills to integrate AI agents into your ESP-IDF development workflow. Thank you for participating, and we look forward to seeing what you build!

Next step
#

Introduction: AI agent coding overview