Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Assistant Code AINew to Visual Studio Code? Get it now.
Assistant Code AI

Assistant Code AI

Assistant-AI

|
30 installs
| (0) | Free
AI-powered coding assistant with GitHub PR review capabilities and chat interface
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Assistant Code AI

A powerful AI assistant extension for Visual Studio Code that brings the capabilities of various AI models directly into your coding environment.

Features

  • Integrated AI Chat: Chat with AI assistants directly in your VSCode interface
  • Multiple AI Providers: Support for various AI models:
    • OpenAI (GPT models)
    • Google Gemini
    • Ollama (for local models)
  • Convenient UI: Accessible from the activity bar with a dedicated chat view
  • Contextual Assistance: Get coding help, explanations, and suggestions based on your current workspace
  • Customizable Settings: Configure your preferred AI provider and model
  • GitHub PR Review: Review and comment on GitHub Pull Requests directly within VSCode

Installation

  1. Install from the Visual Studio Code Marketplace
  2. Search for "Assistant Code AI" in the Extensions view (Ctrl+Shift+X or Cmd+Shift+X)
  3. Click Install

Development Setup

If you're developing the extension, follow these steps:

  1. Clone the repository
  2. Install dependencies: npm install
  3. If you encounter npm errors with packages like @octokit/rest or @vscode/github-authentication, try:
    • Ensuring your npm registry settings are correct
    • Using a package manager like yarn: yarn install
    • Installing the packages directly: npm install --save @octokit/rest
    • Adding the packages manually to your package.json and running npm install
  4. Compile the extension: npm run compile
  5. Run the extension in a new VS Code window: Press F5

Getting Started

  1. After installation, you'll see a new AI icon in the VSCode activity bar
  2. Click on it to open the chat interface
  3. Configure your API keys and settings by clicking on the settings icon
  4. Start a new chat with the "New Chat" button
  5. Access PR reviews by clicking the PR Review button

Configuration

Setting up API Keys

  1. Click on the Settings icon in the AI Assistant panel
  2. Enter your API keys for your preferred providers:
    • OpenAI API key
    • Google Gemini API key
    • Configure Ollama base URL (default: http://localhost:11434)
  3. Select your default model for each provider

Configuration Options

  • Default Provider: Choose between OpenAI, Gemini, or Ollama
  • Model Selection: Choose different models based on your needs
  • Ollama Configuration: Set custom endpoint for your local Ollama instance

Usage

  • Start a New Chat: Click the "+" icon to start a fresh conversation
  • Ask Questions: Type your coding questions, requests for explanations, or any other queries
  • Switch Providers: Change between different AI providers based on your needs
  • Review GitHub PRs:
    1. Click the PR Review button to open the PR review interface
    2. Log in to GitHub when prompted if not already authenticated
    3. View a list of your open PRs, including those assigned to you or where your review is requested
    4. Click on a PR to view details, add comments, and submit reviews

GitHub Integration

The extension integrates with GitHub to provide a seamless PR review experience:

  • Authentication: Use GitHub's secure authentication process
  • PR Listing: View all PRs relevant to you in one place
  • Review Interface: Add comments, view PR details, and submit reviews
  • Direct Commenting: Add comments to PRs directly from VSCode

Requirements

  • Visual Studio Code version 1.89.0 or higher
  • Internet connection for OpenAI and Gemini (Ollama works locally)
  • API keys for commercial providers (OpenAI, Google)
  • GitHub account for PR review features

Privacy & Data

  • Your code and conversations are processed according to the privacy policies of the AI provider you select
  • For local processing, you can use Ollama with no data sent to external services
  • This extension does not collect or store your API keys or conversations on any external servers
  • GitHub authentication is handled securely using VSCode's built-in authentication provider

Support & Feedback

  • GitHub Issues
  • GitHub Repository

License

This extension is licensed under MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft