LSP-AI is an open-source language server that serves as a backend for AI-powered functionality, designed to assist and empower software engineers, not replace them.
Go to file
2024-05-30 06:11:12 -07:00
.vscode Some more tests and vscode plugin cleanup 2024-05-27 09:49:43 -07:00
editors/vscode Updated vscode package 2024-05-30 06:11:12 -07:00
logos Added logos 2024-05-28 19:57:46 -07:00
src Some more tests and vscode plugin cleanup 2024-05-27 09:49:43 -07:00
submodules Peridic commit 2024-05-08 18:03:59 -07:00
tests Cleaned up 2024-04-04 19:14:58 -07:00
.gitignore Cleanup vscode plugin 2024-05-28 16:27:50 -07:00
.gitmodules Added PostgresML memory backend 2024-03-10 15:29:47 -07:00
Cargo.lock Some more tests and vscode plugin cleanup 2024-05-27 09:49:43 -07:00
Cargo.toml Some more tests and vscode plugin cleanup 2024-05-27 09:49:43 -07:00
LICENSE Create LICENSE 2024-05-28 18:12:55 -07:00
README.md Update README.md 2024-05-28 20:07:37 -07:00

Logo

(LSP-AI

LSP-AI is an open source language server that serves as a backend for performing completion with large language models and soon other AI powered functionality. Because it is a language server, it works with any editor that has LSP support.

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.

See the wiki for instructions on:

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. While several companies have released advanced AI-powered editors like Cursor, 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. Heres 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, OpenAI-compatible APIs, and Anthropic-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

  • Implement semantic search-powered context building
  • Support for additional backends like llamafile
  • Exploration of agent-based systems