Langcli logoAI Coding Assistant
ACP Integration

Zed integration

Learn how to integrate Langcli into Zed

Prerequisites

  • Make sure Langcli is installed and you can use it without problem. If you haven't installed Langcli yet, refer to this guide for instructions.
  • If you haven't installed Zed editor yet, you can go to the zed official website to download and install it.

Integration Steps

  1. Open Zed's configuration file:
    Press Cmd+Shift+P to open the command palette. Type "zed: open settings file" and press Enter.

  2. Add the following to the agent_servers section of your Zed configuration file:

    "langcli": {
      "type": "custom",
      "command": "/bin/bash",
      "args": ["-c", "source $HOME/.bashrc && source $HOME/.zshrc && langcli --acp"],
    },

Save the file with Cmd+S. The screenshot below shows the configuration in action: Langcli macos acp settings 3. Restart Zed.
4. Click the ✨ icon in Zed's bottom status bar to open the agent panel. Select langcli from the panel to start a conversation with langcli. Langcli can co-build your Zed project with you now!

  1. Open Zed's configuration file:
    Press Ctrl+Shift+P to open the command palette. Type "zed: open settings file" and press Enter.

  2. Add the following to the agent_servers section of your Zed configuration file:

    "langcli": {
      "type": "custom",
      "command": "/bin/bash",
      "args": ["-c", "source $HOME/.bashrc && langcli --acp"],
    },

Save the file with Ctrl+S. The screenshot below shows the configuration in action: Langcli linux acp settings 3. Restart Zed.
4. Click the ✨ icon in Zed's bottom status bar to open the agent panel. Select langcli from the panel to start a conversation with langcli. Langcli can co-build your Zed project with you now!

  1. Open Zed's configuration file:
    Press Ctrl+Shift+P to open the command palette. Type "zed: open settings file" and press Enter.

  2. Add the following to the agent_servers section of your Zed configuration file:

    "langcli": {
      "type": "custom",
      "command": "langcli.cmd",
      "args": ["--acp"],
    },

Save the file with Ctrl+S. The effect of adding configuration is shown below:
Langcli windows acp settings
3. Restart Zed.
4. Click the ✨ icon in Zed's bottom status bar to open the agent panel. Select langcli from the panel to start a conversation with langcli. Langcli can co-build your Zed project with you now!

Last Updated