Description
LSP-AI is an open source language server that serves as a backend for AI-powered features in code editors. It offers in-editor chatting with LLMs, custom actions for refactoring and code completions. Because it is a language server, it works with any editor that supports LSP, and the README lists VS Code, Neovim, Emacs, Helix and Sublime among the editors it works with. Chat can use local or hosted models. Custom actions can run code refactoring and completions, including prompts that use chain-of-thought reasoning. For code completions, LSP-AI can work as an alternative to GitHub Copilot, and the README notes that speed depends entirely on the backend. For the fastest completions, it recommends a small local model or Groq. The project's stated goal is to help software engineers, not replace them, and it argues that centralizing AI features in one open-source backend lets many editors share the work instead of each plugin author rebuilding it. The README says the project is used daily by many users and has all the features the author wants, so no new features are being developed, though development is not necessarily finished. Documentation is in the project wiki, covering installation, configuration, chatting, plugins and server capabilities. The source is on GitHub under SilasMarvin/lsp-ai.…
Highlights
- Language server for AI features in any LSP editor
- In-editor chat with local or hosted models
- Custom actions for refactoring and completions
- Code completions as an alternative to Copilot
- Shared open source backend for editor plugins
Ratings & Reviews
No ratings yet
Be the first to rate LSP AI.
People also visit
LSP AI FAQ
What is LSP-AI?
An open source language server that provides AI-powered chat, custom actions and code completions in your editor.
Is it free?
Yes. It is open source and hosted on GitHub.
Which editors work with it?
Any editor with LSP support. The README lists VS Code, Neovim, Emacs, Helix and Sublime.
Which models can it use?
Local or hosted models. The README suggests a small local model or Groq for the fastest completions.
Is it still being developed?
The README says it is used daily by many users and has the features the author wants, so no new features are currently being developed.
Where is the documentation?
In the project wiki, which covers installation, configuration, in-editor chatting, plugins and server capabilities.
Where can I ask questions?
The README links a Discord server.
What are the best LSP AI alternatives?
Popular alternatives to LSP AI include LLM LS, aider and Chatgpt Vscode. See all LSP AI alternatives


