Arduino IDE 2.x ยท VSIX Plugin ยท Free & Open Source

Code Janitor
Arduino AI Agent

An AI coding assistant built for Arduino IDE 2.x. Ask questions, get fixes, refactor sketches, and generate code โ€” all inside your Arduino IDE.

Download VSIX Open Arduino Chat View on GitHub
Getting Started

Installation

Install the VSIX plugin into Arduino IDE 2.x in 4 steps.

Note: This is a standalone VSIX plugin for Arduino IDE 2.x. It does not require the main Code Janitor VS Code extension.
1

Download the VSIX

Go to the GitHub Releases page and download the latest code-janitor-arduino-ai-agent-x.x.x.vsix file.

2

Open the .arduinoIDE folder

Navigate to the .arduinoIDE folder on your system:

Windows C:\Users\<YourName>\.arduinoIDE
macOS /Users/<YourName>/.arduinoIDE
Linux /home/<YourName>/.arduinoIDE

If the folder doesn't exist, create it manually. On Windows press Win+R and type %USERPROFILE%\.arduinoIDE to open it directly.

3

Create a plugins folder and place the VSIX inside

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:

๐Ÿ“ .arduinoIDE
    โ””โ”€โ”€ ๐Ÿ“ plugins
            โ””โ”€โ”€ ๐Ÿ“„ code-janitor-arduino-ai-agent-1.2.0.vsix
4

Restart Arduino IDE and open the chat

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.

Download VSIX Open Arduino Chat
What's Included

Features

Everything the Arduino AI Agent can do out of the box.

๐Ÿค–

Arduino AI Chat

Ask anything about your sketch โ€” get explanations, fixes, and code generated instantly.

๐Ÿ”ง

Fix & Refactor

Ask the AI to fix bugs or refactor your sketch. Changes are applied directly to your files.

๐Ÿ“‹

Explain Code

Highlight any code and ask the AI to explain what it does in plain English.

๐Ÿ”

Syntax Scan

Scan your open sketch for syntax errors and get a summary of issues found.

๐Ÿ”

Code Review

Get a structured review of your sketch with suggestions for improvement.

๐Ÿงช

Generate Tests

Ask the AI to generate test cases or validation logic for your Arduino code.

๐ŸŒ

Multi-Provider

Works with Ollama (local), Groq, OpenRouter, and Anthropic โ€” your choice.

๐Ÿ“

Workspace Aware

Scans your workspace for context before answering so responses are relevant to your project.

๐ŸŒฟ

Source Control

Full Git integration: clone, pull, push, commit, stage, and branch management from the chat panel.

๐Ÿ“

Add Docs

Ask the AI to add JSDoc or docstring comments to your active sketch file automatically.

Quick Actions

Chat Action Chips

The chat panel includes one-click action chips to speed up common tasks.

๐ŸŒฟSource Control
โšกCheck syntax
๐Ÿ”Scan codebase
๐Ÿ’กExplain file
๐Ÿ”งFix issues
โ™ป๏ธRefactor
๐ŸงชGenerate tests
๐Ÿ“Add docs
AI Providers

Choose Your AI Provider

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 (Local)

No Key Needed
  • 1.Download and install Ollama for your OS.
  • 2.Run ollama pull qwen2.5-coder:7b in a terminal.
  • 3.In the chat panel, select Ollama (local) โ€” no API key required.
Download Ollama โ†’
โšก

Groq

Free Tier
  • 1.Sign up at console.groq.com.
  • 2.Create an API key under API Keys.
  • 3.Paste the key in the chat panel under the Groq provider.
Get Groq API Key โ†’
๐ŸŒ

OpenRouter

Free Models
  • 1.Sign up at openrouter.ai.
  • 2.Create a key under Keys โ€” no credit card for free models.
  • 3.Pick a model ending in :free in the chat panel.
Get OpenRouter Key โ†’
๐Ÿค–

Anthropic (Claude)

Paid
  • 1.Sign up at console.anthropic.com.
  • 2.Create an API key under API Keys.
  • 3.Paste the key in the chat panel under the Anthropic provider.
Get Anthropic Key โ†’
Commands & Shortcuts

Keyboard Shortcuts

All available commands and their default keybindings.

โŒจ

Open Arduino AI Chat

Ctrl+Alt+A on Windows/Linux  ยท  Cmd+Alt+A on Mac
Or via Command Palette: Code Janitor Arduino: Open Arduino AI Chat

โŒจ

Open Source Control

Ctrl+Alt+G on Windows/Linux  ยท  Cmd+Alt+G on Mac
Or via Command Palette: Code Janitor Arduino: Open Source Control