diff --git a/docs/rfds/lsp-over-acp.mdx b/docs/rfds/lsp-over-acp.mdx new file mode 100644 index 00000000..c7d546ba --- /dev/null +++ b/docs/rfds/lsp-over-acp.mdx @@ -0,0 +1,80 @@ +--- +title: "LSP over ACP: Expose LSP servers over ACP" +--- + + + +Author(s): [Ruddickmg](https://github.com/Ruddickmg) + +## Elevator pitch + +> Agents benefit from LSP access for code intelligence but are unable to use the client's already-configured LSP servers. Exposing the client's LSP servers over ACP would simplify configuration and enable agents to explore the code base with the same context as a user. + + + +## Status quo + +> There is currently no way to share LSP interactions between ACP clients and agents. Many agents are capable of using LSP servers to inspect code, provide diagnostics, execute code actions, etc. But, agents either bundle their own servers or require separate configuration to connect to LSP servers. Most editors (VS Code, Neovim, etc.) already have LSP servers configured and available. Agents, however, cannot reuse the client's LSP infrastructure. This gap necessitates duplicated setups and the potential for inconsistent LSP output between users and agents. + +## What we propose to do about it + +> What are you proposing to improve the situation? + + + +## Shiny future + +> How will things will play out once this feature exists? + + + +## Implementation details and plan + +> Tell me more about your implementation. What is your detailed implementation plan? + + + +## Frequently asked questions + +> What questions have arisen over the course of authoring this document or during subsequent discussions? + + + +### What alternative approaches did you consider, and why did you settle on this one? + +None. The idea came to me fully formed, like Athena springing from Zeus's head. + + + +## Revision history + +