The AI Code Companion is an intelligent VS Code extension that revolutionizes software development through advanced AI-powered assistance. Designed to enhance developer productivity and code quality across various programming tasks.
See the CHANGELOG for details on the latest updates and enhancements.
Our extension implements a sophisticated AI model routing system that:
- Dynamically selects the most appropriate AI model
- Provides context-aware code analysis
- Supports multiple specialized AI models
- Comprehensive workspace scanning
- Detailed context building
- Performance-optimized caching mechanism
- Multi-language support (TypeScript, JavaScript, Python, Java, and more)
- Deep contextual code understanding
- Intelligent pattern recognition
- Claude: Advanced code generation and complex analysis
- Gemini: Architectural insights and documentation
- ChatGPT: General problem-solving
- Workspace-wide code analysis
- Inline AI assistance via CodeLens
- Configurable AI model preferences
- Enhanced file selection logic for different analysis types
- Improved suggestion extraction with better categorization
- Specialized prompting for different analysis contexts
- More reliable test infrastructure
class AIModelRouter {
async routeRequest(context: WorkspaceContext): ModelRoutingResult {
// Intelligent model selection logic
const selectedModel = this.selectBestModel(context);
return selectedModel.process(context);
}
}
- TypeScript
- JavaScript
- Python
- Rust
- Go
- More coming soon!
- No code is stored or transmitted without explicit consent
- Anonymous, opt-in telemetry for continuous improvement
- Local-first processing prioritizing developer privacy
We welcome contributions! Check our CONTRIBUTING.md for guidelines.
MIT License - See LICENSE for details.
If you find this extension helpful, please give us a star on GitHub!
- Visual Studio Code (v1.80.0 or later)
- Node.js (v16.0.0 or later)
- npm (v8.0.0 or later)
- Open Visual Studio Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "AI Code Companion"
- Click "Install" Coming soon
- 0.2.1 (2025-05-08): Enhanced file selection, improved suggestion extraction, and better test infrastructure
- 0.2.0 (2025-04-15): Initial release with MCP server and AI model routing
For detailed release notes, see the CHANGELOG.
git clone [https://github.com/abbalochdev/ai-code-companion.git](https://github.com/abbalochdev/ai-code-companion.git)
cd ai-code-companion
1. npm install
2. npm run compile
3. click F5 or Run and Debug (Ctrl+Shift+D)
4. Select "Extension Development Host"
5. it start a new window of vscode with the extension installed