Access to AI for free for anyone.
FreeAIr is a Visual Studio extension which allows you to interact with any LLM which have OpenAI-compatible API. Even with local LLM! No artificial | political barrier injected in FreeAIr code.
Q: Wait, another one?!
A: Yes, yet another LLM VSIX :)
Q: Why? There is a fantastic Copilot!
A: Because Copilot is a subject of politics. Today you are enjoying Copilot, tomorrow your country has been banned from it. FreeAIr is not a political subject and provides no artificial barriers.
Q1: I have NO access to any LLM in Internet via public API.
Q2: I have NO rights to use any remote LLM because of license of the code I'm writing.
A: No problem! You can use local LLM, for example via KoboldCpp. Local LLM sends nothing to remote servers. See details below.
Main functions:
- Searching with natural language
- Explain the code
- selected piece of the code
- whole file
- Comment the code
- selected piece of the code
- whole file
- Optimize the code
- Continue writing code according to the comments
- Chat
- Composing commit message
- Whole line completion
- Generate unit tests
- Fix build errors
- Support for MCP servers and its tools.
- A Visual Studio MCP server is built into FreeAIr.
Searching with natural language:
Context menu:
Chat window:
Composing commit message:
Whole file commands:
Also, FreeAIr actions available via codelens:
Whole line completion:
Put cursor in the place of your source code where you need an autocompletion and press Alt+A:
Fix build error:
Main menu:
Options:
OpenRouter.ai choose model window:
MCP servers:
This is possible. If you are banned only from Copilot:
- Install this VSIX into your Visual Studio. You will need to have Visual Studio 2022 v.17.14 at least.
- Register on openrouter.ai. This is easily can be done via github.com account. Also, you can obtain access to any LLM with OpenAI compatible API. FreeAIr itself does not include any LLM.
- Choose any
free
model at openrouter.ai and create an access token. - Put your token into options page (see screenshot above).
- That's all, enjoy! But remember: for a free LLM openrouter.ai has daily limits (50 prompts per day, if I remember correctly).
FreeAIr itself has no restrictions, you are able to switch another OpenAI compatible API.
If you are banned from any remote LLM then run LLM locally, which is very easy, for example with KoboldCpp: run KoboldCpp, choose the model, wait for KoboldCpp starts (it opens browser), and then use correct OpenAI compatible endpoint like http://localhost:5001/v1
.
- openrouter.ai for free access.
- CCodeAI for inspiration.
- L.AI for inspiration.
- KoboldCpp for testing without daily limits.
- to you, visitor. Thanks for reading this. If you are enjoying it please consider give it a ★ in the github repo and ★★★★★ rating on the Visual Studio Marketplace.