Skip to content

Build from source and flash

  1. Prepare the ESP-IDF environment

    Follow the ESP-IDF get-started guide, install ESP-IDF v5.5.4, and export the ESP-IDF environment.

    After activating the IDF environment, install the ESP Board Manager package:

    pip install esp-bmgr-assist
  2. Get the ESP-Claw source

    git clone https://github.com/espressif/esp-claw.git
    cd esp-claw/application/basic_demo
  3. Select a development board

    idf.py gen-bmgr-config -c ./boards -b <board_name>
    # e.g.: idf.py gen-bmgr-config -c ./boards -b esp32_S3_DevKitC_1
  4. Adjust menuconfig settings Optional

    idf.py menuconfig

    Suggested changes:

    • (Top)Basic Demo Config
    • (Top)Component configESP-Claw CoreAgent stage notification verbosity
      • Simple by default;
      • If you want Event Router to receive agent_stage events (for example, forwarding tool-call progress to IM via router_rules.json), choose Verbose.
      • See Dataflow and automation.
    • (Top)Component configESP System Settings
      • Set Channel for console output to match your board hardware.
  5. Build and flash

    idf.py build
    idf.py flash monitor