Lyra OpenCoder AI is a powerful local AI coding assistant extension for Visual Studio Code. It seamlessly integrates a state-of-the-art coding assistant into your development environment, allowing you to get intelligent code suggestions, explanations, refactoring, and more, all powered entirely by your local machine using Ollama.
Features
Chat Assistant: Chat directly with your local AI models to get help with your code.
Explain Code: Highlight a piece of code and ask the AI to explain how it works.
Refactor: Easily ask the AI to refactor highlighted code to improve performance and readability.
Fix Bugs: Have the AI analyze and fix bugs in your selected code.
Generate Tests & Docs: Automatically generate unit tests and documentation blocks.
Persistent Chat History: All your chats are saved locally, so you can revisit past conversations at any time!
100% Local and Private: Powered by Ollama. Your code never leaves your machine.
Prerequisites
Ensure you have Ollama installed and running locally.
By default, Lyra uses the qwen2.5-coder:1.5b model, but you can configure it to use any model you have downloaded in Ollama!
Getting Started
Start your Ollama instance.
Open the Lyra OpenCoder view from your Activity Bar.
Start chatting or highlight code in your editor and right-click to access quick commands!
Privacy
Your code stays on your machine. This extension strictly communicates with your local Ollama server.
License
This project is licensed under the MIT License - see the LICENSE file for details.