百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

lsp-ai

> AI 编程
开源

LSP-AI 是一个开源语言服务器,作为支持 AI 功能的后端,旨在帮助和增强软件工程师,而不是取代他们。

3.2K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

LSP-AI 是一个开源语言服务器,作为支持 AI 功能的后端,旨在帮助和增强软件工程师,而不是取代他们。

Empowering not replacing programmers.

| Documentation | Blog | Discord |

--- LSP-AI is an open source [language server](https://microsoft.github.io/language-server-protocol/) that serves as a backend for AI-powered functionality in your favorite code editors. It offers features like in-editor chatting with LLMs and code completions. Because it is a language server, it works with any editor that has LSP support. **The goal of LSP-AI is to assist and empower software engineers by integrating with the tools they already know and love, not replace software engineers.** A short list of a few of the editors it works with: - VS Code - NeoVim - Emacs - Helix - Sublime It works with many many many more editors. **NOTE: This project is currently used daily by many users and has reached a stage where it has all the features I want for it. Development is not necessarily done, but no new features are currently being developed for it.** # Features ## In-Editor Chatting Chat directly in your codebase with your favorite local or hosted models. *Chatting with Claude Sonnet in Helix* ## Custom Actions Create custom actions to do code refactoring, code completions and more! *Using Claude Sonnet to perform refactoring with chain of thought prompting in Helix* ## Code Completions LSP-AI can work as an alternative to Github Copilot. https://github.com/SilasMarvin/lsp-ai/assets/19626586/59430558-da23-4991-939d-57495061c21b *On the left: VS Code using Mistral Codestral. On the right: Helix using stabilityai/stable-code-3b* **Note that speed for completions is entirely dependent on the backend being used. For the fastest completions we recommend using either a small local model or Groq.** # Documentation See the wiki for instructions on: - [Getting Started](https://github.com/SilasMarvin/lsp-ai/wiki) - [Installation](https://github.com/SilasMarvin/lsp-ai/wiki/Installation) - [Configuration](https://github.com/SilasMarvin/lsp-ai/wiki/Configuration) - [In-Editor Chatting](https://github.com/SilasMarvin/lsp-ai/wiki/In%E2%80%90Editor-Chatting) - [Plugins](https://github.com/SilasMarvin/lsp-ai/wiki/Plugins) - [Server Capabilities](https://github.com/SilasMarvin/lsp-ai/wiki/Server-Capabilities-and-Functions) - [and more](https://github.com/SilasMarvin/lsp-ai/wiki) # The Case for LSP-AI **tl;dr LSP-AI abstracts complex implementation details from editor specific plugin authors, centralizing open-source development work into one shareable backend.** Editor integrated AI-powered assistants are here to stay. They are not perfect, but are only improving and [early research is already showing the benefits](https://arxiv.org/pdf/2206.15331). While several companies have released advanced AI-powered editors like [Cursor](https://cursor.sh/), the open-source community lacks a direct competitor. LSP-AI aims to fill this gap by providing a language server that integrates AI-powered functionality into the editors we know and love. Here’s why we believe LSP-AI is necessary and beneficial: 1. **Unified AI Features**: - By centralizing AI features into a single backend, LSP-AI allows supported editors to benefit from these advancements without redundant development efforts. 2. **Simplified Plugin Development**: - LSP-AI abstracts away the complexities of setting up LLM backends, building complex prompts and soon much more. Plugin developers can focus on enhancing the specific editor they are working on, rather than dealing with backend intricacies. 3. **Enhanced Collaboration**: - Offering a shared backend creates a collaborative platform where open-source developers can come together to add new functionalities. This unified effort fosters innovation and reduces duplicated work. 4. **Broad Compatibility**: - LSP-AI supports any editor that adheres to the Language Server Protocol (LSP), ensuring that a wide range of editors can leverage the AI capabilities provided by LSP-AI. 5. **Flexible LLM Backend Support**: - Currently, LSP-AI supports llama.cpp, Ollama, OpenAI-compatible APIs, Anthropic-compatible APIs, Gemini-compatible APIs and Mistral AI FIM-compatible APIs, giving developers the flexibility to choose their preferred backend. This list will soon grow. 6. **Future-Ready**: - LSP-AI is committed to staying updated with the latest advancements in LLM-driven software development. # Roadmap There is so much to do for this project and incredible new research and tools coming out everyday. Below is a list of some ideas for what we want to add next, but we welcome any contributions and discussion around prioritizing new features. - Implement semantic search-powered context building (This could be incredibly cool and powerful). Planning to use [Tree-sitter](https://tree-sitter.github.io/tree-sitter/) to chunk code correctly. - Support for additional backends - Exploration of agent-based systems

GitHub Issues· 46 开放

在 GitHub 查看全部
  • #117

    prompt-aware LSP diagnostics

    更新于 2026年9月2日
  • #105

    Code actions fail to insert: Invalid position calculation (beyond EOF)

    更新于 2026年6月18日
  • #109

    Claude Sonnet 4.5 rejects the use of both `temperature` and `top_p` parameters

    更新于 2026年6月7日
  • #5

    Support for `textDocument/inlineCompletion`?

    enhancement更新于 2026年5月19日
  • #114

    How to turn off reasoning?

    更新于 2026年2月20日
  • #113

    Issues configuring with gemini api for helix editor

    更新于 2026年2月6日
  • #112

    [Feature Request] Allow specifying bearer token for Ollama backend

    更新于 2026年1月22日
  • #110

    integration of OAuth with LSP-AI

    更新于 2025年12月17日
  • #90

    document helix + gemini

    更新于 2025年10月26日
  • #101

    Feature: Integrate with MCP

    更新于 2025年8月29日

核心特点

  • •Getting Started
  • •Installation
  • •Configuration
  • •In-Editor Chatting
  • •Server Capabilities
  • •and more
  • •By centralizing AI features into a single backend, LSP-AI allows supported editors to benefit from these advancements without redundant development efforts.
  • •LSP-AI supports any editor that adheres to the Language Server Protocol (LSP), ensuring that a wide range of editors can leverage the AI capabilities provided by LSP-AI.
  • •LSP-AI is committed to staying updated with the latest advancements in LLM-driven software development.
  • •Implement semantic search-powered context building (This could be incredibly cool and powerful). Planning to use Tree-sitter to chunk code correctly.

> 标签

Rustaiauto-completiondeveloper-toolside

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.