aiot-code is a VS Code extension scaffold for a development-focused AI agent, powered by a local local_dev_agent HTTP server. It provides:
A dedicated Activity Bar entry and sidebar panel
Active workspace / file / selection context collection
Direct integration with a local development agent runtime
Patch suggestions with diff preview before apply
Command suggestions with explicit confirmation before execution
Prerequisites
Make sure Ollama is installed and running (used by the local agent internally):
ollama serve
ollama pull gemma4:latest
The local_dev_agent package must be available at the configured agent path (default: /Users/zy/DOG):
# Verify the package can start the HTTP server
cd /Users/zy/DOG
PYTHONPATH=/Users/zy/DOG python3 -m local_dev_agent.server --host 127.0.0.1 --port 8420
Quick Start
Install dependencies:
npm install
Build the extension:
npm run compile
Press F5 in VS Code to launch an Extension Development Host.
The extension will automatically check http://127.0.0.1:8420/health. If the agent is not running, it will try to start python3 -m local_dev_agent.server --host 127.0.0.1 --port 8420 for you. Configure in VS Code settings:
aiotCode.agentPath — Parent directory containing the local_dev_agent package (default: /Users/zy/DOG)