Zed, JetBrains & Neovim (ACP)

Use the LocalPilot agent from Zed, JetBrains IDEs and Neovim through the Agent Client Protocol, with your local models.

Ask AI about this page

localpilot --acp runs the LocalPilot agent as an Agent Client Protocol server: JSON-RPC over stdin and stdout, one message per line. Editors that speak ACP start it as a subprocess and show the conversation, tool calls, plans and approval prompts in their own UI. The agent is the same one as in VS Code and the terminal: same tools, skills, rules, memory, MCP servers and providers.

You need the localpilot command on your PATH (LocalPilot: Install ‘localpilot’ CLI in PATH in VS Code). Settings come from the same places as for the CLI (see Terminal & CLI).

Zed

Add an agent server to Zed’s settings.json:

{
  "agent_servers": {
    "LocalPilot": {
      "command": "localpilot",
      "args": ["--acp"]
    }
  }
}

Open the Agent Panel and start a new LocalPilot thread. Use the full path (for example /Users/you/.local/bin/localpilot) if Zed does not see your shell’s PATH.

JetBrains IDEs

In IDEs with ACP support in the AI Assistant, add the agent to ~/.jetbrains/acp.json:

{
  "agent_servers": {
    "LocalPilot": {
      "command": "/Users/you/.local/bin/localpilot",
      "args": ["--acp"]
    }
  }
}

LocalPilot then appears in the AI chat’s agent picker.

Neovim

Plugins that drive ACP agents take the same command. With avante.nvim:

require('avante').setup({
  provider = 'localpilot',
  acp_providers = {
    localpilot = { command = 'localpilot', args = { '--acp' } },
  },
})

CodeCompanion.nvim and other ACP clients work the same way: point them at localpilot --acp.

What the editor gets

The usual CLI options apply: -C <dir> for the default folder, -m <provider/model>, --no-mcp, --trust-workspace, --data-dir. Logs go to stderr and to the CLI log file (localpilot doctor log); stdout carries protocol messages only.