**3,551-line VS Code extension — AI chat, voice, stats, walkthrough — the brain of Alfred IDE.**
Alfred Commander is a single-file VS Code/code-server extension that provides multi-provider AI chat, speech-to-text/text-to-speech, workspace intelligence, and an interactive walkthrough. It is the primary user interface for Alfred IDE.
## Architecture
One extension, one `extension.js` — 3,551 lines of production code. No framework, no bundler, no node_modules. Pure VS Code API.
### What It Does
| Feature | How it works |
|---------|-------------|
| **AI Chat** | Multi-provider (Anthropic Claude, OpenAI GPT, Groq, local Ollama) via streaming API |
| **Voice** | Browser SpeechRecognition for STT, Kokoro TTS engine for speech output |
| **Attachments** | Drag-and-drop files/images into chat, base64 encoding for vision models |
| **Model Picker** | Runtime model switching across all providers |