1: Magnet:
- A lightweight, high-performance local AI extension for VS Code designed to accelerate your development workflow, assist in communication, and debug code right inside your editor.
2: Key Features:
- Local AI Inference: Powered by
Ollama and Qwen3 for zero API cost and complete code privacy.
- Inline Debugging && Chat: Context-aware code explanations, refactoring, and bug fixing directly in your workspace.
- System Hardware Awareness: Uses
systeminformation to monitor resource utilization during model execution.
3: Prerequisites:
- Before running
Magnet, ensure you have the required runtime dependencies installed on your system.
3.a: Node.js && npm:
4: Install ollama for your operating system:
macOS: curl -fsSL https://ollama.com/install.sh | sh
Linux: curl -fsSL https://ollama.com/install.sh | sh
Windows: irm https://ollama.com/install.ps1 | iex
4.a: Quick Start
- Install extension dependencies:
npm install systeminformation --save
- Pull default model:
ollama pull qwen3:4b
- Verify model execution:
ollama run qwen3:4b
- Ensure
CodeLens is enabled in your settings.json or (Preferences: Open User Settings (JSON), make sure: "editor.codeLens": true)
4.c: Model Management:
4.d: Recommended Model Tiers
- Small: 0.6b, 1.7b, 3b, 3.2b, 3.8b, 4b
- Medium: 7b, 7.25b, 8b, 9b, 12b, 14b
- Large: 21b, 22b, 27b, 30b, 31b, 35b, 37b, 40b, 70b
- Massive: 105b, 123b, 176b, 205b, 405b, 671b
5: Known Issues && Limitations UI Panel Dragging:
- Do not drag or resize the AI extension panel while a streaming response is generating, as this may interrupt response generation progress.
6: Future Features:
- Support for switching
Ollama models will be added soon
7: License:
- Distributed under the MIT License.
| |