Skip to content

Repository files navigation

InvAit - Local AI Chat and agent for Visual Studio

Secure Visual Studio 2022/2026 extension with local and private AI agent support.

VS 2022+ .NET Framework 4.8 .NET Standard 2.0 .NET 10 Code Coverage License GitHub Release


🔐 Security & Privacy

  • Local First: No code leaves your machine by default.
  • Private AI: Native support for local LLMs (Ollama, LM Studio, vLLM).
  • Control: You define the endpoint and API keys. No telemetry.

✨ Key Features

  • Integrated Chat: Tool window running directly inside Visual Studio.
  • Autonomous Agent: Can read files, execute terminal commands, git operations, and apply code changes.

🚀 Setup

Installation

Option 1: Manual

  • Download the VSIX from Releases.
  • Install the VSIX
  • Main menu View - Other Windows - InvAit Chat

Option 2: MarketPlace

Configuration

Local (Recommended)

Server Run description Endpoint
FoundryLocal
winget install Microsoft.FoundryLocal
foundry service set --port 22334
foundry model run qwen2.5-coder-7b
http://localhost:22334
LM Studio install / download model / start local server http://localhost:1234
Olama install / download model http://localhost:11434

Remote / Self-Hosted

  • Endpoint: URL of your OpenAI-compatible provider.
  • Key: Your API Key
Server Run description Endpoint
OmniRoute in terminal install
npm install -g omniroute
run
omniroute
http://localhost:20128
OpenRouter sing in / pay / use https://openrouter.ai/api
Siliconflow sing in / pay / use https://api.siliconflow.com

Important

/v1 at the end of the endpoint does not need to be specified. It will be automatically deleted and that's normal.

🛠 Capabilities

Category Tools
Files Read, Create, Search, Apply Diff
Project Build, Get Errors, Run tests, Inspect Structure
Git Status, Log, Diff, Branch Info
System Execute Shell Commands
MCP %USERPROFILE%\.agents\mcp.json
Skills global %USERPROFILE%\.agents\skills
local \.agents\skills
Rules global %USERPROFILE%\.agents\rules.md
local \.agents\rules.md
AGENTS.md load file content in system prompt

Screenshots

Edit files

Settings

General Tools

Architecture

Part Description
Extension VS SDK (.NET Framework 4.8) handles system operations.
UI Blazor WebAssembly (.NET 10) hosted in WebView2.
Bridge JSON-RPC communication between UI and VS Host.

📦 Requirements

  • Visual Studio: 2022 (17.14+) or 2026 (18.0+)
  • Runtimes: .NET Framework 4.8, .NET 10 SDK

📄 License MIT

About

Extension for Visual Studio 2022/2026. Adds a simple chat with the LLM model.

Resources

Stars

13 stars

Watchers

2 watching

Forks

Releases

Contributors

Languages