How to Install Stakpak in Zed IDE?

Introduction

What is Zed?

Zed is a next generation code editor designed for high-performance collaboration with humans and AI.

What is Stakpak?

Stakpak is the Open-source DevOps agent that helps you with securing, deploying, and maintaining production-ready infrastructure. (Introduction)

Installation

Method 1: Installing the Extension

  1. Open Zed and Sign In

  2. Go to Zed > Extensions

  1. Search for "Stakpak" then press "Install"

  1. To Use Stakpak in Zed

    1. Click Assistant (✨) → +New stakpak thread

Method 2: Manually

  1. Open Zed and Sign In

  2. Go to Zed > Settings > Open Settings File

  1. Then add this and press save (command s)👇🏻

,
"agent_servers": {
    "Stakpak": {
      "command": "stakpak",
      "args": ["acp"],
      "env": {}
    }
  }
  1. To Use Stakpak in Zed

    1. Click Assistant (✨) → +New stakpak thread

Troubleshooting

Agent not connecting

  1. Verify your API key is set correctly:

    echo $STAKPAK_API_KEY
  2. Make sure Zed was started from a terminal with the environment variable set

  3. Check Zed logs for any error messages

Binary download issues

If the extension fails to download the binary, you can manually install Stakpak:

# macOS (ARM64)
curl -LO https://github.com/stakpak/agent/releases/download/v0.2.66/stakpak-darwin-aarch64.tar.gz
tar -xzf stakpak-darwin-aarch64.tar.gz
sudo mv stakpak /usr/local/bin/

# Verify installation
stakpak --version

Then configure Zed to use the system-installed binary (see Zed extension settings).

Support

For issues, questions, or feature requests:

Last updated