An AI coding assistant built for Arduino IDE 2.x. Ask questions, get fixes, refactor sketches, and generate code โ all inside your Arduino IDE.
Install the VSIX plugin into Arduino IDE 2.x in 4 steps.
Go to the
GitHub Releases
page and download the latest
code-janitor-arduino-ai-agent-x.x.x.vsix file.
Navigate to the .arduinoIDE folder on your system:
If the folder doesn't exist, create it manually. On Windows press
Win+R and type
%USERPROFILE%\.arduinoIDE to open it directly.
Inside .arduinoIDE, create a new folder named exactly
plugins. Then move the downloaded
.vsix file into it. Your final folder structure
should look like this:
Fully close and reopen Arduino IDE 2.x. The plugin loads
automatically from the plugins folder on startup.
Press Ctrl+Alt+A (or Cmd+Alt+A on Mac)
to open the Arduino AI Chat panel.
Everything the Arduino AI Agent can do out of the box.
Ask anything about your sketch โ get explanations, fixes, and code generated instantly.
Ask the AI to fix bugs or refactor your sketch. Changes are applied directly to your files.
Highlight any code and ask the AI to explain what it does in plain English.
Scan your open sketch for syntax errors and get a summary of issues found.
Get a structured review of your sketch with suggestions for improvement.
Ask the AI to generate test cases or validation logic for your Arduino code.
Works with Ollama (local), Groq, OpenRouter, and Anthropic โ your choice.
Scans your workspace for context before answering so responses are relevant to your project.
Full Git integration: clone, pull, push, commit, stage, and branch management from the chat panel.
Ask the AI to add JSDoc or docstring comments to your active sketch file automatically.
The chat panel includes one-click action chips to speed up common tasks.
The Arduino AI Agent supports the same providers as the main extension. Use Ollama for fully offline AI, or Groq/OpenRouter for free cloud models.
ollama pull qwen2.5-coder:7b in a
terminal.
:free in the chat
panel.
All available commands and their default keybindings.
Ctrl+Alt+A on Windows/Linux ยท
Cmd+Alt+A on Mac
Or via Command Palette:
Code Janitor Arduino: Open Arduino AI Chat
Ctrl+Alt+G on Windows/Linux ยท
Cmd+Alt+G on Mac
Or via Command Palette:
Code Janitor Arduino: Open Source Control