Skip to content
Zed

agentfit for Zed

io.github.mukundakatta/agentfit

Token-aware message truncation: fit a chat history into your model's context budget.

client:Zed transport:stdio runtime:npm

Install agentfit in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

{
  "context_servers": {
    "agentfit": {
      "command": "npx",
      "args": [
        "-y",
        "@mukundakatta/agentfit-mcp"
      ]
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

agentfit in other clients