Skip to content

NikolaiRadke/AI.duino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

AI.duino

πŸ€– AI.duino - AI assistant for Arduino IDE 2.X

AI.duino integrates Claude, ChatGPT, Gemini, Mistral, Perplexity, Cohere and Croq directly into the Arduino IDE for intelligent code assistance. The newest model will be selected automaticaly.

Oje, Englisch? Kann ich nicht. Schnell hier hin.

πŸ†• What's new?

  • 15.08.2025 Release V1.5.1 with a fix for Gemini and three more locales (no, da and fi).
    -- More news? Check the newsblog.

Features

Supported languages

The plugin uses the language selected in your IDE preferences. If it's a non-IDE language, select in in the plugin menu. Supported are: en, de, fr, it, es, tr, pl, po, el, nl, cs, sv, ja, ko, zh, ro, da, no, fi. More language will follow soon. No, i don't speak all these languages, the locales were generated by Claude Opus 4.1. You can add your own language bei adding a xx.json file to your locales/ folder

Code optimization

Optimizes Code. Example: Converts blocking code into non-blocking variants, delay() is replaced with millis()-based implementations.

Code explanation

Explains complex Arduino commands and hardware registers in plain language.

Automatic documentation

Adds meaningful comments to existing code.

Error analysis

Explains compiler error messages and provides concrete solutions. When using this feature, you copy the error message from the Arduino output window.

Direct AI question with follow up questions

Ask something with or without marked code. You can ask further context-related.

Debug support

  • Analysis of Serial Monitor output
  • Hardware diagnostics for common problems
  • Timing analysis

Screenshot 1 Screenshot 2

Installation

Automatic (recommended)

You need the ZIP aiduino-X.X.X.zip in the same folder with the installer.

Windows

Run install_aiduino_windows.bat as administrator

Linux

chmod +x aiduino_linux.sh
./install_aiduino_linux.sh

macOS

chmod +x aiduino_macos.sh
./install_aiduino_macos.sh

Manual installation

Copy the prepared aiduino folder to the Arduino IDE plugin directory:

Windows

C:\Program Files\Arduino IDE\resources\app\plugins\

macOS

/Applications/Arduino IDE.app/Contents/Resources/app/plugins/

Linux

/usr/share/arduino/resources/app/plugins/
# or
~/.local/share/arduino-ide/resources/app/plugins/

The aiduino folder must have the following structure:

aiduino/
β”œβ”€β”€ extension/
β”‚   β”œβ”€β”€ package.json
|   β”œβ”€β”€ locales/
|   |   β”œβ”€β”€ es.json
|   |   β”œβ”€β”€ de.json
|   |   └── ...
β”‚   └── out/
β”‚       └── extension.js
└── extension.vsixmanifest

Usage

  1. Select code in Arduino IDE
  2. Right-click β†’ AI.duino β†’ Choose function in the menu above
  3. Alternative: Ctrl+Shift+C (Windows/Linux) or Cmd+Shift+C (Mac) or press the AI.duino button below

Explain error

  1. Compile code and find error message in output window
  2. Place cursor near the error
  3. Run "Explain error"
  4. Copy error message (red line with "error:") into input field

API keys

Required: An API key from either:

The keys are stored locally and not transmitted.

Content

AI.duino/
Root directory with some explanation files
|
β”œβ”€β”€ aiduinio/
|   The plugin directory structure for manual installation.
└── installer/
    Installer files with plugin ZIP file  

About

An Arduino AI Assistant. (4A! Yay!). This plugin integrates Claude, ChatGPT, Gemini and Mistral directly into the Arduino IDE. Multilingual.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published