LSP-AI is an open-source Rust-based language server that provides in-editor AI features and supports multiple backends. It focuses on integrating AI functionality into editors via LSP without replacing developers.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
LSP-AI is an open source language server that serves as a backend for AI-powered functionality in code editors. It offers features like in-editor chatting with LLMs and code completions, and works with editors that support the Language Server Protocol (LSP).
How it works
The project provides a backend language server designed to integrate AI features into editors through LSP. It supports multiple backends such as llama.cpp, Ollama, OpenAI-compatible APIs, Anthropic-compatible APIs, Gemini-compatible APIs, and Mistral AI FIM-compatible APIs, allowing integration with various models and services. The README lists supported editors (e.g., VS Code, NeoVim, Emacs, Helix, Sublime) and notes that speed of completions depends on the chosen backend.
Getting started
"Getting Started" and related setup are documented in the wiki. The README includes a Documentation section pointing to:
- Getting Started
- Installation
- Configuration
- In-Editor Chatting
- Plugins
- Server Capabilities
Recent releases
Latest releases include:
- v0.7.1 (2024-09-24)
- v0.7.0 (2024-09-20)
- v0.6.2 (2024-08-27)
- v0.6.1 (2024-08-21) with a patch fixing stdio error in VS Code
- v0.6.0 (2024-08-21) with custom actions, server shutdown fixes, and small changes
Traction
Stars: 3198
Behind the repo
The repository is maintained with documentation hosted on the wiki and an ecosystem of backends including local models and hosted APIs. The project is written in Rust and is MIT licensed.
Caveats
License: MIT Created: 2023-11-24 Last push: 2025-01-07 Open issues: 46 Forks: 117






